xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBinding for ISSI IS31FL32xx and Si-En SN32xx LED Drivers
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe IS31FL32xx/SN32xx family of LED drivers are I2C devices with multiple
4*4882a593Smuzhiyunconstant-current channels, each with independent 256-level PWM control.
5*4882a593SmuzhiyunEach LED is represented as a sub-node of the device.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun- compatible: one of
9*4882a593Smuzhiyun	issi,is31fl3236
10*4882a593Smuzhiyun	issi,is31fl3235
11*4882a593Smuzhiyun	issi,is31fl3218
12*4882a593Smuzhiyun	issi,is31fl3216
13*4882a593Smuzhiyun	si-en,sn3218
14*4882a593Smuzhiyun	si-en,sn3216
15*4882a593Smuzhiyun- reg: I2C slave address
16*4882a593Smuzhiyun- address-cells : must be 1
17*4882a593Smuzhiyun- size-cells : must be 0
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunLED sub-node properties:
20*4882a593Smuzhiyun- reg : LED channel number (1..N)
21*4882a593Smuzhiyun- label :  (optional)
22*4882a593Smuzhiyun  see Documentation/devicetree/bindings/leds/common.txt
23*4882a593Smuzhiyun- linux,default-trigger :  (optional)
24*4882a593Smuzhiyun  see Documentation/devicetree/bindings/leds/common.txt
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunExample:
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunis31fl3236: led-controller@3c {
30*4882a593Smuzhiyun	compatible = "issi,is31fl3236";
31*4882a593Smuzhiyun	reg = <0x3c>;
32*4882a593Smuzhiyun	#address-cells = <1>;
33*4882a593Smuzhiyun	#size-cells = <0>;
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun	led@1 {
36*4882a593Smuzhiyun		reg = <1>;
37*4882a593Smuzhiyun		label = "EB:blue:usr0";
38*4882a593Smuzhiyun	};
39*4882a593Smuzhiyun	led@2 {
40*4882a593Smuzhiyun		reg = <2>;
41*4882a593Smuzhiyun		label = "EB:blue:usr1";
42*4882a593Smuzhiyun	};
43*4882a593Smuzhiyun	...
44*4882a593Smuzhiyun	led@36 {
45*4882a593Smuzhiyun		reg = <36>;
46*4882a593Smuzhiyun		label = "EB:blue:usr35";
47*4882a593Smuzhiyun	};
48*4882a593Smuzhiyun};
49*4882a593Smuzhiyun
50*4882a593SmuzhiyunFor more product information please see the links below:
51*4882a593Smuzhiyunhttp://www.issi.com/US/product-analog-fxled-driver.shtml
52*4882a593Smuzhiyunhttp://www.si-en.com/product.asp?parentid=890
53