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
7title: Ilitek ILI9322 TFT panel driver with SPI control bus
8
9maintainers:
10  - Linus Walleij <linus.walleij@linaro.org>
11
12description: |
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  The panel must obey the rules for a SPI slave device as specified in
19  spi/spi-controller.yaml
20
21allOf:
22  - $ref: panel-common.yaml#
23
24properties:
25  compatible:
26    items:
27      - enum:
28        - dlink,dir-685-panel
29
30      - const: ilitek,ili9322
31
32  reset-gpios: true
33  port: true
34
35  vcc-supply:
36    description: Core voltage supply
37
38  iovcc-supply:
39    description: Voltage supply for the interface input/output signals
40
41  vci-supply:
42    description: Voltage supply for analog parts
43
44required:
45  - compatible
46  - reg
47
48unevaluatedProperties: false
49
50examples:
51  - |
52    spi {
53        #address-cells = <1>;
54        #size-cells = <0>;
55
56        panel: display@0 {
57            compatible = "dlink,dir-685-panel", "ilitek,ili9322";
58            reg = <0>;
59            vcc-supply = <&vdisp>;
60            iovcc-supply = <&vdisp>;
61            vci-supply = <&vdisp>;
62
63            port {
64                panel_in: endpoint {
65                    remote-endpoint = <&display_out>;
66                };
67            };
68        };
69    };
70
71...
72