diff options
author | Sumit Semwal <sumit.semwal@linaro.org> | 2019-08-06 19:45:56 +0530 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2020-07-02 21:34:02 +0530 |
commit | e7e24b4c5fde484de88beaa7184aa134b2750550 (patch) | |
tree | f97977427b65a68e4649093eb846f1d33b892a9c | |
parent | 58942f20974bbb69cc28e1635fbfb91c7a0533d0 (diff) |
dt-bindings: display: panel: Add bindings for Tianma nt36672a panel
The nt36672a panel from Tianma is a FHD+ panel with a resolution of 1080x2246
and 6.18 inches size.
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/display/panel/tianma,nt36672a.txt | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.txt b/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.txt new file mode 100644 index 000000000000..b6456a92cc79 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.txt @@ -0,0 +1,54 @@ +Tianma model NT36672A DSI display driver + +The Tianma NT36672A is a generic display driver, currently only configured +for use in the Poco F1 phone based on SDM845 chipset. + +Required properties: +- compatible: should be "tianma,nt36672a" +- reg: DSI virtual channel of the peripheral +- vddio-supply: phandle of the regulator that provides the supply voltage + Power IC supply +- lab-supply: phandle of the regulator that provides the supply voltage + for lab LABIBB +- ibb-supply: phandle of the regulator that provides the supply voltage + for ibb LABIBB +- reset-gpios: phandle of gpio for reset line + This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names + (active high) +- pinctrl-names: Pinctrl for panel active and suspend +- pinctrl-0: Active pinctrls +- pinctrl-1: Suspend pinctrls +- ports: This device has one video port driven by one DSIs. Their connections + are modeled using the OF graph bindings specified in + Documentation/devicetree/bindings/graph.txt. + - port@0: DSI input port driven by master DSI + +Example: + + dsi@ae94000 { + panel@0 { + compatible = "tianma,nt36672a"; + reg = <0>; + vddi0-supply = <&vreg_l14a_1p88>; + lab-supply = <&lab_regulator>; + ibb-supply = <&ibb_regulator>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "panel_active", "panel_suspend"; + pinctrl-0 = <&sde_dsi_active>; + pinctrl-1 = <&sde_dsi_suspend>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + tianma_nt36672a_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + }; |