summaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorLuotao Fu <l.fu@pengutronix.de>2009-02-11 13:24:40 -0800
committerRichard Purdie <rpurdie@linux.intel.com>2009-04-06 16:06:26 +0100
commit41c42ff5dbe29b7b826e6736f960959c76e7acf0 (patch)
treec405b8e5e266994fbf81d7610cf8498215e0baff /drivers/leds/Kconfig
parentb2bdc3e7130001804f27e7c1254930143119f435 (diff)
downloadtalos-op-linux-41c42ff5dbe29b7b826e6736f960959c76e7acf0.tar.gz
talos-op-linux-41c42ff5dbe29b7b826e6736f960959c76e7acf0.zip
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/Kconfig6
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
This option enables support for DAC124S085 SPI DAC from NatSemi,
which can be used to control up to four LEDs.
+config LEDS_PWM
+ tristate "PWM driven LED Support"
+ depends on LEDS_CLASS && HAVE_PWM
+ help
+ This option enables support for pwm driven LEDs
+
comment "LED Triggers"
config LEDS_TRIGGERS
OpenPOWER on IntegriCloud