[PATCH] board: BuS: remove support for BOOT LED
Tom Rini
trini at konsulko.com
Tue Dec 16 22:55:25 CET 2025
On Wed, Nov 19, 2025 at 06:27:27PM +0100, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz at cherry.de>
>
> We are trying to get rid of the legacy LED API and this is one of the
> last users.
>
> As far as I understood from the code, only one LED is controllable and
> it is a GPIO led. When initializing the LED, it is always enabled
> regardless of the passed argument, same for the mask.
>
> In addition, the LED is used as a BOOT LED.
>
> To keep the same behavior, a GPIO driver should be written, then add a
> gpio-leds node which makes use of a GPIO from said driver, add the
> /options/u-boot/boot-led property pointing at this new GPIO LED node and
> then enable CONFIG_LED as well as CONFIG_LED_BOOT. This should result in
> the same behavior using the modern framework.
>
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251216/4a8d322c/attachment.sig>
More information about the U-Boot
mailing list