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