xref: /linux/Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml (revision 06f054b1fee83415fe35204845708988fc16ef22)
11333adfcSPaul Cercueil# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
21333adfcSPaul Cercueil%YAML 1.2
31333adfcSPaul Cercueil---
41333adfcSPaul Cercueil$id: http://devicetree.org/schemas/display/panel/innolux,ej030na.yaml#
51333adfcSPaul Cercueil$schema: http://devicetree.org/meta-schemas/core.yaml#
61333adfcSPaul Cercueil
71333adfcSPaul Cercueiltitle: Innolux EJ030NA 3.0" (320x480 pixels) 24-bit TFT LCD panel
81333adfcSPaul Cercueil
91333adfcSPaul Cercueilmaintainers:
101333adfcSPaul Cercueil  - Paul Cercueil <paul@crapouillou.net>
111333adfcSPaul Cercueil
121333adfcSPaul CercueilallOf:
131333adfcSPaul Cercueil  - $ref: panel-common.yaml#
14c476d430SRob Herring  - $ref: /schemas/spi/spi-peripheral-props.yaml#
151333adfcSPaul Cercueil
161333adfcSPaul Cercueilproperties:
171333adfcSPaul Cercueil  compatible:
181333adfcSPaul Cercueil    const: innolux,ej030na
191333adfcSPaul Cercueil
20*6b2358ffSKrzysztof Kozlowski  reg:
21*6b2358ffSKrzysztof Kozlowski    maxItems: 1
22*6b2358ffSKrzysztof Kozlowski
231333adfcSPaul Cercueil  backlight: true
241333adfcSPaul Cercueil  port: true
251333adfcSPaul Cercueil  power-supply: true
261333adfcSPaul Cercueil  reset-gpios: true
271333adfcSPaul Cercueil
281333adfcSPaul Cercueilrequired:
291333adfcSPaul Cercueil  - compatible
301333adfcSPaul Cercueil  - reg
311333adfcSPaul Cercueil  - power-supply
321333adfcSPaul Cercueil  - reset-gpios
331333adfcSPaul Cercueil
341333adfcSPaul CercueilunevaluatedProperties: false
351333adfcSPaul Cercueil
361333adfcSPaul Cercueilexamples:
371333adfcSPaul Cercueil  - |
381333adfcSPaul Cercueil    #include <dt-bindings/gpio/gpio.h>
391333adfcSPaul Cercueil
401333adfcSPaul Cercueil    spi {
411333adfcSPaul Cercueil        #address-cells = <1>;
421333adfcSPaul Cercueil        #size-cells = <0>;
431333adfcSPaul Cercueil
441333adfcSPaul Cercueil        panel@0 {
451333adfcSPaul Cercueil            compatible = "innolux,ej030na";
461333adfcSPaul Cercueil            reg = <0>;
471333adfcSPaul Cercueil
481333adfcSPaul Cercueil            spi-max-frequency = <10000000>;
491333adfcSPaul Cercueil
501333adfcSPaul Cercueil            reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
511333adfcSPaul Cercueil            power-supply = <&lcd_power>;
521333adfcSPaul Cercueil
531333adfcSPaul Cercueil            backlight = <&backlight>;
541333adfcSPaul Cercueil
551333adfcSPaul Cercueil            port {
561333adfcSPaul Cercueil                panel_input: endpoint {
571333adfcSPaul Cercueil                    remote-endpoint = <&panel_output>;
581333adfcSPaul Cercueil                };
591333adfcSPaul Cercueil            };
601333adfcSPaul Cercueil        };
611333adfcSPaul Cercueil    };
62