Skip to content

Commit 2f8270d

Browse files
Dan Murphyjacek-anaszewski
authored andcommitted
dt: bindings: lm3601x: Introduce the lm3601x driver
Introduce the device tree bindings for the lm3601x family of LED torch, flash and IR drivers. Signed-off-by: Dan Murphy <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
1 parent 43926c2 commit 2f8270d

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
* Texas Instruments - lm3601x Single-LED Flash Driver
2+
3+
The LM3601X are ultra-small LED flash drivers that
4+
provide a high level of adjustability.
5+
6+
Required properties:
7+
- compatible : Can be one of the following
8+
"ti,lm36010"
9+
"ti,lm36011"
10+
- reg : I2C slave address
11+
- #address-cells : 1
12+
- #size-cells : 0
13+
14+
Required child properties:
15+
- reg : 0 - Indicates a IR mode
16+
1 - Indicates a Torch (white LED) mode
17+
18+
Required properties for flash LED child nodes:
19+
See Documentation/devicetree/bindings/leds/common.txt
20+
- flash-max-microamp : Range from 11mA - 1.5A
21+
- flash-max-timeout-us : Range from 40ms - 1600ms
22+
- led-max-microamp : Range from 2.4mA - 376mA
23+
24+
Optional child properties:
25+
- label : see Documentation/devicetree/bindings/leds/common.txt
26+
27+
Example:
28+
led-controller@64 {
29+
compatible = "ti,lm36010";
30+
#address-cells = <1>;
31+
#size-cells = <0>;
32+
reg = <0x64>;
33+
34+
led@0 {
35+
reg = <1>;
36+
label = "white:torch";
37+
led-max-microamp = <376000>;
38+
flash-max-microamp = <1500000>;
39+
flash-max-timeout-us = <1600000>;
40+
};
41+
}
42+
43+
For more product information please see the links below:
44+
http://www.ti.com/product/LM36010
45+
http://www.ti.com/product/LM36011

0 commit comments

Comments
 (0)