Skip to contentSkip to conversation

led: Mark LED_STATUS as depending on LED being disabled

PATCH In review Tom Rini 1 participant 2 messages Sep 26, 2025 – Oct 9, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 led: Mark LED_STATUS as depending on LED being disabled

The LED_STATUS functionality is part of the legacy LED framework. This cannot be enabled at the same time as the new LED API is. Make the text prompt be clear this is legacy and add a dependency on LED being disabled.

---
 drivers/led/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/led/Kconfig +2 -1
index c98cbf92fabe..a37ec633fb6b 100644
@@ -137,7 +137,8 @@ config SPL_LED_GPIO
 	  See the help of LED_GPIO for details.
 
 config LED_STATUS
-	bool "Enable status LED API"
+	bool "Enable legacy status LED API"
+	depends on !LED
 	help
 	  Allows common u-boot commands to use a board's leds to
 	  provide status for activities like booting and downloading files.
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 6 lines · Tom Rini

The LED_STATUS functionality is part of the legacy LED framework. This cannot be enabled at the same time as the new LED API is. Make the text prompt be clear this is legacy and add a dependency on LED being disabled.

Applied to u-boot/master, thanks!

[1/1] led: Mark LED_STATUS as depending on LED being disabled

      commit: f34a86c1ef0e93e9724c44b8ecb5e523c891c825
Signature · 1 line
Tom