public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1 00/25] stm32mp: Fix keys & leds management
@ 2024-04-09 15:01 Patrice Chotard
  2024-04-09 15:01 ` [PATCH v1 01/25] configs: stm32mp13: Enable FASTBOOT Patrice Chotard
                   ` (24 more replies)
  0 siblings, 25 replies; 79+ messages in thread
From: Patrice Chotard @ 2024-04-09 15:01 UTC (permalink / raw)
  To: u-boot
  Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Fabrice Gasnier,
	Gatien Chevallier, Grzegorz Szymaszek, Igor Opaniuk,
	Marcel Ziswiler, Masahisa Kojima, Rasmus Villemoes, Sean Anderson,
	Simon Glass, Tom Rini


Adding FASTBOOT support for stm32mp13 shows issues when entering
in fastboot mode using a dedicated key.
On several STM32MP boards, same gpio is shared between key and led.
Restore the fastboot/stm32prog activation using a dedicated key.
Restore the led-blue which indicates U-Boot entering / exit.
Make usage of BUTTON-UCLASS for key management on STM32MP1.



Patrice Chotard (25):
  configs: stm32mp13: Enable FASTBOOT
  configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_defconfig
  configs: stm32mp1: Enable BUTTON_GPIO flag for
    stm32mp15_basic_defconfig
  configs: stm32mp1: Enable BUTTON_GPIO flag for
    stm32mp15_trusted_defconfig
  configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp13_defconfig
  board: st: stmp32mp1: Use BUTTON UCLASS in board_key_check()
  ARM: dts: stm32: Add gpio-keys for stm32mp135f-dk-u-boot
  ARM: dts: stm32: Don't probe led-red/led-blue at boot for
    stm32mp135f-dk-u-boot
  ARM: dts: stm32: Clean led-red node for stm32mp135f-dk-u-boot
  ARM: dts: stm32: Add gpio-keys for stm32mp157a-dk1-scmi-u-boot
  ARM: dts: stm32: Don't probe red led at boot for
    stm32mp157a-dk1-scmi-u-boot
  ARM: dts: stm32: Update red led node for stm32mp157a-dk1-scmi-u-boot
  ARM: dts: stm32: Add led-blue for stm32mp157a-dk1-scmi-u-boot
  ARM: dts: stm32: Add gpio-keys for stm32mp157a-dk1-u-boot
  ARM: dts: stm32: Don't probe red led at boot for
    stm32mp157a-dk1-u-boot
  ARM: dts: stm32: Update red led node for stm32mp157a-dk1-u-boot
  ARM: dts: stm32: Update u-boot,boot-led for stm32mp157a-dk1-u-boot
  ARM: dts: stm32: Add gpio-keys for stm32mp157c-ed1-u-boot
  ARM: dts: stm32: Don't probe red led at boot for
    stm32mp157c-ed1-u-boot
  ARM: dts: stm32: Update red led node for stm32mp157c-ed1-u-boot
  ARM: dts: stm32: Add led-blue for stm32mp157c-ed1-u-boot
  ARM: dts: stm32: Add gpio-keys for stm32mp157c-ed1-scmi-u-boot
  ARM: dts: stm32: Don't probe red led at boot for
    stm32mp157c-ed1-scmi-u-boot
  ARM: dts: stm32: Update red led node for stm32mp157c-ed1-scmi-u-boot
  ARM: dts: stm32: Add led-blue for stm32mp157c-ed1-scmi-u-boot

 arch/arm/dts/stm32mp135f-dk-u-boot.dtsi       | 19 +++++-
 arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi | 32 ++++++---
 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi      | 32 ++++++---
 arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi | 34 +++++++---
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi      | 34 +++++++---
 board/st/stm32mp1/stm32mp1.c                  | 68 +++++++++++--------
 configs/stm32mp13_defconfig                   | 11 ++-
 configs/stm32mp15_basic_defconfig             |  2 +
 configs/stm32mp15_defconfig                   |  2 +
 configs/stm32mp15_trusted_defconfig           |  2 +
 10 files changed, 173 insertions(+), 63 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2024-04-19 12:32 UTC | newest]

