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