xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/novatek,nt36672a.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/novatek,nt36672a.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Novatek NT36672A based DSI display Panels
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Sumit Semwal <sumit.semwal@linaro.org>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription: |
135def4c47SEmmanuel Vadot  The nt36672a IC from Novatek is a generic DSI Panel IC used to drive dsi
145def4c47SEmmanuel Vadot  panels.
155def4c47SEmmanuel Vadot  Right now, support is added only for a Tianma FHD+ LCD display panel with a
165def4c47SEmmanuel Vadot  resolution of 1080x2246. It is a video mode DSI panel.
175def4c47SEmmanuel Vadot
185def4c47SEmmanuel VadotallOf:
195def4c47SEmmanuel Vadot  - $ref: panel-common.yaml#
205def4c47SEmmanuel Vadot
215def4c47SEmmanuel Vadotproperties:
225def4c47SEmmanuel Vadot  compatible:
235def4c47SEmmanuel Vadot    items:
245def4c47SEmmanuel Vadot      - enum:
255def4c47SEmmanuel Vadot          - tianma,fhd-video
265def4c47SEmmanuel Vadot      - const: novatek,nt36672a
275def4c47SEmmanuel Vadot    description: This indicates the panel manufacturer of the panel that is
285def4c47SEmmanuel Vadot      in turn using the NT36672A panel driver. This compatible string
295def4c47SEmmanuel Vadot      determines how the NT36672A panel driver is configured for the indicated
305def4c47SEmmanuel Vadot      panel. The novatek,nt36672a compatible shall always be provided as a fallback.
315def4c47SEmmanuel Vadot
32*7d0873ebSEmmanuel Vadot  reg:
33*7d0873ebSEmmanuel Vadot    maxItems: 1
34*7d0873ebSEmmanuel Vadot
355def4c47SEmmanuel Vadot  reset-gpios:
365def4c47SEmmanuel Vadot    maxItems: 1
375def4c47SEmmanuel Vadot    description: phandle of gpio for reset line - This should be 8mA, gpio
385def4c47SEmmanuel Vadot      can be configured using mux, pinctrl, pinctrl-names (active high)
395def4c47SEmmanuel Vadot
40fac71e4eSEmmanuel Vadot  vddio-supply:
415def4c47SEmmanuel Vadot    description: phandle of the regulator that provides the supply voltage
425def4c47SEmmanuel Vadot      Power IC supply
435def4c47SEmmanuel Vadot
445def4c47SEmmanuel Vadot  vddpos-supply:
455def4c47SEmmanuel Vadot    description: phandle of the positive boost supply regulator
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel Vadot  vddneg-supply:
485def4c47SEmmanuel Vadot    description: phandle of the negative boost supply regulator
495def4c47SEmmanuel Vadot
505def4c47SEmmanuel Vadot  port: true
51b97ee269SEmmanuel Vadot  backlight: true
525def4c47SEmmanuel Vadot
535def4c47SEmmanuel Vadotrequired:
545def4c47SEmmanuel Vadot  - compatible
555def4c47SEmmanuel Vadot  - reg
56fac71e4eSEmmanuel Vadot  - vddio-supply
575def4c47SEmmanuel Vadot  - vddpos-supply
585def4c47SEmmanuel Vadot  - vddneg-supply
595def4c47SEmmanuel Vadot  - reset-gpios
605def4c47SEmmanuel Vadot  - port
615def4c47SEmmanuel Vadot
625def4c47SEmmanuel VadotunevaluatedProperties: false
635def4c47SEmmanuel Vadot
645def4c47SEmmanuel Vadotexamples:
655def4c47SEmmanuel Vadot  - |+
665def4c47SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
675def4c47SEmmanuel Vadot
685def4c47SEmmanuel Vadot    dsi0 {
695def4c47SEmmanuel Vadot        #address-cells = <1>;
705def4c47SEmmanuel Vadot        #size-cells = <0>;
715def4c47SEmmanuel Vadot
725def4c47SEmmanuel Vadot        panel@0 {
735def4c47SEmmanuel Vadot            compatible = "tianma,fhd-video", "novatek,nt36672a";
745def4c47SEmmanuel Vadot            reg = <0>;
75fac71e4eSEmmanuel Vadot            vddio-supply = <&vreg_l14a_1p88>;
765def4c47SEmmanuel Vadot            vddpos-supply = <&lab>;
775def4c47SEmmanuel Vadot            vddneg-supply = <&ibb>;
785def4c47SEmmanuel Vadot
79b97ee269SEmmanuel Vadot            backlight = <&pmi8998_wled>;
805def4c47SEmmanuel Vadot            reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
815def4c47SEmmanuel Vadot
825def4c47SEmmanuel Vadot            port {
835def4c47SEmmanuel Vadot                tianma_nt36672a_in_0: endpoint {
845def4c47SEmmanuel Vadot                    remote-endpoint = <&dsi0_out>;
855def4c47SEmmanuel Vadot                };
865def4c47SEmmanuel Vadot            };
875def4c47SEmmanuel Vadot        };
885def4c47SEmmanuel Vadot    };
895def4c47SEmmanuel Vadot
905def4c47SEmmanuel Vadot...
91