Sam Ravnborg | 66e3377 | 2020-04-08 21:50:40 +0200 | [diff] [blame] | 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 | The panel must obey the rules for a SPI slave device as specified in |
| 19 | spi/spi-controller.yaml |
| 20 | |
| 21 | allOf: |
| 22 | - $ref: panel-common.yaml# |
| 23 | |
| 24 | properties: |
| 25 | compatible: |
| 26 | items: |
| 27 | - enum: |
Rob Herring | f516fb7 | 2020-04-20 21:24:47 -0500 | [diff] [blame] | 28 | - dlink,dir-685-panel |
Sam Ravnborg | 66e3377 | 2020-04-08 21:50:40 +0200 | [diff] [blame] | 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 | |
| 43 | required: |
| 44 | - compatible |
| 45 | - reg |
| 46 | |
| 47 | unevaluatedProperties: false |
| 48 | |
| 49 | examples: |
| 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 | ... |