xref: /freebsd/sys/contrib/device-tree/Bindings/display/himax,hx8357d.txt (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1Himax HX8357D display panels
2
3This binding is for display panels using a Himax HX8357D controller in SPI
4mode, such as the Adafruit 3.5" TFT for Raspberry Pi.
5
6Required properties:
7- compatible:	"adafruit,yx350hv15", "himax,hx8357d"
8- dc-gpios:	D/C pin
9- reg:		address of the panel on the SPI bus
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	display@0{
20		compatible = "adafruit,yx350hv15", "himax,hx8357d";
21		reg = <0>;
22		spi-max-frequency = <32000000>;
23		dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
24		rotation = <90>;
25		backlight = <&backlight>;
26	};
27