xref: /openbmc/u-boot/drivers/led/Kconfig (revision 867a6ac8)
1config LED
2	bool "Enable LED support"
3	depends on DM
4	help
5	  Many boards have LEDs which can be used to signal status or alerts.
6	  U-Boot provides a uclass API to implement this feature. LED drivers
7	  can provide access to board-specific LEDs. Use of the device tree
8	  for configuration is encouraged.
9
10config SPL_LED_SUPPORT
11	bool "Enable LED support in SPL"
12	depends on LED
13	help
14	  The LED subsystem adds a small amount of overhead to the image.
15	  If this is acceptable and you have a need to use LEDs in SPL,
16	  enable this option. You will need to enable device tree in SPL
17	  for this to work.
18
19config LED_GPIO
20	bool "LED support for GPIO-connected LEDs"
21	depends on LED && DM_GPIO
22	help
23	  Enable support for LEDs which are connected to GPIO lines. These
24	  GPIOs may be on the SoC or some other device which provides GPIOs.
25	  The GPIO driver must used driver model. LEDs are configured using
26	  the device tree.
27