mdss-edp.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. Qualcomm MDSS EDP
  2. MDSS EDP is a edp driver which supports panels that are compatable with
  3. VESA EDP display interface specification.
  4. When configuring the optional properties for external backlight, one should also
  5. configure the gpio that drives the pwm to it.
  6. Required properties
  7. - compatible : Must be "qcom,mdss-edp".
  8. - reg : Offset and length of the register set for the
  9. device.
  10. - reg-names : Names to refer to register sets related to this
  11. device
  12. - vdda-supply : Phandle for vdd regulator device node.
  13. - gpio-panel-en : GPIO for supplying power to panel and backlight
  14. driver.
  15. - status : A string that has to be set to "okay/ok" to enable
  16. the driver. By default this property will be set to
  17. "disable". Will be set to "ok/okay" status for
  18. specific platforms.
  19. - qcom,mdss-fb-map: pHandle that specifies the framebuffer to which the
  20. interface is mapped.
  21. - gpio-panel-hpd : gpio pin use for edp hpd
  22. Optional properties:
  23. - qcom,cont-splash-enabled: Boolean used to enable continuous splash mode.
  24. - qcom,mdss-brightness-max-level: Specifies the max brightness level supported.
  25. 255 = default value.
  26. Example:
  27. mdss_edp: qcom,mdss_edp@fd923400 {
  28. compatible = "qcom,mdss-edp";
  29. reg = <0xfd923400 0x700>,
  30. <0xfd8c2000 0x1000>;
  31. reg-names = "edp_base", "mmss_cc_base";
  32. vdda-supply = <&pm8941_l12>;
  33. gpio-panel-en = <&msmgpio 58 0>;
  34. qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */
  35. qcom,panel-pwm-period = <53>;
  36. status = "disable";
  37. qcom,mdss-fb-map = <&mdss_fb0>;
  38. gpio-panel-hpd = <&msmgpio 102 0>;
  39. };
  40. Optional properties
  41. - qcom,panel-lpg-channel : LPG channel for backlight.
  42. - qcom,panel-pwm-period : PWM period in microseconds.