0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/innolux,ej030na.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Innolux EJ030NA 3.0" (320x480 pixels) 24-bit TFT LCD panel
0008
0009 maintainers:
0010 - Paul Cercueil <paul@crapouillou.net>
0011
0012 allOf:
0013 - $ref: panel-common.yaml#
0014 - $ref: /schemas/spi/spi-peripheral-props.yaml#
0015
0016 properties:
0017 compatible:
0018 const: innolux,ej030na
0019
0020 backlight: true
0021 port: true
0022 power-supply: true
0023 reg: true
0024 reset-gpios: true
0025
0026 required:
0027 - compatible
0028 - reg
0029 - power-supply
0030 - reset-gpios
0031
0032 unevaluatedProperties: false
0033
0034 examples:
0035 - |
0036 #include <dt-bindings/gpio/gpio.h>
0037
0038 spi {
0039 #address-cells = <1>;
0040 #size-cells = <0>;
0041
0042 panel@0 {
0043 compatible = "innolux,ej030na";
0044 reg = <0>;
0045
0046 spi-max-frequency = <10000000>;
0047
0048 reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
0049 power-supply = <&lcd_power>;
0050
0051 backlight = <&backlight>;
0052
0053 port {
0054 panel_input: endpoint {
0055 remote-endpoint = <&panel_output>;
0056 };
0057 };
0058 };
0059 };