edp.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Qualcomm Technologies Inc. adreno/snapdragon eDP output
  2. Required properties:
  3. - compatible:
  4. * "qcom,mdss-edp"
  5. - reg: Physical base address and length of the registers of controller and PLL
  6. - reg-names: The names of register regions. The following regions are required:
  7. * "edp"
  8. * "pll_base"
  9. - interrupts: The interrupt signal from the eDP block.
  10. - power-domains: Should be <&mmcc MDSS_GDSC>.
  11. - clocks: device clocks
  12. See Documentation/devicetree/bindings/clocks/clock-bindings.txt for details.
  13. - clock-names: the following clocks are required:
  14. * "core_clk"
  15. * "iface_clk"
  16. * "mdp_core_clk"
  17. * "pixel_clk"
  18. * "link_clk"
  19. - #clock-cells: The value should be 1.
  20. - vdda-supply: phandle to vdda regulator device node
  21. - lvl-vdd-supply: phandle to regulator device node which is used to supply power
  22. to HPD receiving chip
  23. - panel-en-gpios: GPIO pin to supply power to panel.
  24. - panel-hpd-gpios: GPIO pin used for eDP hpd.
  25. Optional properties:
  26. - interrupt-parent: phandle to the MDP block if the interrupt signal is routed
  27. through MDP block
  28. Example:
  29. mdss_edp: qcom,mdss_edp@fd923400 {
  30. compatible = "qcom,mdss-edp";
  31. reg-names =
  32. "edp",
  33. "pll_base";
  34. reg = <0xfd923400 0x700>,
  35. <0xfd923a00 0xd4>;
  36. interrupt-parent = <&mdss_mdp>;
  37. interrupts = <12 0>;
  38. power-domains = <&mmcc MDSS_GDSC>;
  39. clock-names =
  40. "core_clk",
  41. "pixel_clk",
  42. "iface_clk",
  43. "link_clk",
  44. "mdp_core_clk";
  45. clocks =
  46. <&mmcc MDSS_EDPAUX_CLK>,
  47. <&mmcc MDSS_EDPPIXEL_CLK>,
  48. <&mmcc MDSS_AHB_CLK>,
  49. <&mmcc MDSS_EDPLINK_CLK>,
  50. <&mmcc MDSS_MDP_CLK>;
  51. #clock-cells = <1>;
  52. vdda-supply = <&pma8084_l12>;
  53. lvl-vdd-supply = <&lvl_vreg>;
  54. panel-en-gpios = <&tlmm 137 0>;
  55. panel-hpd-gpios = <&tlmm 103 0>;
  56. };