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