xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/ilitek,ili9322.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
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      - const: ilitek,ili9322
30
31  reset-gpios: true
32  port: true
33
34  vcc-supply:
35    description: Core voltage supply
36
37  iovcc-supply:
38    description: Voltage supply for the interface input/output signals
39
40  vci-supply:
41    description: Voltage supply for analog parts
42
43required:
44  - compatible
45  - reg
46
47unevaluatedProperties: false
48
49examples:
50  - |
51    spi {
52        #address-cells = <1>;
53        #size-cells = <0>;
54
55        panel: display@0 {
56            compatible = "dlink,dir-685-panel", "ilitek,ili9322";
57            reg = <0>;
58            vcc-supply = <&vdisp>;
59            iovcc-supply = <&vdisp>;
60            vci-supply = <&vdisp>;
61
62            port {
63                panel_in: endpoint {
64                    remote-endpoint = <&display_out>;
65                };
66            };
67        };
68    };
69
70...
71