GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / leds / leds-lm3692x.txt
1 * Texas Instruments - LM3692x Highly Efficient White LED Driver
2
3 The LM3692x is an ultra-compact, highly efficient,
4 white-LED driver designed for LCD display backlighting.
5
6 The main difference between the LM36922 and LM36923 is the number of
7 LED strings it supports.  The LM36922 supports two strings while the LM36923
8 supports three strings.
9
10 Required properties:
11         - compatible:
12                 "ti,lm36922"
13                 "ti,lm36923"
14         - reg :  I2C slave address
15         - #address-cells : 1
16         - #size-cells : 0
17
18 Optional properties:
19         - enable-gpios : gpio pin to enable/disable the device.
20         - vled-supply : LED supply
21
22 Required child properties:
23         - reg : 0 - Will enable all LED sync paths
24                 1 - Will enable the LED1 sync
25                 2 - Will enable the LED2 sync
26                 3 - Will enable the LED3 sync (LM36923 only)
27
28 Optional child properties:
29         - label : see Documentation/devicetree/bindings/leds/common.txt
30         - linux,default-trigger :
31            see Documentation/devicetree/bindings/leds/common.txt
32
33 Example:
34
35 led-controller@36 {
36         compatible = "ti,lm3692x";
37         reg = <0x36>;
38         #address-cells = <1>;
39         #size-cells = <0>;
40
41         enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
42         vled-supply = <&vbatt>;
43
44         led@0 {
45                 reg = <0>;
46                 label = "white:backlight_cluster";
47                 linux,default-trigger = "backlight";
48         };
49 }
50
51 For more product information please see the link below:
52 http://www.ti.com/lit/ds/snvsa29/snvsa29.pdf