truly,nt35597.txt 1.8 KB

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