summaryrefslogtreecommitdiffstats
path: root/drivers/led/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/led/Kconfig')
-rw-r--r--drivers/led/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig
index e4d9a84b1d..de5feea8dd 100644
--- a/drivers/led/Kconfig
+++ b/drivers/led/Kconfig
@@ -15,3 +15,12 @@ config SPL_LED_SUPPORT
If this is acceptable and you have a need to use LEDs in SPL,
enable this option. You will need to enable device tree in SPL
for this to work.
+
+config LED_GPIO
+ bool "LED support for GPIO-connected LEDs"
+ depends on LED && DM_GPIO
+ help
+ Enable support for LEDs which are connected to GPIO lines. These
+ GPIOs may be on the SoC or some other device which provides GPIOs.
+ The GPIO driver must used driver model. LEDs are configured using
+ the device tree.
OpenPOWER on IntegriCloud