On 4/9/24 17:02, Patrice Chotard wrote: > red led and button dedicated to fastboot share the same gpio GPIOA13. > Led driver is probed early so the corresponding gpio is taken and > configured in output which forbid fastboot and stm32prog button usage. > > To avoid this, remove the "default-state" property from red led node. > > This will avoid to trigger the led driver probe() to configure the led > default state during startup. > > Signed-off-by: Patrice Chotard <patrice.chot...@foss.st.com> > --- > > arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi > b/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi > index 84920f53496..2abd512e297 100644 > --- a/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi > +++ b/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi > @@ -37,7 +37,6 @@ > red { > label = "error"; > gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; > - default-state = "off"; > status = "okay"; > }; > }; Applied on u-boot-stm32/master
- Re: [PATCH v1 17/25] ARM: dts: stm32: Update u-b... Patrice CHOTARD
- [PATCH v1 19/25] ARM: dts: stm32: Don't probe red led at ... Patrice Chotard
- Re: [PATCH v1 19/25] ARM: dts: stm32: Don't probe re... Patrick DELAUNAY
- Re: [PATCH v1 19/25] ARM: dts: stm32: Don't prob... Patrice CHOTARD
- [PATCH v1 18/25] ARM: dts: stm32: Add gpio-keys for stm32... Patrice Chotard
- Re: [PATCH v1 18/25] ARM: dts: stm32: Add gpio-keys ... Patrick DELAUNAY
- Re: [PATCH v1 18/25] ARM: dts: stm32: Add gpio-k... Patrice CHOTARD
- [PATCH v1 23/25] ARM: dts: stm32: Don't probe red led at ... Patrice Chotard
- Re: [PATCH v1 23/25] ARM: dts: stm32: Don't probe re... Patrick DELAUNAY
- Re: [PATCH v1 23/25] ARM: dts: stm32: Don't prob... Patrice CHOTARD
- Re: [PATCH v1 23/25] ARM: dts: stm32: Don't probe re... Patrice CHOTARD
- [PATCH v1 24/25] ARM: dts: stm32: Update red led node for... Patrice Chotard
- Re: [PATCH v1 24/25] ARM: dts: stm32: Update red led... Patrick DELAUNAY
- Re: [PATCH v1 24/25] ARM: dts: stm32: Update red... Patrice CHOTARD
- [PATCH v1 22/25] ARM: dts: stm32: Add gpio-keys for stm32... Patrice Chotard
- Re: [PATCH v1 22/25] ARM: dts: stm32: Add gpio-keys ... Patrick DELAUNAY
- Re: [PATCH v1 22/25] ARM: dts: stm32: Add gpio-k... Patrice CHOTARD
- [PATCH v1 20/25] ARM: dts: stm32: Update red led node for... Patrice Chotard
- Re: [PATCH v1 20/25] ARM: dts: stm32: Update red led... Patrick DELAUNAY
- Re: [PATCH v1 20/25] ARM: dts: stm32: Update red... Patrice CHOTARD
- [PATCH v1 21/25] ARM: dts: stm32: Add led-blue for stm32m... Patrice Chotard