Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Add Truly NT35597 panel driver bindings

Add the device tree bindings for Truly NT35597 panel driver. This panel
driver supports both single DSI and dual DSI.

However, this patch series supports only dual DSI.

Changes in v10:
- Remove active high in the documentation for mode gpio
- Fix commmit text detail about the board and also
fix a typo

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1538787139-28122-2-git-send-email-abhinavk@codeaurora.org

authored by

Abhinav Kumar and committed by
Sean Paul
b1ab1f32 1dd0b147

+59
+59
Documentation/devicetree/bindings/display/truly,nt35597.txt
··· 1 + Truly model NT35597 DSI display driver 2 + 3 + The Truly NT35597 is a generic display driver, currently only configured 4 + for use in the 2K display on the Qualcomm SDM845 MTP board. 5 + 6 + Required properties: 7 + - compatible: should be "truly,nt35597-2K-display" 8 + - vdda-supply: phandle of the regulator that provides the supply voltage 9 + Power IC supply 10 + - vdispp-supply: phandle of the regulator that provides the supply voltage 11 + for positive LCD bias 12 + - vdispn-supply: phandle of the regulator that provides the supply voltage 13 + for negative LCD bias 14 + - reset-gpios: phandle of gpio for reset line 15 + This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names 16 + (active low) 17 + - mode-gpios: phandle of the gpio for choosing the mode of the display 18 + for single DSI or Dual DSI 19 + This should be low for dual DSI and high for single DSI mode 20 + - ports: This device has two video ports driven by two DSIs. Their connections 21 + are modeled using the OF graph bindings specified in 22 + Documentation/devicetree/bindings/graph.txt. 23 + - port@0: DSI input port driven by master DSI 24 + - port@1: DSI input port driven by secondary DSI 25 + 26 + Example: 27 + 28 + dsi@ae94000 { 29 + panel@0 { 30 + compatible = "truly,nt35597-2K-display"; 31 + reg = <0>; 32 + vdda-supply = <&pm8998_l14>; 33 + vdispp-supply = <&lab_regulator>; 34 + vdispn-supply = <&ibb_regulator>; 35 + pinctrl-names = "default", "suspend"; 36 + pinctrl-0 = <&dpu_dsi_active>; 37 + pinctrl-1 = <&dpu_dsi_suspend>; 38 + 39 + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 40 + mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; 41 + ports { 42 + #address-cells = <1>; 43 + #size-cells = <0>; 44 + port@0 { 45 + reg = <0>; 46 + panel0_in: endpoint { 47 + remote-endpoint = <&dsi0_out>; 48 + }; 49 + }; 50 + 51 + port@1 { 52 + reg = <1>; 53 + panel1_in: endpoint { 54 + remote-endpoint = <&dsi1_out>; 55 + }; 56 + }; 57 + }; 58 + }; 59 + };