diff options
author | Simon Glass <sjg@chromium.org> | 2015-06-23 15:38:46 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 17:39:24 -0600 |
commit | 5ac76bad2277ed40f2a2112ffab0f156e3b599fb (patch) | |
tree | 83369bd34bf572f1df277e04e8772e8829a917b6 /drivers/led/Kconfig | |
parent | 5917112c9e9f7a60062c604b3224bd5713c41f46 (diff) | |
download | u-boot-imx-5ac76bad2277ed40f2a2112ffab0f156e3b599fb.zip u-boot-imx-5ac76bad2277ed40f2a2112ffab0f156e3b599fb.tar.gz u-boot-imx-5ac76bad2277ed40f2a2112ffab0f156e3b599fb.tar.bz2 |
dm: led: Add a driver for GPIO-controlled LEDs
Add a simple driver which allows use of LEDs attached to GPIOs. The linux
device tree binding is used.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/led/Kconfig')
-rw-r--r-- | drivers/led/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig index e4d9a84..de5feea 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. |