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