]> git.ipfire.org Git - thirdparty/u-boot.git/commit
Merge patch series "led: remove unused legacy LED code"
authorTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 19:38:32 +0000 (13:38 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 19:38:32 +0000 (13:38 -0600)
commit384d3785df4dbe452f9fbb4bd9c9c9e986cdc205
tree93df78019fee580bc6a1691ac585eb86f5bc83a5
parent1a5e3be3aca271901c3d4c5e0d5fd23c27e258b6
parentc4594242aafc3452948a6b57dfbaacdfb4ed0860
Merge patch series "led: remove unused legacy LED code"

Quentin Schulz <quentin.schulz@cherry.de> says:

Only the Siemens corvus board seems to be using these two status LEDs
from the legacy LED API.

Since we're trying to get rid of the last users of the legacy LED API,
let's migrate Corvus to the modern LED API instead, which uses DM. For
Corvus's case, it also uses DM_GPIO (already enabled in defconfig).

Since there was no use for the green status_led (not compiled in), it
simply is removed without migrating it to the modern API. If need be, we
can always add a new gpio-led in the FDT.

Note that I do not own a Siemens Corvus board so it's a bit of a shot in
the dark whether it'll work on the first try, only build tested.

The red LED should be on whenever reaching U-Boot proper CLI, if not we
have an issue.

The LED should be controllable with the led command from U-Boot proper
CLI.

Link: https://lore.kernel.org/r/20251119-corvus-led-red-green-v1-0-ce86b8d59dfc@cherry.de