xref: /linux/Documentation/devicetree/bindings/display/panel/novatek,nt36536.yaml (revision 67f8bc848ee31831336bd478e57d2f993551902e)
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,nt36536.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Novatek NT36536 based DSI display Panels
8
9maintainers:
10  - Pengyu Luo <mitltlatltl@gmail.com>
11
12description:
13  The Novatek NT36536 is a generic DSI Panel IC used to drive dsi
14  panels. Support video mode panels from China Star Optoelectronics
15  Technology (CSOT), such as PP8807HB1-1 which is a dual-link 10-bit
16  panel.
17
18allOf:
19  - $ref: panel-common-dual.yaml#
20
21properties:
22  compatible:
23    items:
24      - enum:
25          - csot,pp8807hb1-1
26      - const: novatek,nt36536
27
28  reg:
29    maxItems: 1
30
31  reset-gpios:
32    maxItems: 1
33
34  vddio-supply:
35    description: I/O source voltage rail
36
37  vsp-supply:
38    description: Positive source voltage rail
39
40  vsn-supply:
41    description: Negative source voltage rail
42
43  backlight: true
44  ports: true
45
46required:
47  - compatible
48  - reg
49  - vddio-supply
50  - reset-gpios
51  - ports
52
53additionalProperties: false
54
55examples:
56  - |
57    #include <dt-bindings/gpio/gpio.h>
58
59    dsi {
60        #address-cells = <1>;
61        #size-cells = <0>;
62
63        panel@0 {
64            compatible = "csot,pp8807hb1-1", "novatek,nt36536";
65            reg = <0>;
66
67            vddio-supply = <&vreg_iovdd_1p8>;
68            reset-gpios = <&tlmm 98 GPIO_ACTIVE_LOW>;
69
70            ports {
71                #address-cells = <1>;
72                #size-cells = <0>;
73
74                port@0 {
75                    reg = <0>;
76                    panel_in_0: endpoint {
77                        remote-endpoint = <&dsi0_out>;
78                    };
79                };
80
81                port@1{
82                    reg = <1>;
83                    panel_in_1: endpoint {
84                        remote-endpoint = <&dsi1_out>;
85                    };
86                };
87            };
88        };
89    };
90
91...
92