leds-lp8860.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. - function : see Documentation/devicetree/bindings/leds/common.txt
  19. - color : see Documentation/devicetree/bindings/leds/common.txt
  20. - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
  21. - linux,default-trigger :
  22. see Documentation/devicetree/bindings/leds/common.txt
  23. Example:
  24. #include <dt-bindings/leds/common.h>
  25. led-controller@2d {
  26. compatible = "ti,lp8860";
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. reg = <0x2d>;
  30. enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
  31. vled-supply = <&vbatt>;
  32. led@0 {
  33. reg = <0>;
  34. function = LED_FUNCTION_BACKLIGHT;
  35. color = <LED_COLOR_ID_WHITE>;
  36. linux,default-trigger = "backlight";
  37. };
  38. }
  39. For more product information please see the link below:
  40. https://www.ti.com/product/lp8860-q1