diff options
author | Luotao Fu <l.fu@pengutronix.de> | 2009-02-11 16:24:40 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-04-06 11:06:26 -0400 |
commit | 41c42ff5dbe29b7b826e6736f960959c76e7acf0 (patch) | |
tree | c405b8e5e266994fbf81d7610cf8498215e0baff /drivers/leds/Kconfig | |
parent | b2bdc3e7130001804f27e7c1254930143119f435 (diff) |
leds: simple driver for pwm driven LEDs
Add a simple driver for pwm driver LEDs. pwm_id and period can be defined
in board file. It is developed for pxa, however it is probably generic
enough to be used on other platforms with pwm.
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 16a94088beee..89ea7ef39fe4 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -197,6 +197,12 @@ config LEDS_DAC124S085 | |||
197 | This option enables support for DAC124S085 SPI DAC from NatSemi, | 197 | This option enables support for DAC124S085 SPI DAC from NatSemi, |
198 | which can be used to control up to four LEDs. | 198 | which can be used to control up to four LEDs. |
199 | 199 | ||
200 | config LEDS_PWM | ||
201 | tristate "PWM driven LED Support" | ||
202 | depends on LEDS_CLASS && HAVE_PWM | ||
203 | help | ||
204 | This option enables support for pwm driven LEDs | ||
205 | |||
200 | comment "LED Triggers" | 206 | comment "LED Triggers" |
201 | 207 | ||
202 | config LEDS_TRIGGERS | 208 | config LEDS_TRIGGERS |