xref: /freebsd/sys/contrib/device-tree/Bindings/leds/leds-is31fl32xx.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Binding for ISSI IS31FL32xx and Si-En SN32xx LED Drivers
2
3The IS31FL32xx/SN32xx family of LED drivers are I2C devices with multiple
4constant-current channels, each with independent 256-level PWM control.
5Each LED is represented as a sub-node of the device.
6
7Required 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
19LED 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
27Example:
28
29is31fl3236: 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
50For more product information please see the links below:
51http://www.issi.com/US/product-analog-fxled-driver.shtml
52http://www.si-en.com/product.asp?parentid=890
53