0001 * Texas Instruments - lp8860 4-Channel LED Driver
0002
0003 The LP8860-Q1 is an high-efficiency LED
0004 driver with boost controller. It has 4 high-precision
0005 current sinks that can be controlled by a PWM input
0006 signal, a SPI/I2C master, or both.
0007
0008 Required properties:
0009 - compatible :
0010 "ti,lp8860"
0011 - reg : I2C slave address
0012 - #address-cells : 1
0013 - #size-cells : 0
0014
0015 Optional properties:
0016 - enable-gpios : gpio pin to enable (active high)/disable the device.
0017 - vled-supply : LED supply
0018
0019 Required child properties:
0020 - reg : 0
0021
0022 Optional child properties:
0023 - function : see Documentation/devicetree/bindings/leds/common.txt
0024 - color : see Documentation/devicetree/bindings/leds/common.txt
0025 - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
0026 - linux,default-trigger :
0027 see Documentation/devicetree/bindings/leds/common.txt
0028
0029 Example:
0030
0031 #include <dt-bindings/leds/common.h>
0032
0033 led-controller@2d {
0034 compatible = "ti,lp8860";
0035 #address-cells = <1>;
0036 #size-cells = <0>;
0037 reg = <0x2d>;
0038 enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
0039 vled-supply = <&vbatt>;
0040
0041 led@0 {
0042 reg = <0>;
0043 function = LED_FUNCTION_BACKLIGHT;
0044 color = <LED_COLOR_ID_WHITE>;
0045 linux,default-trigger = "backlight";
0046 };
0047 }
0048
0049 For more product information please see the link below:
0050 https://www.ti.com/product/lp8860-q1