diff options
author | Raphael Assenat <raph@8d.com> | 2007-02-27 19:49:53 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-07-16 01:15:50 +0100 |
commit | 22e03f3b58dfcca30f0c8de185022132459638d1 (patch) | |
tree | 0597fa494d55f44191ec99b4bb34a937efcab0e7 /drivers/leds/Kconfig | |
parent | 8f41958bdd577731f7411c9605cfaa9db6766809 (diff) | |
download | linux-22e03f3b58dfcca30f0c8de185022132459638d1.tar.bz2 |
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/Kconfig | 8 |
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 help This option enables support for the front LED on Cobalt Server +config LEDS_GPIO + tristate "LED Support for GPIO connected LEDs" + depends on LEDS_CLASS && GENERIC_GPIO + help + This option enables support for the LEDs connected to GPIO + outputs. To be useful the particular board must have LEDs + and they must be connected to the GPIO lines. + comment "LED Triggers" config LEDS_TRIGGERS |