summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/sitronix,st7735r.txt
blob: f0a5090a3326b86c1df8a42eb65e8884a77cd521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Sitronix ST7735R display panels

This binding is for display panels using a Sitronix ST7735R controller in SPI
mode.

Required properties:
- compatible:	"jianda,jd-t18003-t01", "sitronix,st7735r"
- dc-gpios:	Display data/command selection (D/CX)
- reset-gpios:	Reset signal (RSTX)

The node for this driver must be a child node of a SPI controller, hence
all mandatory properties described in ../spi/spi-bus.txt must be specified.

Optional properties:
- rotation:	panel rotation in degrees counter clockwise (0,90,180,270)
- backlight:	phandle of the backlight device attached to the panel

Example:

	backlight: backlight {
		compatible = "gpio-backlight";
		gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
	}

	...

	display@0{
		compatible = "jianda,jd-t18003-t01", "sitronix,st7735r";
		reg = <0>;
		spi-max-frequency = <32000000>;
		dc-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
		reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
		rotation = <270>;
		backlight = &backlight;
	};