summaryrefslogtreecommitdiffstats
path: root/drivers/led/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-12-18 14:36:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-12-20 09:57:32 +0100
commit91d781f51df5d4de23d09a6777bfc968a0a7ca68 (patch)
treec157c2074ab337ee7512ebf3bd8ac38dfdd7c6a7 /drivers/led/Kconfig
parent51271530d2f824ee9e1ef01a2eb7f361622716aa (diff)
downloadbarebox-91d781f51df5d4de23d09a6777bfc968a0a7ca68.tar.gz
barebox-91d781f51df5d4de23d09a6777bfc968a0a7ca68.tar.xz
LED: Add gpio LED support
This patch adds support for registering gpios as LEDs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/led/Kconfig')
-rw-r--r--drivers/led/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig
index 964626cdcd..048a0f456c 100644
--- a/drivers/led/Kconfig
+++ b/drivers/led/Kconfig
@@ -3,4 +3,12 @@ menuconfig LED
if LED
+config LED_GPIO
+ bool "gpio LED support"
+ depends on GENERIC_GPIO
+
+config LED_GPIO_RGB
+ bool "gpio rgb LED support"
+ depends on LED_GPIO
+
endif