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