U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/23] stm32: Update led management for STMicroelectronics boards
@ 2025-11-14 16:23 Patrice Chotard
  2025-11-14 16:23 ` [PATCH 01/23] board: st: Drop old LED code from stm32f429-disco Patrice Chotard
                   ` (23 more replies)
  0 siblings, 24 replies; 54+ messages in thread
From: Patrice Chotard @ 2025-11-14 16:23 UTC (permalink / raw)
  To: u-boot
  Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Antonio Borneo,
	Cheick Traore, Dario Binacchi, Kamil Lulko, Kory Maincent,
	Linus Walleij, Marek Vasut, Peng Fan, Sam Protsenko, Simon Glass,
	Tom Rini

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

^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2025-12-05 12:52 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-14 16:23 [PATCH 00/23] stm32: Update led management for STMicroelectronics boards Patrice Chotard
2025-11-14 16:23 ` [PATCH 01/23] board: st: Drop old LED code from stm32f429-disco Patrice Chotard
2025-12-04 13:12   ` Quentin Schulz
2025-12-04 14:58     ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 02/23] board: st: Update LED management for stm32mp1 Patrice Chotard
2025-12-04 15:38   ` Quentin Schulz
2025-12-05  9:24     ` Patrice CHOTARD
2025-12-05 10:43       ` Quentin Schulz
2025-12-05 11:04         ` Patrice CHOTARD
2025-11-14 16:23 ` [PATCH 03/23] board: st: Update LED management for stm32mp2 Patrice Chotard
2025-12-04 15:43   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 04/23] configs: stm32: Enable LED config flags for stm32f429-disco Patrice Chotard
2025-12-04 15:46   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 05/23] " Patrice Chotard
2025-12-04 15:50   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 06/23] configs: stm32: Enable LED config flags for stm32f746-disco Patrice Chotard
2025-12-04 16:00   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 07/23] configs: stm32: Enable LED config flags for stm32f769-disco Patrice Chotard
2025-12-04 16:03   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 08/23] configs: stm32: Enable LED config flags for stm32h743-disco Patrice Chotard
2025-12-04 16:03   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 09/23] configs: stm32: Enable LED config flags for stm32h743-eval Patrice Chotard
2025-12-04 16:04   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 10/23] configs: stm32: Enable LED config flags for stm32h747-disco Patrice Chotard
2025-12-04 16:04   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 11/23] configs: stm32mp13: Enable LED_BOOT for stm32mp13_defconfig Patrice Chotard
2025-12-04 16:08   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 12/23] configs: stm32mp15: Enable LED_BOOT for stm32mp15_defconfig Patrice Chotard
2025-12-04 16:11   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 13/23] configs: stm32mp15: Enable LED_BOOT for stm32mp15_basic_defconfig Patrice Chotard
2025-12-04 16:14   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 14/23] configs: stm32mp15: Enable LED_BOOT for stm32mp15_trusted_defconfig Patrice Chotard
2025-12-04 16:19   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 15/23] configs: stm32mp2: Enable LED_BOOT for stm32mp25_defconfig Patrice Chotard
2025-12-04 16:20   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 16/23] configs: stm32mp2: Enable LED_BOOT for stm32mp23_defconfig Patrice Chotard
2025-12-04 16:21   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 17/23] ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp135f-dk-u-boot Patrice Chotard
2025-12-04 16:25   ` Quentin Schulz
2025-12-05  9:45     ` Patrice CHOTARD
2025-12-05 10:47       ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 18/23] ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157a-dk1-scmi-u-boot Patrice Chotard
2025-12-04 16:27   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 19/23] ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157a-dk1-u-boot Patrice Chotard
2025-12-04 16:27   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 20/23] ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157c-ed1-scmi-u-boot Patrice Chotard
2025-12-04 16:31   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 21/23] ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157c-ed1-u-boot Patrice Chotard
2025-12-04 16:34   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 22/23] ARM: dts: stm32: Drop "u-boot-led" from stm32mp235f-dk-u-boot Patrice Chotard
2025-12-04 16:40   ` Quentin Schulz
2025-11-14 16:23 ` [PATCH 23/23] ARM: dts: stm32: Drop "u-boot-led" from stm32mp257f-ev1-u-boot Patrice Chotard
2025-12-04 16:41   ` Quentin Schulz
2025-12-05 12:52 ` [PATCH 00/23] stm32: Update led management for STMicroelectronics boards Patrice CHOTARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox