xref: /linux/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml (revision 06f054b1fee83415fe35204845708988fc16ef22)
166e3377cSSam Ravnborg# SPDX-License-Identifier: GPL-2.0
266e3377cSSam Ravnborg%YAML 1.2
366e3377cSSam Ravnborg---
466e3377cSSam Ravnborg$id: http://devicetree.org/schemas/display/panel/ilitek,ili9322.yaml#
566e3377cSSam Ravnborg$schema: http://devicetree.org/meta-schemas/core.yaml#
666e3377cSSam Ravnborg
766e3377cSSam Ravnborgtitle: Ilitek ILI9322 TFT panel driver with SPI control bus
866e3377cSSam Ravnborg
966e3377cSSam Ravnborgmaintainers:
1066e3377cSSam Ravnborg  - Linus Walleij <linus.walleij@linaro.org>
1166e3377cSSam Ravnborg
1266e3377cSSam Ravnborgdescription: |
1366e3377cSSam Ravnborg  This is a driver for 320x240 TFT panels, accepting a variety of input
1466e3377cSSam Ravnborg  streams that get adapted and scaled to the panel. The panel output has
1566e3377cSSam Ravnborg  960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and
1666e3377cSSam Ravnborg  VCOMH outputs.
1766e3377cSSam Ravnborg
1866e3377cSSam RavnborgallOf:
1966e3377cSSam Ravnborg  - $ref: panel-common.yaml#
20c476d430SRob Herring  - $ref: /schemas/spi/spi-peripheral-props.yaml#
2166e3377cSSam Ravnborg
2266e3377cSSam Ravnborgproperties:
2366e3377cSSam Ravnborg  compatible:
2466e3377cSSam Ravnborg    items:
2566e3377cSSam Ravnborg      - enum:
2666e3377cSSam Ravnborg          - dlink,dir-685-panel
2766e3377cSSam Ravnborg      - const: ilitek,ili9322
2866e3377cSSam Ravnborg
29*6b2358ffSKrzysztof Kozlowski  reg:
30*6b2358ffSKrzysztof Kozlowski    maxItems: 1
31*6b2358ffSKrzysztof Kozlowski
3266e3377cSSam Ravnborg  reset-gpios: true
3366e3377cSSam Ravnborg  port: true
3466e3377cSSam Ravnborg
3566e3377cSSam Ravnborg  vcc-supply:
3666e3377cSSam Ravnborg    description: Core voltage supply
3766e3377cSSam Ravnborg
3866e3377cSSam Ravnborg  iovcc-supply:
3966e3377cSSam Ravnborg    description: Voltage supply for the interface input/output signals
4066e3377cSSam Ravnborg
4166e3377cSSam Ravnborg  vci-supply:
4266e3377cSSam Ravnborg    description: Voltage supply for analog parts
4366e3377cSSam Ravnborg
4466e3377cSSam Ravnborgrequired:
4566e3377cSSam Ravnborg  - compatible
4666e3377cSSam Ravnborg  - reg
4766e3377cSSam Ravnborg
4866e3377cSSam RavnborgunevaluatedProperties: false
4966e3377cSSam Ravnborg
5066e3377cSSam Ravnborgexamples:
5166e3377cSSam Ravnborg  - |
5266e3377cSSam Ravnborg    spi {
5366e3377cSSam Ravnborg        #address-cells = <1>;
5466e3377cSSam Ravnborg        #size-cells = <0>;
5566e3377cSSam Ravnborg
5666e3377cSSam Ravnborg        panel: display@0 {
5766e3377cSSam Ravnborg            compatible = "dlink,dir-685-panel", "ilitek,ili9322";
5866e3377cSSam Ravnborg            reg = <0>;
5966e3377cSSam Ravnborg            vcc-supply = <&vdisp>;
6066e3377cSSam Ravnborg            iovcc-supply = <&vdisp>;
6166e3377cSSam Ravnborg            vci-supply = <&vdisp>;
6266e3377cSSam Ravnborg
6366e3377cSSam Ravnborg            port {
6466e3377cSSam Ravnborg                panel_in: endpoint {
6566e3377cSSam Ravnborg                    remote-endpoint = <&display_out>;
6666e3377cSSam Ravnborg                };
6766e3377cSSam Ravnborg            };
6866e3377cSSam Ravnborg        };
6966e3377cSSam Ravnborg    };
7066e3377cSSam Ravnborg
7166e3377cSSam Ravnborg...
72