xref: /rk3399_rockchip-uboot/drivers/led/Kconfig (revision 0b11dbf705ee294ac5a9fe1aeda7b7f5537a8d72)
1*0b11dbf7SMasahiro Yamadamenu "LED Support"
2*0b11dbf7SMasahiro Yamada
35917112cSSimon Glassconfig LED
45917112cSSimon Glass	bool "Enable LED support"
55917112cSSimon Glass	depends on DM
65917112cSSimon Glass	help
75917112cSSimon Glass	  Many boards have LEDs which can be used to signal status or alerts.
85917112cSSimon Glass	  U-Boot provides a uclass API to implement this feature. LED drivers
95917112cSSimon Glass	  can provide access to board-specific LEDs. Use of the device tree
105917112cSSimon Glass	  for configuration is encouraged.
115917112cSSimon Glass
125917112cSSimon Glassconfig SPL_LED_SUPPORT
135917112cSSimon Glass	bool "Enable LED support in SPL"
145917112cSSimon Glass	depends on LED
155917112cSSimon Glass	help
165917112cSSimon Glass	  The LED subsystem adds a small amount of overhead to the image.
175917112cSSimon Glass	  If this is acceptable and you have a need to use LEDs in SPL,
185917112cSSimon Glass	  enable this option. You will need to enable device tree in SPL
195917112cSSimon Glass	  for this to work.
205ac76badSSimon Glass
215ac76badSSimon Glassconfig LED_GPIO
225ac76badSSimon Glass	bool "LED support for GPIO-connected LEDs"
235ac76badSSimon Glass	depends on LED && DM_GPIO
245ac76badSSimon Glass	help
255ac76badSSimon Glass	  Enable support for LEDs which are connected to GPIO lines. These
265ac76badSSimon Glass	  GPIOs may be on the SoC or some other device which provides GPIOs.
275ac76badSSimon Glass	  The GPIO driver must used driver model. LEDs are configured using
285ac76badSSimon Glass	  the device tree.
29*0b11dbf7SMasahiro Yamada
30*0b11dbf7SMasahiro Yamadaendmenu
31