Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / display / sitronix,st7735r.txt
1 Sitronix ST7735R display panels
2
3 This binding is for display panels using a Sitronix ST7735R controller in SPI
4 mode.
5
6 Required 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
11 The node for this driver must be a child node of a SPI controller, hence
12 all mandatory properties described in ../spi/spi-bus.txt must be specified.
13
14 Optional 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
18 Example:
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         };