xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/novatek,nt37801.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/novatek,nt37801.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Novatek NT37801 AMOLED DSI Panel
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription:
13*ae5de77eSEmmanuel Vadot  Naming is inconclusive and different sources claim this is either Novatek
14*ae5de77eSEmmanuel Vadot  NT37801 or NT37810 AMOLED DSI Panel.
15*ae5de77eSEmmanuel Vadot
16*ae5de77eSEmmanuel VadotallOf:
17*ae5de77eSEmmanuel Vadot  - $ref: panel-common.yaml#
18*ae5de77eSEmmanuel Vadot
19*ae5de77eSEmmanuel Vadotproperties:
20*ae5de77eSEmmanuel Vadot  compatible:
21*ae5de77eSEmmanuel Vadot    const: novatek,nt37801
22*ae5de77eSEmmanuel Vadot
23*ae5de77eSEmmanuel Vadot  reg:
24*ae5de77eSEmmanuel Vadot    maxItems: 1
25*ae5de77eSEmmanuel Vadot    description: DSI virtual channel
26*ae5de77eSEmmanuel Vadot
27*ae5de77eSEmmanuel Vadot  vci-supply: true
28*ae5de77eSEmmanuel Vadot  vdd-supply: true
29*ae5de77eSEmmanuel Vadot  vddio-supply: true
30*ae5de77eSEmmanuel Vadot  port: true
31*ae5de77eSEmmanuel Vadot  reset-gpios: true
32*ae5de77eSEmmanuel Vadot
33*ae5de77eSEmmanuel Vadotrequired:
34*ae5de77eSEmmanuel Vadot  - compatible
35*ae5de77eSEmmanuel Vadot  - reg
36*ae5de77eSEmmanuel Vadot  - vci-supply
37*ae5de77eSEmmanuel Vadot  - vdd-supply
38*ae5de77eSEmmanuel Vadot  - vddio-supply
39*ae5de77eSEmmanuel Vadot  - port
40*ae5de77eSEmmanuel Vadot  - reset-gpios
41*ae5de77eSEmmanuel Vadot
42*ae5de77eSEmmanuel VadotadditionalProperties: false
43*ae5de77eSEmmanuel Vadot
44*ae5de77eSEmmanuel Vadotexamples:
45*ae5de77eSEmmanuel Vadot  - |
46*ae5de77eSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
47*ae5de77eSEmmanuel Vadot
48*ae5de77eSEmmanuel Vadot    dsi {
49*ae5de77eSEmmanuel Vadot        #address-cells = <1>;
50*ae5de77eSEmmanuel Vadot        #size-cells = <0>;
51*ae5de77eSEmmanuel Vadot
52*ae5de77eSEmmanuel Vadot        panel@0 {
53*ae5de77eSEmmanuel Vadot            compatible = "novatek,nt37801";
54*ae5de77eSEmmanuel Vadot            reg = <0>;
55*ae5de77eSEmmanuel Vadot
56*ae5de77eSEmmanuel Vadot            vci-supply = <&vreg_l13b_3p0>;
57*ae5de77eSEmmanuel Vadot            vdd-supply = <&vreg_l11b_1p2>;
58*ae5de77eSEmmanuel Vadot            vddio-supply = <&vreg_l12b_1p8>;
59*ae5de77eSEmmanuel Vadot
60*ae5de77eSEmmanuel Vadot            reset-gpios = <&tlmm 98 GPIO_ACTIVE_LOW>;
61*ae5de77eSEmmanuel Vadot
62*ae5de77eSEmmanuel Vadot            port {
63*ae5de77eSEmmanuel Vadot                endpoint {
64*ae5de77eSEmmanuel Vadot                    remote-endpoint = <&dsi0_out>;
65*ae5de77eSEmmanuel Vadot                };
66*ae5de77eSEmmanuel Vadot            };
67*ae5de77eSEmmanuel Vadot        };
68*ae5de77eSEmmanuel Vadot    };
69*ae5de77eSEmmanuel Vadot...
70