xref: /freebsd/sys/contrib/device-tree/Bindings/display/truly,nt35597.txt (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1Truly model NT35597 DSI display driver
2
3The Truly NT35597 is a generic display driver, currently only configured
4for use in the 2K display on the Qualcomm SDM845 MTP board.
5
6Required 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
26Example:
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	};
60