xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/visionox,vtdr6130.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
2*cb7aa33aSEmmanuel Vadot%YAML 1.2
3*cb7aa33aSEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/visionox,vtdr6130.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: Visionox VTDR6130 AMOLED DSI Panel
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotmaintainers:
10*cb7aa33aSEmmanuel Vadot  - Neil Armstrong <neil.armstrong@linaro.org>
11*cb7aa33aSEmmanuel Vadot
12*cb7aa33aSEmmanuel VadotallOf:
13*cb7aa33aSEmmanuel Vadot  - $ref: panel-common.yaml#
14*cb7aa33aSEmmanuel Vadot
15*cb7aa33aSEmmanuel Vadotproperties:
16*cb7aa33aSEmmanuel Vadot  compatible:
17*cb7aa33aSEmmanuel Vadot    const: visionox,vtdr6130
18*cb7aa33aSEmmanuel Vadot
19*cb7aa33aSEmmanuel Vadot  reg:
20*cb7aa33aSEmmanuel Vadot    maxItems: 1
21*cb7aa33aSEmmanuel Vadot    description: DSI virtual channel
22*cb7aa33aSEmmanuel Vadot
23*cb7aa33aSEmmanuel Vadot  vddio-supply: true
24*cb7aa33aSEmmanuel Vadot  vci-supply: true
25*cb7aa33aSEmmanuel Vadot  vdd-supply: true
26*cb7aa33aSEmmanuel Vadot  port: true
27*cb7aa33aSEmmanuel Vadot  reset-gpios: true
28*cb7aa33aSEmmanuel Vadot
29*cb7aa33aSEmmanuel VadotadditionalProperties: false
30*cb7aa33aSEmmanuel Vadot
31*cb7aa33aSEmmanuel Vadotrequired:
32*cb7aa33aSEmmanuel Vadot  - compatible
33*cb7aa33aSEmmanuel Vadot  - reg
34*cb7aa33aSEmmanuel Vadot  - vddio-supply
35*cb7aa33aSEmmanuel Vadot  - vci-supply
36*cb7aa33aSEmmanuel Vadot  - vdd-supply
37*cb7aa33aSEmmanuel Vadot  - reset-gpios
38*cb7aa33aSEmmanuel Vadot  - port
39*cb7aa33aSEmmanuel Vadot
40*cb7aa33aSEmmanuel Vadotexamples:
41*cb7aa33aSEmmanuel Vadot  - |
42*cb7aa33aSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
43*cb7aa33aSEmmanuel Vadot    dsi {
44*cb7aa33aSEmmanuel Vadot        #address-cells = <1>;
45*cb7aa33aSEmmanuel Vadot        #size-cells = <0>;
46*cb7aa33aSEmmanuel Vadot        panel@0 {
47*cb7aa33aSEmmanuel Vadot            compatible = "visionox,vtdr6130";
48*cb7aa33aSEmmanuel Vadot            reg = <0>;
49*cb7aa33aSEmmanuel Vadot
50*cb7aa33aSEmmanuel Vadot            vddio-supply = <&vreg_l12b_1p8>;
51*cb7aa33aSEmmanuel Vadot            vci-supply = <&vreg_l13b_3p0>;
52*cb7aa33aSEmmanuel Vadot            vdd-supply = <&vreg_l11b_1p2>;
53*cb7aa33aSEmmanuel Vadot
54*cb7aa33aSEmmanuel Vadot            reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
55*cb7aa33aSEmmanuel Vadot
56*cb7aa33aSEmmanuel Vadot            port {
57*cb7aa33aSEmmanuel Vadot                panel0_in: endpoint {
58*cb7aa33aSEmmanuel Vadot                    remote-endpoint = <&dsi0_out>;
59*cb7aa33aSEmmanuel Vadot                };
60*cb7aa33aSEmmanuel Vadot            };
61*cb7aa33aSEmmanuel Vadot        };
62*cb7aa33aSEmmanuel Vadot    };
63*cb7aa33aSEmmanuel Vadot...
64