GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / display / panel / ilitek,ili9322.txt
1 Ilitek ILI9322 TFT panel driver with SPI control bus
2
3 This is a driver for 320x240 TFT panels, accepting a variety of input
4 streams that get adapted and scaled to the panel. The panel output has
5 960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and
6 VCOMH outputs.
7
8 Required properties:
9   - compatible: "dlink,dir-685-panel", "ilitek,ili9322"
10     (full system-specific compatible is always required to look up configuration)
11   - reg: address of the panel on the SPI bus
12
13 Optional properties:
14   - vcc-supply: core voltage supply, see regulator/regulator.txt
15   - iovcc-supply: voltage supply for the interface input/output signals,
16     see regulator/regulator.txt
17   - vci-supply: voltage supply for analog parts, see regulator/regulator.txt
18   - reset-gpios: a GPIO spec for the reset pin, see gpio/gpio.txt
19
20   The following optional properties only apply to RGB and YUV input modes and
21   can be omitted for BT.656 input modes:
22
23   - pixelclk-active: see display/panel/display-timing.txt
24   - de-active: see display/panel/display-timing.txt
25   - hsync-active: see display/panel/display-timing.txt
26   - vsync-active: see display/panel/display-timing.txt
27
28 The panel must obey the rules for a SPI slave device as specified in
29 spi/spi-bus.txt
30
31 The device node can contain one 'port' child node with one child
32 'endpoint' node, according to the bindings defined in
33 media/video-interfaces.txt. This node should describe panel's video bus.
34
35 Example:
36
37 panel: display@0 {
38         compatible = "dlink,dir-685-panel", "ilitek,ili9322";
39         reg = <0>;
40         vcc-supply = <&vdisp>;
41         iovcc-supply = <&vdisp>;
42         vci-supply = <&vdisp>;
43
44         port {
45                 panel_in: endpoint {
46                         remote-endpoint = <&display_out>;
47                 };
48         };
49 };