0001 Truly model NT35597 DSI display driver
0002
0003 The Truly NT35597 is a generic display driver, currently only configured
0004 for use in the 2K display on the Qualcomm SDM845 MTP board.
0005
0006 Required properties:
0007 - compatible: should be "truly,nt35597-2K-display"
0008 - vdda-supply: phandle of the regulator that provides the supply voltage
0009 Power IC supply
0010 - vdispp-supply: phandle of the regulator that provides the supply voltage
0011 for positive LCD bias
0012 - vdispn-supply: phandle of the regulator that provides the supply voltage
0013 for negative LCD bias
0014 - reset-gpios: phandle of gpio for reset line
0015 This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names
0016 (active low)
0017 - mode-gpios: phandle of the gpio for choosing the mode of the display
0018 for single DSI or Dual DSI
0019 This should be low for dual DSI and high for single DSI mode
0020 - ports: This device has two video ports driven by two DSIs. Their connections
0021 are modeled using the OF graph bindings specified in
0022 Documentation/devicetree/bindings/graph.txt.
0023 - port@0: DSI input port driven by master DSI
0024 - port@1: DSI input port driven by secondary DSI
0025
0026 Example:
0027
0028 dsi@ae94000 {
0029 panel@0 {
0030 compatible = "truly,nt35597-2K-display";
0031 reg = <0>;
0032 vdda-supply = <&pm8998_l14>;
0033 vdispp-supply = <&lab_regulator>;
0034 vdispn-supply = <&ibb_regulator>;
0035 pinctrl-names = "default", "suspend";
0036 pinctrl-0 = <&dpu_dsi_active>;
0037 pinctrl-1 = <&dpu_dsi_suspend>;
0038
0039 reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
0040 mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;
0041 ports {
0042 #address-cells = <1>;
0043 #size-cells = <0>;
0044 port@0 {
0045 reg = <0>;
0046 panel0_in: endpoint {
0047 remote-endpoint = <&dsi0_out>;
0048 };
0049 };
0050
0051 port@1 {
0052 reg = <1>;
0053 panel1_in: endpoint {
0054 remote-endpoint = <&dsi1_out>;
0055 };
0056 };
0057 };
0058 };
0059 };