diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-07-02 20:30:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-09 20:00:19 +0200 |
commit | 34934c183b2880340c9ee8f7f36da5a77bffea46 (patch) | |
tree | a44d302e6896f6224698892e9db80e2073e72bee /drivers/led/Kconfig | |
parent | cf31688b6a6981bf6e66ec8587d0ccf3dd72a594 (diff) | |
download | barebox-34934c183b2880340c9ee8f7f36da5a77bffea46.tar.gz barebox-34934c183b2880340c9ee8f7f36da5a77bffea46.tar.xz |
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 <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/led/Kconfig')
-rw-r--r-- | drivers/led/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
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 |