reset: npcm: using syscon instead of device data
[linux-2.6-block.git] / Documentation / devicetree / bindings / leds / leds-lm3692x.txt
CommitLineData
1d9aa24b
DM
1* Texas Instruments - LM3692x Highly Efficient White LED Driver
2
3The LM3692x is an ultra-compact, highly efficient,
4white-LED driver designed for LCD display backlighting.
5
6The main difference between the LM36922 and LM36923 is the number of
7LED strings it supports. The LM36922 supports two strings while the LM36923
8supports three strings.
9
10Required properties:
11 - compatible:
12 "ti,lm36922"
13 "ti,lm36923"
14 - reg : I2C slave address
15 - #address-cells : 1
16 - #size-cells : 0
17
18Optional properties:
19 - enable-gpios : gpio pin to enable/disable the device.
20 - vled-supply : LED supply
ebf59a45
GG
21 - ti,ovp-microvolt: Overvoltage protection in
22 micro-volt, can be 17000000, 21000000, 25000000 or
23 29000000. If ti,ovp-microvolt is not specified it
24 defaults to 29000000.
1d9aa24b
DM
25
26Required child properties:
581e3ca3
DM
27 - reg : 0 - Will enable all LED sync paths
28 1 - Will enable the LED1 sync
29 2 - Will enable the LED2 sync
30 3 - Will enable the LED3 sync (LM36923 only)
1d9aa24b
DM
31
32Optional child properties:
4dcbc8f8
JA
33 - function : see Documentation/devicetree/bindings/leds/common.txt
34 - color : see Documentation/devicetree/bindings/leds/common.txt
35 - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
1d9aa24b
DM
36 - linux,default-trigger :
37 see Documentation/devicetree/bindings/leds/common.txt
3e0801b6
GG
38 - led-max-microamp :
39 see Documentation/devicetree/bindings/leds/common.txt
1d9aa24b
DM
40
41Example:
42
4dcbc8f8
JA
43#include <dt-bindings/leds/common.h>
44
1d9aa24b
DM
45led-controller@36 {
46 compatible = "ti,lm3692x";
47 reg = <0x36>;
48 #address-cells = <1>;
49 #size-cells = <0>;
50
51 enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
52 vled-supply = <&vbatt>;
ebf59a45 53 ti,ovp-microvolt = <29000000>;
1d9aa24b
DM
54
55 led@0 {
56 reg = <0>;
4dcbc8f8
JA
57 function = LED_FUNCTION_BACKLIGHT;
58 color = <LED_COLOR_ID_WHITE>;
1d9aa24b 59 linux,default-trigger = "backlight";
3e0801b6 60 led-max-microamp = <20000>;
1d9aa24b
DM
61 };
62}
63
64For more product information please see the link below:
c5437338 65https://www.ti.com/lit/ds/snvsa29/snvsa29.pdf