]> git.karo-electronics.de Git - linux-beck.git/commit
leds: is31fl319x: 1/3/6/9-channel light effect led driver
authorH. Nikolaus Schaller <hns@goldelico.com>
Tue, 19 Jul 2016 11:47:30 +0000 (13:47 +0200)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 15 Aug 2016 12:02:31 +0000 (14:02 +0200)
commit8c40b7d09ec17c7c01a6db2e16a52dca57b68e36
tree5c52b1fe778c9672ba7747a6d3ac31b454f127ed
parent694d0d0bb2030d2e36df73e2d23d5770511dbc8d
leds: is31fl319x: 1/3/6/9-channel light effect led driver

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: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Andrey Utkin <andrey_utkin@fastmail.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-is31fl319x.c [new file with mode: 0644]