Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/display/panel/innolux,ej030na.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Innolux EJ030NA 3.0" (320x480 pixels) 24-bit TFT LCD panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Paul Cercueil <paul@crapouillou.net> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | - $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | const: innolux,ej030na |
| 19 | |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame^] | 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 23 | backlight: true |
| 24 | port: true |
| 25 | power-supply: true |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 26 | reset-gpios: true |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - power-supply |
| 32 | - reset-gpios |
| 33 | |
| 34 | unevaluatedProperties: false |
| 35 | |
| 36 | examples: |
| 37 | - | |
| 38 | #include <dt-bindings/gpio/gpio.h> |
| 39 | |
| 40 | spi { |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <0>; |
| 43 | |
| 44 | panel@0 { |
| 45 | compatible = "innolux,ej030na"; |
| 46 | reg = <0>; |
| 47 | |
| 48 | spi-max-frequency = <10000000>; |
| 49 | |
| 50 | reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>; |
| 51 | power-supply = <&lcd_power>; |
| 52 | |
| 53 | backlight = <&backlight>; |
| 54 | |
| 55 | port { |
| 56 | panel_input: endpoint { |
| 57 | remote-endpoint = <&panel_output>; |
| 58 | }; |
| 59 | }; |
| 60 | }; |
| 61 | }; |