GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / display / panel / ilitek,ili9322.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/ilitek,ili9322.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Ilitek ILI9322 TFT panel driver with SPI control bus
8
9 maintainers:
10   - Linus Walleij <linus.walleij@linaro.org>
11
12 description: |
13   This is a driver for 320x240 TFT panels, accepting a variety of input
14   streams that get adapted and scaled to the panel. The panel output has
15   960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and
16   VCOMH outputs.
17
18 allOf:
19   - $ref: panel-common.yaml#
20   - $ref: /schemas/spi/spi-peripheral-props.yaml#
21
22 properties:
23   compatible:
24     items:
25       - enum:
26           - dlink,dir-685-panel
27       - const: ilitek,ili9322
28
29   reset-gpios: true
30   port: true
31
32   vcc-supply:
33     description: Core voltage supply
34
35   iovcc-supply:
36     description: Voltage supply for the interface input/output signals
37
38   vci-supply:
39     description: Voltage supply for analog parts
40
41 required:
42   - compatible
43   - reg
44
45 unevaluatedProperties: false
46
47 examples:
48   - |
49     spi {
50         #address-cells = <1>;
51         #size-cells = <0>;
52
53         panel: display@0 {
54             compatible = "dlink,dir-685-panel", "ilitek,ili9322";
55             reg = <0>;
56             vcc-supply = <&vdisp>;
57             iovcc-supply = <&vdisp>;
58             vci-supply = <&vdisp>;
59
60             port {
61                 panel_in: endpoint {
62                     remote-endpoint = <&display_out>;
63                 };
64             };
65         };
66     };
67
68 ...