From 34934c183b2880340c9ee8f7f36da5a77bffea46 Mon Sep 17 00:00:00 2001 From: Sebastian Hesselbarth Date: Tue, 2 Jul 2013 20:30:47 +0200 Subject: LED: add support for device tree parsing of gpio-leds This adds a driver option to probe GPIO LEDs from device tree compatible with "gpio-leds" device tree nodes. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Sascha Hauer --- drivers/led/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/led/Kconfig') diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig index 8ca6ab8e44..3ead82e031 100644 --- a/drivers/led/Kconfig +++ b/drivers/led/Kconfig @@ -7,6 +7,10 @@ config LED_GPIO bool "gpio LED support" depends on GENERIC_GPIO +config LED_GPIO_OF + bool "support parsing gpio LEDs from device tree" + depends on LED_GPIO && OFTREE + config LED_GPIO_RGB bool "gpio rgb LED support" depends on LED_GPIO -- cgit v1.2.3