pm8941-wled.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Binding for Qualcomm PM8941 WLED driver
  2. Required properties:
  3. - compatible: should be "qcom,pm8941-wled"
  4. - reg: slave address
  5. Optional properties:
  6. - default-brightness: brightness value on boot, value from: 0-4095
  7. default: 2048
  8. - label: The name of the backlight device
  9. - qcom,cs-out: bool; enable current sink output
  10. - qcom,cabc: bool; enable content adaptive backlight control
  11. - qcom,ext-gen: bool; use externally generated modulator signal to dim
  12. - qcom,current-limit: mA; per-string current limit; value from 0 to 25
  13. default: 20mA
  14. - qcom,current-boost-limit: mA; boost current limit; one of:
  15. 105, 385, 525, 805, 980, 1260, 1400, 1680
  16. default: 805mA
  17. - qcom,switching-freq: kHz; switching frequency; one of:
  18. 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371,
  19. 1600, 1920, 2400, 3200, 4800, 9600,
  20. default: 1600kHz
  21. - qcom,ovp: V; Over-voltage protection limit; one of:
  22. 27, 29, 32, 35
  23. default: 29V
  24. - qcom,num-strings: #; number of led strings attached; value from 1 to 3
  25. default: 2
  26. Example:
  27. pm8941-wled@d800 {
  28. compatible = "qcom,pm8941-wled";
  29. reg = <0xd800>;
  30. label = "backlight";
  31. qcom,cs-out;
  32. qcom,current-limit = <20>;
  33. qcom,current-boost-limit = <805>;
  34. qcom,switching-freq = <1600>;
  35. qcom,ovp = <29>;
  36. qcom,num-strings = <2>;
  37. };