• H. Nikolaus Schaller's avatar
    leds: is31fl319x: 1/3/6/9-channel light effect led driver · 8c40b7d0
    H. Nikolaus Schaller authored
    This is a driver for the Integrated Silicon Solution Inc. LED driver
    chips series IS31FL319x. They can drive 1, 3, 6  or up to 9
    LEDs.
    
    Each LED is individually controllable in brightness (through pwm)
    in 256 steps so that RGB LEDs can show any of ca. 16 Mio colors.
    
    The maximum current of the LEDs can be programmed and limited to
    5 .. 40mA through a device tree property.
    
    The chip is connected through I2C and can have one of 4 addresses
    in the range 0x64 .. 0x67 depending on how the AD pin is connected. The
    address is defined by the reg property as usual.
    
    The chip also has a shutdown input which could be connected to a GPIO,
    but this driver uses software shutdown if all LEDs are inactivated.
    
    The chip also has breathing and audio features which are not fully
    supported by this driver.
    
    Tested-on: OMAP5 based Pyra handheld prototype.
    Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
    Signed-off-by: default avatarAndrey Utkin <andrey_utkin@fastmail.com>
    Signed-off-by: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
    8c40b7d0
leds-is31fl319x.c 11.9 KB