Linux-libre 5.4.48-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / leds / leds-is31fl32xx.txt
1 Binding for ISSI IS31FL32xx and Si-En SN32xx LED Drivers
2
3 The IS31FL32xx/SN32xx 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         si-en,sn3218
14         si-en,sn3216
15 - reg: I2C slave address
16 - address-cells : must be 1
17 - size-cells : must be 0
18
19 LED sub-node properties:
20 - reg : LED channel number (1..N)
21 - label :  (optional)
22   see Documentation/devicetree/bindings/leds/common.txt
23 - linux,default-trigger :  (optional)
24   see Documentation/devicetree/bindings/leds/common.txt
25
26
27 Example:
28
29 is31fl3236: led-controller@3c {
30         compatible = "issi,is31fl3236";
31         reg = <0x3c>;
32         #address-cells = <1>;
33         #size-cells = <0>;
34
35         led@1 {
36                 reg = <1>;
37                 label = "EB:blue:usr0";
38         };
39         led@2 {
40                 reg = <2>;
41                 label = "EB:blue:usr1";
42         };
43         ...
44         led@36 {
45                 reg = <36>;
46                 label = "EB:blue:usr35";
47         };
48 };
49
50 For more product information please see the links below:
51 http://www.issi.com/US/product-analog-fxled-driver.shtml
52 http://www.si-en.com/product.asp?parentid=890