diff options
author | Riku Voipio <riku.voipio@iki.fi> | 2008-05-31 09:43:41 -0400 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-07-23 04:49:56 -0400 |
commit | e14fa82439d33cef67eaafc1a48960bbfa610c8e (patch) | |
tree | e98b939481252441fecf05350f769a44acb7d99c /drivers/leds/Kconfig | |
parent | c010b2f76c3032e48097a6eef291d8593d5d79a6 (diff) |
leds: Add pca9532 led driver
NXP pca9532 is a LED dimmer/controller attached to i2c bus. It allows
attaching upto 16 leds which can either be on, off or dimmed and/or blinked
with the two PWM modulators available.
This driver is a "new-style" i2c driver that adheres to the driver model and
implements the led framework api. Since the leds connected to the driver are
platform specific, it is only useful when platform data is passed to the
driver to define what leds are connected to which pins.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
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 86a369bc57d6..1c35dfaef721 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -103,6 +103,14 @@ config LEDS_HP6XX | |||
103 | This option enables led support for the handheld | 103 | This option enables led support for the handheld |
104 | HP Jornada 620/660/680/690. | 104 | HP Jornada 620/660/680/690. |
105 | 105 | ||
106 | config LEDS_PCA9532 | ||
107 | tristate "LED driver for PCA9532 dimmer" | ||
108 | depends on LEDS_CLASS && I2C && INPUT && EXPERIMENTAL | ||
109 | help | ||
110 | This option enables support for NXP pca9532 | ||
111 | led controller. It is generally only usefull | ||
112 | as a platform driver | ||
113 | |||
106 | config LEDS_GPIO | 114 | config LEDS_GPIO |
107 | tristate "LED Support for GPIO connected LEDs" | 115 | tristate "LED Support for GPIO connected LEDs" |
108 | depends on LEDS_CLASS && GENERIC_GPIO | 116 | depends on LEDS_CLASS && GENERIC_GPIO |