diff options
author | Peter Meerwald <p.meerwald@bct-electronic.com> | 2012-03-23 15:02:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 16:58:35 -0700 |
commit | 75cb2e1d1a53e732ebc81e7c4fa781aa8d7a9619 (patch) | |
tree | cd2b0edb7792f8b0bb0adbdc1b121b853f4e5d1d /drivers/leds/Kconfig | |
parent | d06cb46c3e59e4f212bc7b86720a073a1aee1f63 (diff) | |
download | linux-75cb2e1d1a53e732ebc81e7c4fa781aa8d7a9619.tar.gz linux-75cb2e1d1a53e732ebc81e7c4fa781aa8d7a9619.tar.bz2 linux-75cb2e1d1a53e732ebc81e7c4fa781aa8d7a9619.zip |
drivers/leds: add driver for PCA9633 I2C chip
Driver for the PCA9633 I2C chip supporting four LEDs and 255 brightness
levels.
[akpm@linux-foundation.org: fix kcalloc() call]
[axel.lin@gmail.com: fix kcalloc parameters swapped]
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 8c7a75d53101..e2ac190df528 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -234,6 +234,14 @@ config LEDS_PCA955X LED driver chips accessed via the I2C bus. Supported devices include PCA9550, PCA9551, PCA9552, and PCA9553. +config LEDS_PCA9633 + tristate "LED support for PCA9633 I2C chip" + depends on LEDS_CLASS + depends on I2C + help + This option enables support for LEDs connected to the PCA9633 + LED driver chip accessed via the I2C bus. + config LEDS_WM831X_STATUS tristate "LED support for status LEDs on WM831x PMICs" depends on LEDS_CLASS |