xref: /freebsd/sys/contrib/device-tree/Bindings/display/himax,hx8357d.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotHimax HX8357D display panels
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis binding is for display panels using a Himax HX8357D controller in SPI
4*c66ec88fSEmmanuel Vadotmode, such as the Adafruit 3.5" TFT for Raspberry Pi.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible:	"adafruit,yx350hv15", "himax,hx8357d"
8*c66ec88fSEmmanuel Vadot- dc-gpios:	D/C pin
9*c66ec88fSEmmanuel Vadot- reg:		address of the panel on the SPI bus
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotThe node for this driver must be a child node of a SPI controller, hence
12*c66ec88fSEmmanuel Vadotall mandatory properties described in ../spi/spi-bus.txt must be specified.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotOptional properties:
15*c66ec88fSEmmanuel Vadot- rotation:	panel rotation in degrees counter clockwise (0,90,180,270)
16*c66ec88fSEmmanuel Vadot- backlight:	phandle of the backlight device attached to the panel
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot	display@0{
20*c66ec88fSEmmanuel Vadot		compatible = "adafruit,yx350hv15", "himax,hx8357d";
21*c66ec88fSEmmanuel Vadot		reg = <0>;
22*c66ec88fSEmmanuel Vadot		spi-max-frequency = <32000000>;
23*c66ec88fSEmmanuel Vadot		dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
24*c66ec88fSEmmanuel Vadot		rotation = <90>;
25*c66ec88fSEmmanuel Vadot		backlight = <&backlight>;
26*c66ec88fSEmmanuel Vadot	};
27