David Lechner | 7b59d2d | 2018-05-25 14:36:22 -0500 | [diff] [blame] | 1 | Ilitek ILI9341 display panels |
| 2 | |
| 3 | This binding is for display panels using an Ilitek ILI9341 controller in SPI |
| 4 | mode. |
| 5 | |
| 6 | Required properties: |
| 7 | - compatible: "adafruit,yx240qv29", "ilitek,ili9341" |
| 8 | - dc-gpios: D/C pin |
| 9 | - reset-gpios: Reset pin |
| 10 | |
| 11 | The node for this driver must be a child node of a SPI controller, hence |
| 12 | all mandatory properties described in ../spi/spi-bus.txt must be specified. |
| 13 | |
| 14 | Optional properties: |
| 15 | - rotation: panel rotation in degrees counter clockwise (0,90,180,270) |
| 16 | - backlight: phandle of the backlight device attached to the panel |
| 17 | |
| 18 | Example: |
| 19 | display@0{ |
| 20 | compatible = "adafruit,yx240qv29", "ilitek,ili9341"; |
| 21 | reg = <0>; |
| 22 | spi-max-frequency = <32000000>; |
| 23 | dc-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
| 24 | reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; |
| 25 | rotation = <270>; |
| 26 | backlight = <&backlight>; |
| 27 | }; |