]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/led/Kconfig
dm: led: Add a driver for GPIO-controlled LEDs
[karo-tx-uboot.git] / drivers / led / Kconfig
index e4d9a84b1da7b93074cacc74946434bf119a3fc1..de5feea8dd3df15cb5418b844ae9979b4aecaccb 100644 (file)
@@ -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.