leds-lp8860.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. * Texas Instruments - lp8860 4-Channel LED Driver
  2. The LP8860-Q1 is an high-efficiency LED
  3. driver with boost controller. It has 4 high-precision
  4. current sinks that can be controlled by a PWM input
  5. signal, a SPI/I2C master, or both.
  6. Required properties:
  7. - compatible :
  8. "ti,lp8860"
  9. - reg : I2C slave address
  10. - #address-cells : 1
  11. - #size-cells : 0
  12. Optional properties:
  13. - enable-gpios : gpio pin to enable (active high)/disable the device.
  14. - vled-supply : LED supply
  15. Required child properties:
  16. - reg : 0
  17. Optional child properties:
  18. - label : see Documentation/devicetree/bindings/leds/common.txt
  19. - linux,default-trigger :
  20. see Documentation/devicetree/bindings/leds/common.txt
  21. Example:
  22. led-controller@2d {
  23. compatible = "ti,lp8860";
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. reg = <0x2d>;
  27. enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
  28. vled-supply = <&vbatt>;
  29. led@0 {
  30. reg = <0>;
  31. label = "white:backlight";
  32. linux,default-trigger = "backlight";
  33. };
  34. }
  35. For more product information please see the link below:
  36. http://www.ti.com/product/lp8860-q1