2014-11-19 04:48:35 -08:00
* Texas Instruments - lp8860 4-Channel LED Driver
The LP8860-Q1 is an high-efficiency LED
driver with boost controller. It has 4 high-precision
current sinks that can be controlled by a PWM input
signal, a SPI/I2C master, or both.
Required properties:
2017-12-18 14:23:02 -06:00
- compatible :
2014-11-19 04:48:35 -08:00
"ti,lp8860"
2017-12-18 14:23:02 -06:00
- reg : I2C slave address
2017-12-18 14:23:03 -06:00
- #address-cells : 1
- #size-cells : 0
2014-11-19 04:48:35 -08:00
Optional properties:
2017-12-18 14:23:02 -06:00
- enable-gpios : gpio pin to enable (active high)/disable the device.
- vled-supply : LED supply
2014-11-19 04:48:35 -08:00
2017-12-18 14:23:03 -06:00
Required child properties:
- reg : 0
Optional child properties:
2019-06-09 20:19:04 +02:00
- function : see Documentation/devicetree/bindings/leds/common.txt
- color : see Documentation/devicetree/bindings/leds/common.txt
- label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
2017-12-18 14:23:05 -06:00
- linux,default-trigger :
see Documentation/devicetree/bindings/leds/common.txt
2017-12-18 14:23:03 -06:00
2014-11-19 04:48:35 -08:00
Example:
2019-06-09 20:19:04 +02:00
#include <dt-bindings/leds/common.h>
2017-12-18 14:23:02 -06:00
led-controller@2d {
2014-11-19 04:48:35 -08:00
compatible = "ti,lp8860";
2017-12-18 14:23:03 -06:00
#address-cells = <1>;
#size-cells = <0>;
2014-11-19 04:48:35 -08:00
reg = <0x2d>;
2017-12-18 14:23:02 -06:00
enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
2014-11-19 04:48:35 -08:00
vled-supply = <&vbatt>;
2017-12-18 14:23:03 -06:00
led@0 {
reg = <0>;
2019-06-09 20:19:04 +02:00
function = LED_FUNCTION_BACKLIGHT;
color = <LED_COLOR_ID_WHITE>;
2017-12-18 14:23:05 -06:00
linux,default-trigger = "backlight";
2017-12-18 14:23:03 -06:00
};
2014-11-19 04:48:35 -08:00
}
For more product information please see the link below:
http://www.ti.com/product/lp8860-q1