xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/himax,hx8357d.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunHimax HX8357D display panels
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis binding is for display panels using a Himax HX8357D controller in SPI
4*4882a593Smuzhiyunmode, such as the Adafruit 3.5" TFT for Raspberry Pi.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun- compatible:	"adafruit,yx350hv15", "himax,hx8357d"
8*4882a593Smuzhiyun- dc-gpios:	D/C pin
9*4882a593Smuzhiyun- reg:		address of the panel on the SPI bus
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunThe node for this driver must be a child node of a SPI controller, hence
12*4882a593Smuzhiyunall mandatory properties described in ../spi/spi-bus.txt must be specified.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunOptional properties:
15*4882a593Smuzhiyun- rotation:	panel rotation in degrees counter clockwise (0,90,180,270)
16*4882a593Smuzhiyun- backlight:	phandle of the backlight device attached to the panel
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunExample:
19*4882a593Smuzhiyun	display@0{
20*4882a593Smuzhiyun		compatible = "adafruit,yx350hv15", "himax,hx8357d";
21*4882a593Smuzhiyun		reg = <0>;
22*4882a593Smuzhiyun		spi-max-frequency = <32000000>;
23*4882a593Smuzhiyun		dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
24*4882a593Smuzhiyun		rotation = <90>;
25*4882a593Smuzhiyun		backlight = <&backlight>;
26*4882a593Smuzhiyun	};
27