aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorRaphael Assenat <raph@8d.com>2007-02-27 14:49:53 -0500
committerRichard Purdie <rpurdie@rpsys.net>2007-07-15 20:15:50 -0400
commit22e03f3b58dfcca30f0c8de185022132459638d1 (patch)
tree0597fa494d55f44191ec99b4bb34a937efcab0e7 /drivers/leds/Kconfig
parent8f41958bdd577731f7411c9605cfaa9db6766809 (diff)
leds: Add generic GPIO LED driver
This patch adds support for GPIO connected leds via the new GPIO framework. Information about leds (gpio, polarity, name, default trigger) is passed to the driver via platform_data. Signed-off-by: Raphael Assenat <raph@8d.com> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 87d2046f866c..9ce3ca109c2f 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -95,6 +95,14 @@ config LEDS_COBALT
95 help 95 help
96 This option enables support for the front LED on Cobalt Server 96 This option enables support for the front LED on Cobalt Server
97 97
98config LEDS_GPIO
99 tristate "LED Support for GPIO connected LEDs"
100 depends on LEDS_CLASS && GENERIC_GPIO
101 help
102 This option enables support for the LEDs connected to GPIO
103 outputs. To be useful the particular board must have LEDs
104 and they must be connected to the GPIO lines.
105
98comment "LED Triggers" 106comment "LED Triggers"
99 107
100config LEDS_TRIGGERS 108config LEDS_TRIGGERS