Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Sitronix ST7735R display panels
2
3This binding is for display panels using a Sitronix ST7735R controller in SPI
4mode.
5
6Required properties:
7- compatible: "jianda,jd-t18003-t01", "sitronix,st7735r"
8- dc-gpios: Display data/command selection (D/CX)
9- reset-gpios: Reset signal (RSTX)
10
11The node for this driver must be a child node of a SPI controller, hence
12all mandatory properties described in ../spi/spi-bus.txt must be specified.
13
14Optional properties:
15- rotation: panel rotation in degrees counter clockwise (0,90,180,270)
16- backlight: phandle of the backlight device attached to the panel
17
18Example:
19
20 backlight: backlight {
21 compatible = "gpio-backlight";
22 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
23 };
24
25 ...
26
27 display@0{
28 compatible = "jianda,jd-t18003-t01", "sitronix,st7735r";
29 reg = <0>;
30 spi-max-frequency = <32000000>;
31 dc-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
32 reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
33 rotation = <270>;
34 backlight = &backlight;
35 };