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