innolux,ej030na.yaml (1193B)
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 7title: Innolux EJ030NA 3.0" (320x480 pixels) 24-bit TFT LCD panel 8 9maintainers: 10 - Paul Cercueil <paul@crapouillou.net> 11 12allOf: 13 - $ref: panel-common.yaml# 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 15 16properties: 17 compatible: 18 const: innolux,ej030na 19 20 backlight: true 21 port: true 22 power-supply: true 23 reg: true 24 reset-gpios: true 25 26required: 27 - compatible 28 - reg 29 - power-supply 30 - reset-gpios 31 32unevaluatedProperties: false 33 34examples: 35 - | 36 #include <dt-bindings/gpio/gpio.h> 37 38 spi { 39 #address-cells = <1>; 40 #size-cells = <0>; 41 42 panel@0 { 43 compatible = "innolux,ej030na"; 44 reg = <0>; 45 46 spi-max-frequency = <10000000>; 47 48 reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>; 49 power-supply = <&lcd_power>; 50 51 backlight = <&backlight>; 52 53 port { 54 panel_input: endpoint { 55 remote-endpoint = <&panel_output>; 56 }; 57 }; 58 }; 59 };