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 325def4c47SEmmanuel Vadot reset-gpios: 335def4c47SEmmanuel Vadot maxItems: 1 345def4c47SEmmanuel Vadot description: phandle of gpio for reset line - This should be 8mA, gpio 355def4c47SEmmanuel Vadot can be configured using mux, pinctrl, pinctrl-names (active high) 365def4c47SEmmanuel Vadot 37*fac71e4eSEmmanuel Vadot vddio-supply: 385def4c47SEmmanuel Vadot description: phandle of the regulator that provides the supply voltage 395def4c47SEmmanuel Vadot Power IC supply 405def4c47SEmmanuel Vadot 415def4c47SEmmanuel Vadot vddpos-supply: 425def4c47SEmmanuel Vadot description: phandle of the positive boost supply regulator 435def4c47SEmmanuel Vadot 445def4c47SEmmanuel Vadot vddneg-supply: 455def4c47SEmmanuel Vadot description: phandle of the negative boost supply regulator 465def4c47SEmmanuel Vadot 475def4c47SEmmanuel Vadot reg: true 485def4c47SEmmanuel Vadot port: true 49b97ee269SEmmanuel Vadot backlight: true 505def4c47SEmmanuel Vadot 515def4c47SEmmanuel Vadotrequired: 525def4c47SEmmanuel Vadot - compatible 535def4c47SEmmanuel Vadot - reg 54*fac71e4eSEmmanuel Vadot - vddio-supply 555def4c47SEmmanuel Vadot - vddpos-supply 565def4c47SEmmanuel Vadot - vddneg-supply 575def4c47SEmmanuel Vadot - reset-gpios 585def4c47SEmmanuel Vadot - port 595def4c47SEmmanuel Vadot 605def4c47SEmmanuel VadotunevaluatedProperties: false 615def4c47SEmmanuel Vadot 625def4c47SEmmanuel Vadotexamples: 635def4c47SEmmanuel Vadot - |+ 645def4c47SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 655def4c47SEmmanuel Vadot 665def4c47SEmmanuel Vadot dsi0 { 675def4c47SEmmanuel Vadot #address-cells = <1>; 685def4c47SEmmanuel Vadot #size-cells = <0>; 695def4c47SEmmanuel Vadot 705def4c47SEmmanuel Vadot panel@0 { 715def4c47SEmmanuel Vadot compatible = "tianma,fhd-video", "novatek,nt36672a"; 725def4c47SEmmanuel Vadot reg = <0>; 73*fac71e4eSEmmanuel Vadot vddio-supply = <&vreg_l14a_1p88>; 745def4c47SEmmanuel Vadot vddpos-supply = <&lab>; 755def4c47SEmmanuel Vadot vddneg-supply = <&ibb>; 765def4c47SEmmanuel Vadot 77b97ee269SEmmanuel Vadot backlight = <&pmi8998_wled>; 785def4c47SEmmanuel Vadot reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; 795def4c47SEmmanuel Vadot 805def4c47SEmmanuel Vadot port { 815def4c47SEmmanuel Vadot tianma_nt36672a_in_0: endpoint { 825def4c47SEmmanuel Vadot remote-endpoint = <&dsi0_out>; 835def4c47SEmmanuel Vadot }; 845def4c47SEmmanuel Vadot }; 855def4c47SEmmanuel Vadot }; 865def4c47SEmmanuel Vadot }; 875def4c47SEmmanuel Vadot 885def4c47SEmmanuel Vadot... 89