Thread overview: 79+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-09 15:01 [PATCH v1 00/25] stm32mp: Fix keys & leds management Patrice Chotard
2024-04-09 15:01 ` [PATCH v1 01/25] configs: stm32mp13: Enable FASTBOOT Patrice Chotard
2024-04-17  9:03   ` Patrick DELAUNAY
2024-04-18 11:48   ` Igor Opaniuk
2024-04-19 12:16     ` Patrice CHOTARD
2024-04-09 15:01 ` [PATCH v1 02/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_defconfig Patrice Chotard
2024-04-17  9:03   ` Patrick DELAUNAY
2024-04-19 12:16     ` Patrice CHOTARD
2024-04-09 15:01 ` [PATCH v1 03/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_basic_defconfig Patrice Chotard
2024-04-17  9:04   ` Patrick DELAUNAY
2024-04-19 12:16     ` Patrice CHOTARD
2024-04-09 15:01 ` [PATCH v1 04/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_trusted_defconfig Patrice Chotard
2024-04-17  9:04   ` Patrick DELAUNAY
2024-04-19 12:16     ` Patrice CHOTARD
2024-04-09 15:01 ` [PATCH v1 05/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp13_defconfig Patrice Chotard
2024-04-17  9:04   ` Patrick DELAUNAY
2024-04-18 11:48   ` Igor Opaniuk
2024-04-19 12:16     ` Patrice CHOTARD
2024-04-09 15:01 ` [PATCH v1 06/25] board: st: stmp32mp1: Use BUTTON UCLASS in board_key_check() Patrice Chotard
2024-04-17  9:05   ` Patrick DELAUNAY
2024-04-19 12:16     ` Patrice CHOTARD
2024-04-09 15:01 ` [PATCH v1 07/25] ARM: dts: stm32: Add gpio-keys for stm32mp135f-dk-u-boot Patrice Chotard
2024-04-17  9:06   ` Patrick DELAUNAY
2024-04-19 12:17     ` Patrice CHOTARD
2024-04-09 15:01 ` [PATCH v1 08/25] ARM: dts: stm32: Don't probe led-red/led-blue at boot " Patrice Chotard
2024-04-17  9:06   ` Patrick DELAUNAY
2024-04-19 12:17     ` Patrice CHOTARD
2024-04-09 15:01 ` [PATCH v1 09/25] ARM: dts: stm32: Clean led-red node " Patrice Chotard
2024-04-17  9:07   ` Patrick DELAUNAY
2024-04-19 12:21     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 10/25] ARM: dts: stm32: Add gpio-keys for stm32mp157a-dk1-scmi-u-boot Patrice Chotard
2024-04-17  9:07   ` Patrick DELAUNAY
2024-04-19 12:21     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 11/25] ARM: dts: stm32: Don't probe red led at boot " Patrice Chotard
2024-04-17  9:07   ` Patrick DELAUNAY
2024-04-19 12:21     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 12/25] ARM: dts: stm32: Update red led node " Patrice Chotard
2024-04-17  9:08   ` Patrick DELAUNAY
2024-04-19 12:21     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 13/25] ARM: dts: stm32: Add led-blue " Patrice Chotard
2024-04-17  9:09   ` Patrick DELAUNAY
2024-04-19 12:21     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 14/25] ARM: dts: stm32: Add gpio-keys for stm32mp157a-dk1-u-boot Patrice Chotard
2024-04-17  9:09   ` Patrick DELAUNAY
2024-04-19 12:26     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 15/25] ARM: dts: stm32: Don't probe red led at boot " Patrice Chotard
2024-04-17  9:09   ` Patrick DELAUNAY
2024-04-19 12:27     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 16/25] ARM: dts: stm32: Update red led node " Patrice Chotard
2024-04-17  9:10   ` Patrick DELAUNAY
2024-04-19 12:27     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 17/25] ARM: dts: stm32: Update u-boot, boot-led " Patrice Chotard
2024-04-17  9:10   ` [PATCH v1 17/25] ARM: dts: stm32: Update u-boot,boot-led " Patrick DELAUNAY
2024-04-19 12:27     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 18/25] ARM: dts: stm32: Add gpio-keys for stm32mp157c-ed1-u-boot Patrice Chotard
2024-04-17  9:11   ` Patrick DELAUNAY
2024-04-19 12:27     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 19/25] ARM: dts: stm32: Don't probe red led at boot " Patrice Chotard
2024-04-17  9:11   ` Patrick DELAUNAY
2024-04-19 12:27     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 20/25] ARM: dts: stm32: Update red led node " Patrice Chotard
2024-04-17  9:11   ` Patrick DELAUNAY
2024-04-19 12:27     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 21/25] ARM: dts: stm32: Add led-blue " Patrice Chotard
2024-04-17  9:11   ` Patrick DELAUNAY
2024-04-19 12:30     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 22/25] ARM: dts: stm32: Add gpio-keys for stm32mp157c-ed1-scmi-u-boot Patrice Chotard
2024-04-17  9:12   ` Patrick DELAUNAY
2024-04-19 12:30     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 23/25] ARM: dts: stm32: Don't probe red led at boot " Patrice Chotard
2024-04-17  9:13   ` Patrick DELAUNAY
2024-04-19 12:30     ` Patrice CHOTARD
2024-04-19 12:30   ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 24/25] ARM: dts: stm32: Update red led node " Patrice Chotard
2024-04-17  9:13   ` Patrick DELAUNAY
2024-04-19 12:30     ` Patrice CHOTARD
2024-04-09 15:02 ` [PATCH v1 25/25] ARM: dts: stm32: Add led-blue " Patrice Chotard
2024-04-17  9:28   ` Patrick DELAUNAY
2024-04-19 12:32     ` Patrice CHOTARD

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