]> git.ipfire.org Git - thirdparty/u-boot.git/commit
corvus: migrate red LED to the modern API
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 19 Nov 2025 17:01:14 +0000 (18:01 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 19:38:09 +0000 (13:38 -0600)
commitb06e52f2ea937077b3ff8296e4a67648138ac897
tree8436a1e25a0d1ac78d49b16e31fcba175a2b4319
parent16415e9563ec04241c58f0a85cd2fc1d89f3033e
corvus: migrate red LED to the modern API

red_led_on is either called from the legacy LED shell command (which is
disabled for corvus) or from arm-specific assembly code right before
jumping into board_init_r() in U-Boot proper.

Let's migrate to use the more modern LED subsystem by migrating to DM.

The default-state is set to on to mimic red_led_on() from the
arm-specific assembly code as a missing default-state FDT property
currently means the LED is not probed except if explicitly done via the
led shell command. Note though that this is running much later in the
boot process, once DM is started.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Heiko Schocher <hs@nabladev.com>
arch/arm/dts/at91sam9g45-corvus.dts
board/siemens/corvus/board.c
configs/corvus_defconfig