summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/himax,hx8357d.txt
blob: e641f664763d3a72b6088a547313347869da1795 (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
Himax HX8357D display panels

This binding is for display panels using a Himax HX8357D controller in SPI
mode, such as the Adafruit 3.5" TFT for Raspberry Pi.

Required properties:
- compatible:	"adafruit,yx350hv15", "himax,hx8357d"
- dc-gpios:	D/C pin
- reg:		address of the panel on the SPI bus

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:
	display@0{
		compatible = "adafruit,yx350hv15", "himax,hx8357d";
		reg = <0>;
		spi-max-frequency = <32000000>;
		dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
		rotation = <90>;
		backlight = <&backlight>;
	};