diff options
| -rw-r--r-- | Documentation/devicetree/bindings/leds/leds-lm3692x.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt new file mode 100644 index 000000000000..6c9074f84a51 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt | |||
| @@ -0,0 +1,49 @@ | |||
| 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 | ||
| 24 | |||
| 25 | Optional child properties: | ||
| 26 | - label : see Documentation/devicetree/bindings/leds/common.txt | ||
| 27 | - linux,default-trigger : | ||
| 28 | see Documentation/devicetree/bindings/leds/common.txt | ||
| 29 | |||
| 30 | Example: | ||
| 31 | |||
| 32 | led-controller@36 { | ||
| 33 | compatible = "ti,lm3692x"; | ||
| 34 | reg = <0x36>; | ||
| 35 | #address-cells = <1>; | ||
| 36 | #size-cells = <0>; | ||
| 37 | |||
| 38 | enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; | ||
| 39 | vled-supply = <&vbatt>; | ||
| 40 | |||
| 41 | led@0 { | ||
| 42 | reg = <0>; | ||
| 43 | label = "white:backlight_cluster"; | ||
| 44 | linux,default-trigger = "backlight"; | ||
| 45 | }; | ||
| 46 | } | ||
| 47 | |||
| 48 | For more product information please see the link below: | ||
| 49 | http://www.ti.com/lit/ds/snvsa29/snvsa29.pdf | ||
