xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/novatek,nt36672a.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*5def4c47SEmmanuel Vadot%YAML 1.2
3*5def4c47SEmmanuel Vadot---
4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/novatek,nt36672a.yaml#
5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5def4c47SEmmanuel Vadot
7*5def4c47SEmmanuel Vadottitle: Novatek NT36672A based DSI display Panels
8*5def4c47SEmmanuel Vadot
9*5def4c47SEmmanuel Vadotmaintainers:
10*5def4c47SEmmanuel Vadot  - Sumit Semwal <sumit.semwal@linaro.org>
11*5def4c47SEmmanuel Vadot
12*5def4c47SEmmanuel Vadotdescription: |
13*5def4c47SEmmanuel Vadot  The nt36672a IC from Novatek is a generic DSI Panel IC used to drive dsi
14*5def4c47SEmmanuel Vadot  panels.
15*5def4c47SEmmanuel Vadot  Right now, support is added only for a Tianma FHD+ LCD display panel with a
16*5def4c47SEmmanuel Vadot  resolution of 1080x2246. It is a video mode DSI panel.
17*5def4c47SEmmanuel Vadot
18*5def4c47SEmmanuel VadotallOf:
19*5def4c47SEmmanuel Vadot  - $ref: panel-common.yaml#
20*5def4c47SEmmanuel Vadot
21*5def4c47SEmmanuel Vadotproperties:
22*5def4c47SEmmanuel Vadot  compatible:
23*5def4c47SEmmanuel Vadot    items:
24*5def4c47SEmmanuel Vadot      - enum:
25*5def4c47SEmmanuel Vadot          - tianma,fhd-video
26*5def4c47SEmmanuel Vadot      - const: novatek,nt36672a
27*5def4c47SEmmanuel Vadot    description: This indicates the panel manufacturer of the panel that is
28*5def4c47SEmmanuel Vadot      in turn using the NT36672A panel driver. This compatible string
29*5def4c47SEmmanuel Vadot      determines how the NT36672A panel driver is configured for the indicated
30*5def4c47SEmmanuel Vadot      panel. The novatek,nt36672a compatible shall always be provided as a fallback.
31*5def4c47SEmmanuel Vadot
32*5def4c47SEmmanuel Vadot  reset-gpios:
33*5def4c47SEmmanuel Vadot    maxItems: 1
34*5def4c47SEmmanuel Vadot    description: phandle of gpio for reset line - This should be 8mA, gpio
35*5def4c47SEmmanuel Vadot      can be configured using mux, pinctrl, pinctrl-names (active high)
36*5def4c47SEmmanuel Vadot
37*5def4c47SEmmanuel Vadot  vddio-supply:
38*5def4c47SEmmanuel Vadot    description: phandle of the regulator that provides the supply voltage
39*5def4c47SEmmanuel Vadot      Power IC supply
40*5def4c47SEmmanuel Vadot
41*5def4c47SEmmanuel Vadot  vddpos-supply:
42*5def4c47SEmmanuel Vadot    description: phandle of the positive boost supply regulator
43*5def4c47SEmmanuel Vadot
44*5def4c47SEmmanuel Vadot  vddneg-supply:
45*5def4c47SEmmanuel Vadot    description: phandle of the negative boost supply regulator
46*5def4c47SEmmanuel Vadot
47*5def4c47SEmmanuel Vadot  reg: true
48*5def4c47SEmmanuel Vadot  port: true
49*5def4c47SEmmanuel Vadot
50*5def4c47SEmmanuel Vadotrequired:
51*5def4c47SEmmanuel Vadot  - compatible
52*5def4c47SEmmanuel Vadot  - reg
53*5def4c47SEmmanuel Vadot  - vddi0-supply
54*5def4c47SEmmanuel Vadot  - vddpos-supply
55*5def4c47SEmmanuel Vadot  - vddneg-supply
56*5def4c47SEmmanuel Vadot  - reset-gpios
57*5def4c47SEmmanuel Vadot  - port
58*5def4c47SEmmanuel Vadot
59*5def4c47SEmmanuel VadotunevaluatedProperties: false
60*5def4c47SEmmanuel Vadot
61*5def4c47SEmmanuel Vadotexamples:
62*5def4c47SEmmanuel Vadot  - |+
63*5def4c47SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
64*5def4c47SEmmanuel Vadot
65*5def4c47SEmmanuel Vadot    dsi0 {
66*5def4c47SEmmanuel Vadot        #address-cells = <1>;
67*5def4c47SEmmanuel Vadot        #size-cells = <0>;
68*5def4c47SEmmanuel Vadot
69*5def4c47SEmmanuel Vadot        panel@0 {
70*5def4c47SEmmanuel Vadot            compatible = "tianma,fhd-video", "novatek,nt36672a";
71*5def4c47SEmmanuel Vadot            reg = <0>;
72*5def4c47SEmmanuel Vadot            vddi0-supply = <&vreg_l14a_1p88>;
73*5def4c47SEmmanuel Vadot            vddpos-supply = <&lab>;
74*5def4c47SEmmanuel Vadot            vddneg-supply = <&ibb>;
75*5def4c47SEmmanuel Vadot
76*5def4c47SEmmanuel Vadot            reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
77*5def4c47SEmmanuel Vadot
78*5def4c47SEmmanuel Vadot            #address-cells = <1>;
79*5def4c47SEmmanuel Vadot            #size-cells = <0>;
80*5def4c47SEmmanuel Vadot            port {
81*5def4c47SEmmanuel Vadot                tianma_nt36672a_in_0: endpoint {
82*5def4c47SEmmanuel Vadot                    remote-endpoint = <&dsi0_out>;
83*5def4c47SEmmanuel Vadot                };
84*5def4c47SEmmanuel Vadot            };
85*5def4c47SEmmanuel Vadot        };
86*5def4c47SEmmanuel Vadot    };
87*5def4c47SEmmanuel Vadot
88*5def4c47SEmmanuel Vadot...
89