Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: stm32: Remove User-PA13 button on stm32mp135f-dk
@ 2026-08-13 11:50 Patrice Chotard
  2026-09-11 15:30 ` Alexandre TORGUE
  0 siblings, 1 reply; 2+ messages in thread
From: Patrice Chotard @ 2026-08-13 11:50 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

User-PA13 button and led-red are connected to the same GPIOA13, this
leads to a conflict when gpio-keys driver try to get gpio.

As led-red is mandatory in U-Boot to indicate the status during the
boot phase, remove User-PA13 button from stm32mp135f-dk.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32mp135f-dk.dts | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
index 6022e73f58af..215bce4738f0 100644
--- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
@@ -60,17 +60,6 @@ optee@dd000000 {
 		};
 	};
 
-	gpio-keys {
-		compatible = "gpio-keys";
-
-		button-user {
-			/* GPIO on PA13 "User button 2 (B2)" */
-			label = "User-PA13";
-			linux,code = <BTN_1>;
-			gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
-		};
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260813-upstream_gpio_keys_removal_from_mp13-dk-c4e8a1a405f0

Best regards,
--  
Patrice Chotard <patrice.chotard@foss.st.com>



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

* Re: [PATCH] ARM: dts: stm32: Remove User-PA13 button on stm32mp135f-dk
  2026-08-13 11:50 [PATCH] ARM: dts: stm32: Remove User-PA13 button on stm32mp135f-dk Patrice Chotard
@ 2026-09-11 15:30 ` Alexandre TORGUE
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre TORGUE @ 2026-09-11 15:30 UTC (permalink / raw)
  To: Patrice Chotard, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Maxime Coquelin
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel

Hi Patrice

On 8/13/26 13:50, Patrice Chotard wrote:
> User-PA13 button and led-red are connected to the same GPIOA13, this
> leads to a conflict when gpio-keys driver try to get gpio.
> 
> As led-red is mandatory in U-Boot to indicate the status during the
> boot phase, remove User-PA13 button from stm32mp135f-dk.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>   arch/arm/boot/dts/st/stm32mp135f-dk.dts | 11 -----------
>   1 file changed, 11 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
> index 6022e73f58af..215bce4738f0 100644
> --- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
> +++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
> @@ -60,17 +60,6 @@ optee@dd000000 {
>   		};
>   	};
>   
> -	gpio-keys {
> -		compatible = "gpio-keys";
> -
> -		button-user {
> -			/* GPIO on PA13 "User button 2 (B2)" */
> -			label = "User-PA13";
> -			linux,code = <BTN_1>;
> -			gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
> -		};
> -	};
> -
>   	leds {
>   		compatible = "gpio-leds";
>   
> 
> ---
> base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
> change-id: 20260813-upstream_gpio_keys_removal_from_mp13-dk-c4e8a1a405f0
> 
> Best regards,
> --
> Patrice Chotard <patrice.chotard@foss.st.com>
> 

Applied on stm32-next.

regards
alex


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

end of thread, other threads:[~2026-09-11 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13 11:50 [PATCH] ARM: dts: stm32: Remove User-PA13 button on stm32mp135f-dk Patrice Chotard
2026-09-11 15:30 ` Alexandre TORGUE

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