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