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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: display: panel: convert truly,nt35597.txt to dt-schema

Convert the Truly NT35597 2K display panel bindings to dt-schema.

The vdispp-supply & vdispn-supply are not marked as required since
in practice they are not defined in sdm845-mtp.dts which is the
only used of these bindings.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250507-topic-misc-truly-nt35597-yaml-v1-1-bc719ad8dfff@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250507-topic-misc-truly-nt35597-yaml-v1-1-bc719ad8dfff@linaro.org

+97 -59
+97
Documentation/devicetree/bindings/display/panel/truly,nt35597-2K-display.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/panel/truly,nt35597-2K-display.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Truly NT35597 DSI 2K display 8 + 9 + maintainers: 10 + - Neil Armstrong <neil.armstrong@linaro.org> 11 + 12 + description: | 13 + Truly NT35597 DSI 2K display is used on the Qualcomm SDM845 MTP board. 14 + 15 + allOf: 16 + - $ref: panel-common-dual.yaml# 17 + 18 + properties: 19 + compatible: 20 + const: truly,nt35597-2K-display 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + vdda-supply: 26 + description: regulator that provides the supply voltage Power IC supply 27 + 28 + vdispp-supply: 29 + description: regulator that provides the supply voltage for positive LCD bias 30 + 31 + vdispn-supply: 32 + description: regulator that provides the supply voltage for negative LCD bias 33 + 34 + reset-gpios: true 35 + 36 + mode-gpios: 37 + description: 38 + Gpio for choosing the mode of the display for single DSI or Dual DSI. 39 + This should be low for dual DSI and high for single DSI mode. 40 + 41 + ports: 42 + required: 43 + - port@0 44 + - port@1 45 + 46 + required: 47 + - compatible 48 + - reg 49 + - vdda-supply 50 + - reset-gpios 51 + - mode-gpios 52 + - ports 53 + 54 + additionalProperties: false 55 + 56 + examples: 57 + - | 58 + #include <dt-bindings/gpio/gpio.h> 59 + 60 + dsi { 61 + #address-cells = <1>; 62 + #size-cells = <0>; 63 + 64 + panel@0 { 65 + compatible = "truly,nt35597-2K-display"; 66 + reg = <0>; 67 + 68 + vdda-supply = <&pm8998_l14>; 69 + vdispp-supply = <&lab_regulator>; 70 + vdispn-supply = <&ibb_regulator>; 71 + 72 + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 73 + mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; 74 + 75 + ports { 76 + #address-cells = <1>; 77 + #size-cells = <0>; 78 + 79 + port@0 { 80 + reg = <0>; 81 + 82 + panel0_in: endpoint { 83 + remote-endpoint = <&dsi0_out>; 84 + }; 85 + }; 86 + 87 + port@1 { 88 + reg = <1>; 89 + 90 + panel1_in: endpoint { 91 + remote-endpoint = <&dsi1_out>; 92 + }; 93 + }; 94 + }; 95 + }; 96 + }; 97 + ...
-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 - };