leds-is31fl32xx.txt 1.1 KB

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