xref: /linux/Documentation/devicetree/bindings/display/panel/truly,nt35597-2K-display.yaml (revision 50b7e7082a3dde5bdba14a4e40a2e2279fd08a7b)
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/truly,nt35597-2K-display.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Truly NT35597 DSI 2K display
8
9maintainers:
10  - Neil Armstrong <neil.armstrong@linaro.org>
11
12description: |
13  Truly NT35597 DSI 2K display is used on the Qualcomm SDM845 MTP board.
14
15allOf:
16  - $ref: panel-common-dual.yaml#
17
18properties:
19  compatible:
20    const: truly,nt35597-2K-display
21
22  reg:
23    maxItems: 1
24
25  vdda-supply:
26    description: regulator that provides the supply voltage Power IC supply
27
28  vdispp-supply:
29    description: regulator that provides the supply voltage for positive LCD bias
30
31  vdispn-supply:
32    description: regulator that provides the supply voltage for negative LCD bias
33
34  reset-gpios: true
35
36  mode-gpios:
37    description:
38      Gpio for choosing the mode of the display for single DSI or Dual DSI.
39      This should be low for dual DSI and high for single DSI mode.
40
41  ports:
42    required:
43      - port@0
44      - port@1
45
46required:
47  - compatible
48  - reg
49  - vdda-supply
50  - reset-gpios
51  - mode-gpios
52  - ports
53
54additionalProperties: false
55
56examples:
57  - |
58    #include <dt-bindings/gpio/gpio.h>
59
60    dsi {
61        #address-cells = <1>;
62        #size-cells = <0>;
63
64        panel@0 {
65            compatible = "truly,nt35597-2K-display";
66            reg = <0>;
67
68            vdda-supply = <&pm8998_l14>;
69            vdispp-supply = <&lab_regulator>;
70            vdispn-supply = <&ibb_regulator>;
71
72            reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
73            mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;
74
75            ports {
76                #address-cells = <1>;
77                #size-cells = <0>;
78
79                port@0 {
80                    reg = <0>;
81
82                    panel0_in: endpoint {
83                        remote-endpoint = <&dsi0_out>;
84                    };
85                };
86
87                port@1 {
88                    reg = <1>;
89
90                    panel1_in: endpoint {
91                        remote-endpoint = <&dsi1_out>;
92                    };
93                };
94            };
95        };
96    };
97...
98