diff options
author | Dan Murphy <dmurphy@ti.com> | 2017-12-12 13:15:49 -0500 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2018-01-08 15:28:11 -0500 |
commit | 1d9aa24b65c0084586c0f2fbabb4874754c7fbe5 (patch) | |
tree | b87b2cf073f5303af81cc0b6468863cd602ba0f6 | |
parent | 06f502f57d0d7728f9fa0f157ec5e4111ddb98f6 (diff) |
dt: bindings: lm3692x: Add bindings for lm3692x LED driver
This adds the devicetree bindings for the LM3692x
I2C LED string driver.
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
-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 | ||