xref: /linux/Documentation/devicetree/bindings/display/panel/auo,a030jtn01.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1*35b9dca5SPaul Cercueil# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*35b9dca5SPaul Cercueil%YAML 1.2
3*35b9dca5SPaul Cercueil---
4*35b9dca5SPaul Cercueil$id: http://devicetree.org/schemas/display/panel/auo,a030jtn01.yaml#
5*35b9dca5SPaul Cercueil$schema: http://devicetree.org/meta-schemas/core.yaml#
6*35b9dca5SPaul Cercueil
7*35b9dca5SPaul Cercueiltitle: AUO A030JTN01 3.0" (320x480 pixels) 24-bit TFT LCD panel
8*35b9dca5SPaul Cercueil
9*35b9dca5SPaul Cercueildescription: |
10*35b9dca5SPaul Cercueil  Delta RGB 8-bit panel found in some Retrogame handhelds
11*35b9dca5SPaul Cercueil
12*35b9dca5SPaul Cercueilmaintainers:
13*35b9dca5SPaul Cercueil  - Paul Cercueil <paul@crapouillou.net>
14*35b9dca5SPaul Cercueil  - Christophe Branchereau <cbranchereau@gmail.com>
15*35b9dca5SPaul Cercueil
16*35b9dca5SPaul CercueilallOf:
17*35b9dca5SPaul Cercueil  - $ref: panel-common.yaml#
18*35b9dca5SPaul Cercueil  - $ref: /schemas/spi/spi-peripheral-props.yaml#
19*35b9dca5SPaul Cercueil
20*35b9dca5SPaul Cercueilproperties:
21*35b9dca5SPaul Cercueil  compatible:
22*35b9dca5SPaul Cercueil    const: auo,a030jtn01
23*35b9dca5SPaul Cercueil
24*35b9dca5SPaul Cercueil  reg:
25*35b9dca5SPaul Cercueil    maxItems: 1
26*35b9dca5SPaul Cercueil
27*35b9dca5SPaul Cercueilrequired:
28*35b9dca5SPaul Cercueil  - compatible
29*35b9dca5SPaul Cercueil  - reg
30*35b9dca5SPaul Cercueil  - power-supply
31*35b9dca5SPaul Cercueil  - reset-gpios
32*35b9dca5SPaul Cercueil
33*35b9dca5SPaul CercueilunevaluatedProperties: false
34*35b9dca5SPaul Cercueil
35*35b9dca5SPaul Cercueilexamples:
36*35b9dca5SPaul Cercueil  - |
37*35b9dca5SPaul Cercueil    #include <dt-bindings/gpio/gpio.h>
38*35b9dca5SPaul Cercueil
39*35b9dca5SPaul Cercueil    spi {
40*35b9dca5SPaul Cercueil        #address-cells = <1>;
41*35b9dca5SPaul Cercueil        #size-cells = <0>;
42*35b9dca5SPaul Cercueil
43*35b9dca5SPaul Cercueil        panel@0 {
44*35b9dca5SPaul Cercueil            compatible = "auo,a030jtn01";
45*35b9dca5SPaul Cercueil            reg = <0>;
46*35b9dca5SPaul Cercueil
47*35b9dca5SPaul Cercueil            spi-max-frequency = <10000000>;
48*35b9dca5SPaul Cercueil
49*35b9dca5SPaul Cercueil            reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
50*35b9dca5SPaul Cercueil            power-supply = <&lcd_power>;
51*35b9dca5SPaul Cercueil
52*35b9dca5SPaul Cercueil            backlight = <&backlight>;
53*35b9dca5SPaul Cercueil
54*35b9dca5SPaul Cercueil            port {
55*35b9dca5SPaul Cercueil                panel_input: endpoint {
56*35b9dca5SPaul Cercueil                    remote-endpoint = <&panel_output>;
57*35b9dca5SPaul Cercueil                };
58*35b9dca5SPaul Cercueil            };
59*35b9dca5SPaul Cercueil        };
60*35b9dca5SPaul Cercueil    };
61