diff options
author | David Rivshin <drivshin@allworx.com> | 2016-03-07 19:57:14 -0500 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2016-03-14 04:22:21 -0400 |
commit | 4ef31e4993ffee122c06da04d3410c88c056286e (patch) | |
tree | f211ba06980e3b26aa53b8eacfca4926d2228d67 | |
parent | b63e55b9cd252300da688fe83829657aeffe54a1 (diff) |
DT: leds: Add binding for the ISSI IS31FL32xx family of LED controllers
This adds a binding description for the is31fl3236/35/18/16 I2C LED
controllers.
Signed-off-by: David Rivshin <drivshin@allworx.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
-rw-r--r-- | Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt b/Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt new file mode 100644 index 000000000000..e72ed66ec781 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt | |||
@@ -0,0 +1,49 @@ | |||
1 | Binding for ISSI IS31FL32xx LED Drivers | ||
2 | |||
3 | The IS31FL32xx family of LED drivers are I2C devices with multiple | ||
4 | constant-current channels, each with independent 256-level PWM control. | ||
5 | Each LED is represented as a sub-node of the device. | ||
6 | |||
7 | Required properties: | ||
8 | - compatible: one of | ||
9 | issi,is31fl3236 | ||
10 | issi,is31fl3235 | ||
11 | issi,is31fl3218 | ||
12 | issi,is31fl3216 | ||
13 | - reg: I2C slave address | ||
14 | - address-cells : must be 1 | ||
15 | - size-cells : must be 0 | ||
16 | |||
17 | LED sub-node properties: | ||
18 | - reg : LED channel number (1..N) | ||
19 | - label : (optional) | ||
20 | see Documentation/devicetree/bindings/leds/common.txt | ||
21 | - linux,default-trigger : (optional) | ||
22 | see Documentation/devicetree/bindings/leds/common.txt | ||
23 | |||
24 | |||
25 | Example: | ||
26 | |||
27 | is31fl3236: led-controller@3c { | ||
28 | compatible = "issi,is31fl3236"; | ||
29 | reg = <0x3c>; | ||
30 | #address-cells = <1>; | ||
31 | #size-cells = <0>; | ||
32 | |||
33 | led@1 { | ||
34 | reg = <1>; | ||
35 | label = "EB:blue:usr0"; | ||
36 | }; | ||
37 | led@2 { | ||
38 | reg = <2>; | ||
39 | label = "EB:blue:usr1"; | ||
40 | }; | ||
41 | ... | ||
42 | led@36 { | ||
43 | reg = <36>; | ||
44 | label = "EB:blue:usr35"; | ||
45 | }; | ||
46 | }; | ||
47 | |||
48 | For more product information please see the link below: | ||
49 | http://www.issi.com/US/product-analog-fxled-driver.shtml | ||