u-boot/drivers/led/Kconfig
Masahiro Yamada 0b11dbf705 drivers: hierarchize drivers Kconfig menu
The menuconfig for drivers are getting more and more cluttered
and unreadable because too many entries are displayed in a single
flat menu.  Use hierarchic menu for each category.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Update to apply again in a few places, drop USB hunk]
Signed-off-by: Tom Rini <trini@konsulko.com>
2015-08-12 20:47:44 -04:00

31 lines
955 B
Plaintext

menu "LED Support"
config LED
bool "Enable LED support"
depends on DM
help
Many boards have LEDs which can be used to signal status or alerts.
U-Boot provides a uclass API to implement this feature. LED drivers
can provide access to board-specific LEDs. Use of the device tree
for configuration is encouraged.
config SPL_LED_SUPPORT
bool "Enable LED support in SPL"
depends on LED
help
The LED subsystem adds a small amount of overhead to the image.
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.
endmenu