[PATCH 00/23] stm32: Update led management for STMicroelectronics boards

Patrice Chotard patrice.chotard at foss.st.com
Fri Nov 14 17:23:34 CET 2025


Since commit 516a13e8db32 ("led: update LED boot/activity to new property implementation")
"u-boot,boot-led" and "u-boot,error-led" properties can't be used anymore,
and in addition these properties are removed by series [1]

Instead, make usage of "boot-led" property in /options/u-boot node ,see [2].
"boot-led" property is added in kernel DT [3].

"u-boot,error-led" is replaced by LED labeled "red:status".
"red:status" addition has been submitted on kernel side [4]

This series also :
  - Remove no more used board/st/stm32f429-discovery/led.c
  - Update LED management for stm32mp1/2 boards.
  - Enable LED_BOOT flag in STM32 MCU's and MPU's defconfig files.

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=481840
[2] https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/options/u-boot.yaml
[3] https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570
[4] https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1023034


Patrice Chotard (22):
  board: st: Update LED management for stm32mp1
  board: st: Update LED management for stm32mp2
  configs: stm32: Enable LED config flags for stm32f429-disco
  configs: stm32: Enable LED config flags for stm32f429-disco
  configs: stm32: Enable LED config flags for stm32f746-disco
  configs: stm32: Enable LED config flags for stm32f769-disco
  configs: stm32: Enable LED config flags for stm32h743-disco
  configs: stm32: Enable LED config flags for stm32h743-eval
  configs: stm32: Enable LED config flags for stm32h747-disco
  configs: stm32mp13: Enable LED_BOOT for stm32mp13_defconfig
  configs: stm32mp15: Enable LED_BOOT for stm32mp15_defconfig
  configs: stm32mp15: Enable LED_BOOT for stm32mp15_basic_defconfig
  configs: stm32mp15: Enable LED_BOOT for stm32mp15_trusted_defconfig
  configs: stm32mp2: Enable LED_BOOT for stm32mp25_defconfig
  configs: stm32mp2: Enable LED_BOOT for stm32mp23_defconfig
  ARM: dts: stm32: Drop "u-boot-led" and "error-led" from
    stm32mp135f-dk-u-boot
  ARM: dts: stm32: Drop "u-boot-led" and "error-led" from
    stm32mp157a-dk1-scmi-u-boot
  ARM: dts: stm32: Drop "u-boot-led" and "error-led" from
    stm32mp157a-dk1-u-boot
  ARM: dts: stm32: Drop "u-boot-led" and "error-led" from
    stm32mp157c-ed1-scmi-u-boot
  ARM: dts: stm32: Drop "u-boot-led" and "error-led" from
    stm32mp157c-ed1-u-boot
  ARM: dts: stm32: Drop "u-boot-led" from stm32mp235f-dk-u-boot
  ARM: dts: stm32: Drop "u-boot-led" from stm32mp257f-ev1-u-boot

Simon Glass (1):
  board: st: Drop old LED code from stm32f429-disco

 arch/arm/dts/stm32mp135f-dk-u-boot.dtsi       |  6 ---
 arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi |  6 ---
 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi      |  5 ---
 arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi | 14 ------
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi      | 14 ------
 arch/arm/dts/stm32mp235f-dk-u-boot.dtsi       |  1 -
 arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi      |  1 -
 board/st/stm32f429-discovery/Makefile         |  1 -
 board/st/stm32f429-discovery/led.c            | 39 ----------------
 board/st/stm32mp1/stm32mp1.c                  | 45 ++-----------------
 board/st/stm32mp2/stm32mp2.c                  | 38 +---------------
 configs/stm32f429-discovery_defconfig         |  3 ++
 configs/stm32f469-discovery_defconfig         |  3 ++
 configs/stm32f746-disco_defconfig             |  3 ++
 configs/stm32f769-disco_defconfig             |  3 ++
 configs/stm32h743-disco_defconfig             |  3 ++
 configs/stm32h743-eval_defconfig              |  3 ++
 configs/stm32h747-disco_defconfig             |  3 ++
 configs/stm32mp13_defconfig                   |  1 +
 configs/stm32mp15_basic_defconfig             |  1 +
 configs/stm32mp15_defconfig                   |  1 +
 configs/stm32mp15_trusted_defconfig           |  1 +
 configs/stm32mp23_defconfig                   |  1 +
 configs/stm32mp25_defconfig                   |  1 +
 24 files changed, 32 insertions(+), 165 deletions(-)
 delete mode 100644 board/st/stm32f429-discovery/led.c

-- 
2.43.0

base-commit: cc970522dc2f33080b44e455ac213c95199df56e
branch: upstream_update_stm32_led_management_v2


More information about the U-Boot mailing list