Re: [PATCH] ARM: stm32: Ping IWDG on exit from PSCI suspend code

2024-06-06 Thread Patrice CHOTARD
ard, but too late to be > handled by the suspend main loop. In case either of the IWDG is > enabled, ping it first and then return to the OS. > > Signed-off-by: Marek Vasut > --- > Cc: Igor Opaniuk > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Simon Glass > Cc:

Re: [PATCH 5/5] dts: stm32mp157c-odyssey: add phy-reset-gpios property to ethernet node

2024-06-06 Thread Patrice CHOTARD
0>; > phy-handle = <>; > + phy-reset-gpios = < 0 GPIO_ACTIVE_LOW>; > st,ext-phyclk; > > mdio0 { Reviewed-by: Patrice Chotard Thanks Patrice

Re: [PATCH 4/5] net: dwc_eth_qos: add support for phy-reset-gpios property

2024-06-06 Thread Patrice CHOTARD
2,7 +313,7 @@ static struct eqos_ops eqos_stm32_ops = { > .eqos_probe_resources = eqos_probe_resources_stm32, > .eqos_remove_resources = eqos_remove_resources_stm32, > .eqos_stop_resets = eqos_null_ops, > - .eqos_start_resets = eqos_null_ops, > + .eqos_start_resets = eqos_start_resets_stm32, > .eqos_stop_clks = eqos_stop_clks_stm32, > .eqos_start_clks = eqos_start_clks_stm32, > .eqos_calibrate_pads = eqos_null_ops, Reviewed-by: Patrice Chotard Thanks Patrice

Re: [PATCH 3/5] dts: stm32mp157c-odyssey: fix incorrect PHY address

2024-06-06 Thread Patrice CHOTARD
cells = <1>; > #size-cells = <0>; > compatible = "snps,dwmac-mdio"; > - phy0: ethernet-phy@0 { > - reg = <0>; > + phy0: ethernet-phy@7 { > + reg = <7>; > }; > }; > }; Reviewed-by: Patrice Chotard Thanks Patrice

Re: [PATCH 2/5] dts: stm32mp157c-odyssey: use internal clock for Tx

2024-06-06 Thread Patrice CHOTARD
m32mp157c-odyssey.dts > +++ b/arch/arm/dts/stm32mp157c-odyssey.dts > @@ -75,6 +75,7 @@ > phy-mode = "rgmii-id"; > max-speed = <1000>; > phy-handle = <>; > + st,ext-phyclk; > > mdio0 { > #address-cells = <1>; Reviewed-by: Patrice Chotard Thanks Patrice

Re: [PATCH 1/5] dts: stm32mp157c-odyssey: set PLL4_P to 125Mhz for ETH_CLK

2024-06-06 Thread Patrice CHOTARD
m32mp1-pll"; > reg = <3>; > - cfg = < 3 98 5 7 7 PQR(1,1,1) >; > + cfg = < 3 124 5 9 9 PQR(1,1,1) >; > bootph-all; > }; > }; Reviewed-by: Patrice Chotard Thanks Patrice

Re: [PATCH v2 1/2] ARM: dts: stm32: Add pinmux nodes for DH electronics STM32MP13xx DHCOR SoM and DHSBC board

2024-06-06 Thread Patrice CHOTARD
gt; - PWM13 pins > - PWM5 pins > - QSPI pins > - SAI1 pins > - SDMMC2 D4..D7 pins > - SPI2 pins > - SPI3 pins > - UART4 pins > - UART7 pins > - USART1 pins > - USART2 pins > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay >

Re: [PATCH 126/149] board: st: Remove and add needed includes

2024-05-17 Thread Patrice CHOTARD
On 5/1/24 04:42, Tom Rini wrote: > Remove from this board vendor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini > --- > Cc: Patrick Delaunay > Cc: Patrice Chotard > Cc: Kamil Lulko > Cc: Vikas Manocha > Cc: Dillon

Re: [PATCH] ARM: dts: stm32: Add generic SoM compatible to STM32MP15xx DH electronics DHSOM

2024-05-17 Thread Patrice CHOTARD
5xx-dhcor-som", > + "st,stm32mp1xx"; > }; > diff --git a/arch/arm/dts/stm32mp15xx-dhcor-testbench.dts > b/arch/arm/dts/stm32mp15xx-dhcor-testbench.dts > index c9163e1c028..5fdd762ddbf 100644 > --- a/arch/arm/dts/stm32mp15xx-dhcor-testbench.dts > +++ b/arch/arm/dts/stm32mp15xx-dhcor-testbench.dts > @@ -9,7 +9,9 @@ > > / { > model = "DH electronics STM32MP15xx DHCOR Testbench"; > - compatible = "dh,stm32mp15xx-dhcor-testbench", "st,stm32mp1xx"; > + compatible = "dh,stm32mp15xx-dhcor-testbench", > + "dh,stm32mp15xx-dhcor-som", > + "st,stm32mp1xx"; > > aliases { > ethernet0 = Reviewed-by: Patrice Chotard Thanks

Re: [PATCH 19/19] ARM: dts: stm32: Add support for STM32MP13xx DHCOR SoM and DHSBC board

2024-04-26 Thread Patrice CHOTARD
- 512MB DDR3L memory > - eMMC and SDIO WiFi module > > The DHSBC carrier board contains the following peripherals: > - Two RGMII Ethernet ports > - USB-A Host port, USB-C peripheral port, USB-C power supply plug > - Expansion connector > > Signed-off-by: Marek Vasut > -

Re: [PATCH 18/19] ARM: dts: stm32: Add alternate pinmux for MP13 UART7 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:17, Marek Vasut wrote: > Add another mux option for UART7 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 17/19] ARM: dts: stm32: Add alternate pinmux for MP13 UART4 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:17, Marek Vasut wrote: > Add another mux option for UART4 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 16/19] ARM: dts: stm32: Add alternate pinmux for MP13 USART2 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:17, Marek Vasut wrote: > Add another mux option for USART2 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 15/19] ARM: dts: stm32: Add alternate pinmux for MP13 USART1 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:17, Marek Vasut wrote: > Add another mux option for USART1 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 14/19] ARM: dts: stm32: Add alternate pinmux for MP13 SPI3 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:17, Marek Vasut wrote: > Add another mux option for SPI3 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 13/19] ARM: dts: stm32: Add alternate pinmux for MP13 SPI2 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for SPI2 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 12/19] ARM: dts: stm32: Add alternate pinmux for MP13 SDMMC2 D4..D7 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for SDMMC2 D4..D7 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 11/19] ARM: dts: stm32: Add alternate pinmux for MP13 SAI1 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for SAI1 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 10/19] ARM: dts: stm32: Add alternate pinmux for MP13 QSPI pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for QSPI pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 09/19] ARM: dts: stm32: Add alternate pinmux for MP13 PWM13 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for PWM13 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 08/19] ARM: dts: stm32: Add alternate pinmux for MP13 PWM5 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for PWM5 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 07/19] ARM: dts: stm32: Add alternate pinmux for MP13 MCAN2 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for MCAN2 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 06/19] ARM: dts: stm32: Add alternate pinmux for MP13 MCAN1 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for MCAN1 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 05/19] ARM: dts: stm32: Add alternate pinmux for MP13 I2C5 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for I2C5 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 04/19] ARM: dts: stm32: Add alternate pinmux for MP13 ETH2 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for ETH2 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 03/19] ARM: dts: stm32: Add alternate pinmux for MP13 ETH1 pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for ETH1 pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 02/19] ARM: dts: stm32: Add alternate pinmux for MP13 ADC CC pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for ADC CC pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH 01/19] ARM: dts: stm32: Add alternate pinmux for MP13 ADC pins

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:16, Marek Vasut wrote: > Add another mux option for ADC pins, this is used on > DH electronics STM32MP13xx DHCOR DHSBC board. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com

Re: [PATCH] ARM: dts: stm32: add eth1 and eth2 support on stm32mp13

2024-04-26 Thread Patrice CHOTARD
On 4/22/24 01:09, Marek Vasut wrote: > From: Christophe Roullier > > Add both ethernet MACs based on GMAC SNPS IP on stm32mp13. > > Signed-off-by: Christophe Roullier > --- > Cc: Christophe Roullier > Cc: Joe Hershberger > Cc: Patrice Chotard > Cc: Patri

Re: [PATCH 2/2] ARM: stm32: Make PWR regulator driver available on STM32MP13xx

2024-04-26 Thread Patrice CHOTARD
On 3/19/24 03:45, Marek Vasut wrote: > This patch makes STM32 PWR regulators available on stm32mp13xx. > This requires TFA to clear RCC_SECCFGR, is disabled by default > on stm32mp13xx and can only be enabled on board config level. > > Signed-off-by: Marek Vasut > --- >

Re: [PATCH 1/2] ARM: dts: stm32: add PWR regulators support on stm32mp131

2024-04-26 Thread Patrice CHOTARD
On 3/19/24 03:45, Marek Vasut wrote: > This patch adds STM32 PWR regulators DT support on stm32mp131. > This requires TFA to clear RCC_SECCFGR, is disabled by default > and can only be enabled on board DT level. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice C

Re: [PATCH 1/2] ARM: dts: stm32: add PWR regulators support on stm32mp131

2024-04-24 Thread Patrice CHOTARD
On 4/21/24 22:27, Marek Vasut wrote: > On 3/19/24 3:45 AM, Marek Vasut wrote: >> This patch adds STM32 PWR regulators DT support on stm32mp131. >> This requires TFA to clear RCC_SECCFGR, is disabled by default >> and can only be enabled on board DT level. >> >> Signed-off-by: Marek Vasut > >

[PATCH v2] stm32mp: Reserve OPTEE area in EFI memory map

2024-04-22 Thread Patrice Chotard
ldn't be used by EFI, so we need to mark it as reserved. Signed-off-by: Patrice Chotard --- Changes in v2: _ update commit message by adding information about memory area dedicated for OPTEE for various STM32MP1/STM32MP13 boards. arch/arm/mach-stm32mp/dram_init.c | 12 1 file changed, 12 i

Re: [Uboot-stm32] [PATCH] stm32mp: Reserve OPTEE area in EFI memory map

2024-04-22 Thread Patrice CHOTARD
On 4/19/24 09:44, Patrice CHOTARD wrote: > > > On 4/17/24 09:45, Heinrich Schuchardt wrote: >> On 17.04.24 09:25, Patrick DELAUNAY wrote: >>> Hi, >>> >>> On 3/8/24 11:12, Patrice Chotard wrote: >>>> Since commit 7b78d6438a2b3 ("e

Re: [PATCH 3/3] ARM: dts: stm32: Fix partition node name for stm32mp15xx-dhcom-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:00, Patrick DELAUNAY wrote: > Hi, > > On 3/8/24 14:50, Patrice Chotard wrote: >> Fix flash@0 partition node name with correct offset. >> >> Fixes: 90f992e6a58c ("arm: dts: stm32: Add partitions in flash0 and nand >> node for stm32mp15xx-dhco

Re: [PATCH 1/3] ARM: dts: stm32: Fix partition node name for stm32mp157c-ev1-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 10:59, Patrick DELAUNAY wrote: > Hi, > > On 3/8/24 14:50, Patrice Chotard wrote: >> Fix flash@0 and nand@0 partition node name with correct offset. >> >> Fixes: e91d3c61767b ("arm: dts: stm32: Add partitions in flash0 and nand >> node

Re: [PATCH 2/3] ARM: dts: stm32: Fix partition node name for stm32mp15xx-dhcor-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:00, Patrick DELAUNAY wrote: > Hi > > On 3/8/24 14:50, Patrice Chotard wrote: >> Fix flash@0 partition node name with correct offset. >> >> Fixes: 90f992e6a58c ("arm: dts: stm32: Add partitions in flash0 and nand >> node for >>

Re: [PATCH 1/2] mmc: stm32_sdmmc2: Add "st,stm32mp25-sdmmc2" compatible

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 13:10, Jaehoon Chung wrote: > Hi > >> -Original Message- >> From: Patrick DELAUNAY >> Sent: Wednesday, April 17, 2024 6:02 PM >> To: Patrice Chotard ; u-boot@lists.denx.de >> Cc: U-Boot STM32 ; Jaehoon Chung >> ; >> Peng Fan

Re: [PATCH 2/2] mmc: stm32_sdmmc2: Fix AARCH64 compilation warnings

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 13:11, Jaehoon Chung wrote: > > >> -Original Message- >> From: Patrick DELAUNAY >> Sent: Wednesday, April 17, 2024 6:02 PM >> To: Patrice Chotard ; u-boot@lists.denx.de >> Cc: U-Boot STM32 ; Jaehoon Chung >> ; >> Peng Fan

Re: [PATCH v1 25/25] ARM: dts: stm32: Add led-blue for stm32mp157c-ed1-scmi-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:28, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> The blue led is used to indicate U-Boot entering / exit indication >> then Linux heartbeat. >> >> Signed-off-by: Patrice Chotard >> --- >> >>

Re: [PATCH v1 24/25] ARM: dts: stm32: Update red led node for stm32mp157c-ed1-scmi-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:13, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> As indicated in kernel led dt-bindings, label is a deprecated >> property, so remove it and use led node's name instead for >> u-boot,error-led property. >> Rena

Re: [PATCH v1 23/25] ARM: dts: stm32: Don't probe red led at boot for stm32mp157c-ed1-scmi-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:13, Patrick DELAUNAY wrote: > Hi, > > 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 fo

Re: [PATCH v1 23/25] ARM: dts: stm32: Don't probe red led at boot for stm32mp157c-ed1-scmi-u-boot

2024-04-19 Thread Patrice CHOTARD
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, remo

Re: [PATCH v1 22/25] ARM: dts: stm32: Add gpio-keys for stm32mp157c-ed1-scmi-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:12, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> Add 2 gpio-keys : >>    _ button-user-1 for stm32prog mode activation. >>    _ button-user-2 for fastboot mode activation. >> >> Remove proprietary s

Re: [PATCH v1 21/25] ARM: dts: stm32: Add led-blue for stm32mp157c-ed1-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:11, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> The blue led is used to indicate U-Boot entering / exit indication >> then Linux heartbeat. >> >> Signed-off-by: Patrice Chotard >> --- >> >

Re: [PATCH v1 20/25] ARM: dts: stm32: Update red led node for stm32mp157c-ed1-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:11, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> As indicated in kernel led dt-bindings, label is a deprecated >> property, so remove it and use led node's name instead for >> u-boot,error-led property. >> Rena

Re: [PATCH v1 19/25] ARM: dts: stm32: Don't probe red led at boot for stm32mp157c-ed1-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:11, Patrick DELAUNAY wrote: > Hi, > > 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 fo

Re: [PATCH v1 18/25] ARM: dts: stm32: Add gpio-keys for stm32mp157c-ed1-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:11, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> Add 2 gpio-keys : >>    _ button-user-1 for stm32prog mode activation. >>    _ button-user-2 for fastboot mode activation. >> >> Remove proprietary s

Re: [PATCH v1 17/25] ARM: dts: stm32: Update u-boot,boot-led for stm32mp157a-dk1-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:10, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> As indicated in kernel led dt-bindings, label is a deprecated >> property, so remove it and use blue led node's name instead >> for u-boot,boot-led property. >>

Re: [PATCH v1 16/25] ARM: dts: stm32: Update red led node for stm32mp157a-dk1-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:10, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> As indicated in kernel led dt-bindings, label is a deprecated >> property, so remove it and use red led node's name instead >> for u-boot,error-led property. >> Rena

Re: [PATCH v1 15/25] ARM: dts: stm32: Don't probe red led at boot for stm32mp157a-dk1-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:09, Patrick DELAUNAY wrote: > Hi, > > 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 fo

Re: [PATCH v1 14/25] ARM: dts: stm32: Add gpio-keys for stm32mp157a-dk1-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:09, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> Instead of using "st,fastboot-gpios" and "st,stm32prog-gpios", declare >> 2 gpio-keys. >> >> Signed-off-by: Patrice Chotard >>

Re: [PATCH v1 13/25] ARM: dts: stm32: Add led-blue for stm32mp157a-dk1-scmi-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:09, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> As indicated in kernel led dt-bindings, label is a deprecated >> property, so remove it and use blue led node's name instead >> for u-boot,boot-led property. >>

Re: [PATCH v1 12/25] ARM: dts: stm32: Update red led node for stm32mp157a-dk1-scmi-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:08, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> As indicated in kernel led dt-bindings, label is a deprecated >> property, so remove it and use red led node's name instead >> for u-boot,error-led property. >> Ren

Re: [PATCH v1 11/25] ARM: dts: stm32: Don't probe red led at boot for stm32mp157a-dk1-scmi-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:07, Patrick DELAUNAY wrote: > Hi, > > 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 fo

Re: [PATCH v1 10/25] ARM: dts: stm32: Add gpio-keys for stm32mp157a-dk1-scmi-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:07, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:02, Patrice Chotard wrote: >> Instead of using "st,fastboot-gpios" and "st,stm32prog-gpios", declare >> 2 gpio-keys. >> >> Signed-off-by: Patrice Chotard >> ---

Re: [PATCH v1 09/25] ARM: dts: stm32: Clean led-red node for stm32mp135f-dk-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:07, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:01, Patrice Chotard wrote: >> Remove "color" property from led-red node which is not supported >> by U-Boot. >> >> Signed-off-by: Patrice Chotard >> --- >> >>   arch

Re: [PATCH v1 08/25] ARM: dts: stm32: Don't probe led-red/led-blue at boot for stm32mp135f-dk-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:06, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:01, Patrice Chotard wrote: >> led-red and button dedicated to fastboot share the same gpio GPIOA13. >> led-blue and button dedicated to stm32prog share the same gpio GPIOA14. >> Led driver is probed

Re: [PATCH v1 06/25] board: st: stmp32mp1: Use BUTTON UCLASS in board_key_check()

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:05, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:01, Patrice Chotard wrote: >> Instead of using gpio directly to detect key pressed on button >> dedicated for fastboot and stm32mprog, make usage of BUTTON UCLASS. >> >> Signed-off-by: Patrice

Re: [PATCH v1 07/25] ARM: dts: stm32: Add gpio-keys for stm32mp135f-dk-u-boot

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:06, Patrick DELAUNAY wrote: > Hi > > On 4/9/24 17:01, Patrice Chotard wrote: >> Add 2 gpio-keys : >>    _ button-user-1 for stm32prog mode activation. >>    _ update button-user's label (defined in kernel DT) to match label >> requested in bo

Re: [PATCH v1 05/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp13_defconfig

2024-04-19 Thread Patrice CHOTARD
On 4/18/24 13:48, Igor Opaniuk wrote: > On Tue, Apr 9, 2024 at 5:05 PM Patrice Chotard > wrote: >> >> Enable BUTTON_GPIO flag for STM32MP15. >> >> Signed-off-by: Patrice Chotard >> --- >> >> configs/stm32mp13_defconfig | 2 ++ >> 1 fi

Re: [PATCH v1 03/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_basic_defconfig

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:04, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:01, Patrice Chotard wrote: >> Enable BUTTON_GPIO flag for STM32MP15. >> >> Signed-off-by: Patrice Chotard >> --- >> >>   configs/stm32mp15_basic_defconfig | 2 ++ >>   1 file

Re: [PATCH v1 04/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_trusted_defconfig

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:04, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:01, Patrice Chotard wrote: >> Enable BUTTON_GPIO flag for STM32MP15. >> >> Signed-off-by: Patrice Chotard >> --- >> >>   configs/stm32mp15_trusted_defconfig | 2 ++ >>   1 file

Re: [PATCH v1 02/25] configs: stm32mp1: Enable BUTTON_GPIO flag for stm32mp15_defconfig

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 11:03, Patrick DELAUNAY wrote: > Hi, > > On 4/9/24 17:01, Patrice Chotard wrote: >> Enable BUTTON_GPIO flag for STM32MP15. >> >> Signed-off-by: Patrice Chotard >> --- >> >>   configs/stm32mp15_defconfig | 2 ++ >>   1 file

Re: [PATCH v1 01/25] configs: stm32mp13: Enable FASTBOOT

2024-04-19 Thread Patrice CHOTARD
On 4/18/24 13:48, Igor Opaniuk wrote: > On Tue, Apr 9, 2024 at 5:19 PM Patrice Chotard > wrote: >> >> Enable FASTBOOT relative flags for stm32mp13_defconfig. >> >> Signed-off-by: Patrice Chotard >> >> --- >> >> configs/stm32mp13_defconfi

Re: [PATCH] stm32mp: cmd_stm32prog: add dependencies with USB_GADGET_DOWNLOAD

2024-04-19 Thread Patrice CHOTARD
On 2/7/24 16:59, Igor Opaniuk wrote: > On Wed, Feb 7, 2024 at 2:12 PM Patrick Delaunay > wrote: >> >> This patch avoids compilation issue when CONFIG_USB_GADGET is deactivated >> in defconfig, with undefined reference to run_usb_dnl_gadget and to >> g_dnl_set_product. >> >> Signed-off-by:

Re: [PATCH] arm: stm32: Enable OHCI HCD support on STM32MP15xx DHSOM

2024-04-19 Thread Patrice CHOTARD
On 3/4/24 19:25, Marek Vasut wrote: > The OHCI HCD is mandatory for USB 1.1 FS/LS device support, enable it. > This used to be enabled implicitly before, now that implicit dependency > disappeared and this got disabled. Enable it manually. > > Signed-off-by: Marek Vasut >

Re: [PATCH] mtd: rawnand: stm32_fmc2: add MP25 support

2024-04-19 Thread Patrice CHOTARD
On 3/6/24 10:54, Christophe Kerello wrote: > FMC2 IP supports up to 4 chip select. On MP1 SoC, only 2 of them are > available when on MP25 SoC, the 4 chip select are available. > > Let's use a platform data structure for parameters that will differ. > > Signed-off-by: Christophe Kerello >

Re: [PATCH v1 2/2] memory: stm32-fmc2-ebi: add MP25 RIF support

2024-04-19 Thread Patrice CHOTARD
On 3/6/24 10:50, Christophe Kerello wrote: > The FMC2 revision 2 supports security and isolation compliant with > the Resource Isolation Framework (RIF). From RIF point of view, > the FMC2 is composed of several independent resources, listed below, > which can be assigned to different security

Re: [PATCH v1 1/2] memory: stm32-fmc2-ebi: add MP25 support

2024-04-19 Thread Patrice CHOTARD
On 3/6/24 10:50, Christophe Kerello wrote: > Add the support of the revision 2 of FMC2 IP. > - PCSCNTR register has been removed, > - CFGR register has been added, > - the bit used to enable the IP has moved from BCR1 to CFGR, > - the timeout for CEx deassertion has moved

Re: [PATCH v2] ARM: stm32: Jump to ep on successful resume in PSCI suspend code

2024-04-19 Thread Patrice CHOTARD
gt; /sys/power/suspend_stats/fail > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: u-b...@dh-electronics.com > Cc: u-boot@lists.denx.de > Cc: uboot-st...@st-md-mailman.stormreply.com > --- > V2: Rebase on u-boot/master > ---

Re: [PATCH] ARM: stm32: Drop superfluous Makefile entry for ecdsa_romapi.o

2024-04-19 Thread Patrice CHOTARD
rch/arm/mach-stm32mp/Makefile . > > Signed-off-by: Marek Vasut > --- > Cc: Igor Opaniuk > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Simon Glass Cc: Simon Glass > Cc: Tom Rini > Cc: u-b...@dh-electronics.com > Cc: uboot-st...@st-md-mailman.stormreply.com > -

Re: [PATCH] ARM: stm32: Report OTP-CLOSED instead of rev.? on closed STM32MP15xx

2024-04-19 Thread Patrice CHOTARD
> Signed-off-by: Marek Vasut > --- > Cc: Igor Opaniuk > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Simon Glass Cc: Simon Glass > Cc: Tom Rini > Cc: u-b...@dh-electronics.com > Cc: uboot-st...@st-md-mailman.stormreply.com > --- > arch/arm/mach-s

Re: [PATCH v2 11/11] net: dwc_eth_qos: Add support for st, ext-phyclk property

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 17:52, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:08 PM >> To:u-boot@lists.denx.de >> Cc: Marek Vasut; Christophe >> ROULLIER; Joe >> Hershberger; Patrice CHOTARD - &

Re: [PATCH v2 09/11] net: dwc_eth_qos: Add DT parsing for STM32MP13xx platform

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 17:50, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:08 PM >> To:u-boot@lists.denx.de >> Cc: Christophe ROULLIER; Marek >> Vasut; Joe Hershberger; Patrice >> CHOTARD

Re: [PATCH v2 08/11] net: dwc_eth_qos: Constify st,eth-* values parsed out of DT

2024-04-19 Thread Patrice CHOTARD
On 3/26/24 13:07, Marek Vasut wrote: > Use const bool for the values parsed out of DT. Drop the duplicate > assignment of false into those bool variables, assign them directly > with the content parsed out of DT. Abbreviate the variable name too. > > Reviewed-by: Patrice Chotar

Re: [PATCH v2 10/11] net: dwc_eth_qos: Add support of STM32MP13xx platform

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 17:51, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:08 PM >> To:u-boot@lists.denx.de >> Cc: Christophe ROULLIER; Patrice CHOTARD - >> foss; Marek Vasut; Joe >> Hersh

Re: [PATCH v2 07/11] net: dwc_eth_qos: Use consistent logging prints

2024-04-19 Thread Patrice CHOTARD
On 3/26/24 13:07, Marek Vasut wrote: > Use dev_*() only to print all the logs from this glue code, > instead of mixing dev_*(), log_*(), pr_*() all in one code. > > Reviewed-by: Patrice Chotard > Signed-off-by: Marek Vasut > --- > Cc: Christophe Roullier > Cc: Joe He

Re: [PATCH v2 06/11] net: dwc_eth_qos: Move log_debug statements on top of case block

2024-04-19 Thread Patrice CHOTARD
On 3/26/24 13:07, Marek Vasut wrote: > Move the log_debug() calls on top of the bit manipulation code. > No functional change. > > Reviewed-by: Patrice Chotard > Signed-off-by: Marek Vasut > --- > Cc: Christophe Roullier > Cc: Joe Hershberger > Cc: Patrice Chot

Re: [PATCH v2 05/11] net: dwc_eth_qos: Use FIELD_PREP for ETH_SEL bitfield

2024-04-19 Thread Patrice CHOTARD
On 3/26/24 13:07, Marek Vasut wrote: > Use FIELD_PREP to configure content of ETH_SEL bitfield in SYSCFG_PMCSETR > register. No functional change. > > Reviewed-by: Patrice Chotard > Signed-off-by: Marek Vasut > --- > Cc: Christophe Roullier > Cc: Joe Hershberger >

Re: [PATCH v2 04/11] net: dwc_eth_qos: Scrub ifdeffery

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 09:27, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:07 PM >> To: u-boot@lists.denx.de >> Cc: Marek Vasut ; Patrice CHOTARD - foss >> ; Christophe ROULLIER >> ; Joe Hershbe

Re: [PATCH v2 03/11] net: dwc_eth_qos: Fold board_interface_eth_init into STM32 glue code

2024-04-19 Thread Patrice CHOTARD
ard specific happening in this function, move it into generic > driver code instead. Drop the now unused duplicates from board files. > > Reviewed-by: Patrice Chotard > Signed-off-by: Marek Vasut > --- > Cc: Christophe Roullier > Cc: Joe Hershberger > Cc: Patrice Chotard

Re: [PATCH v2 02/11] net: dwc_eth_qos: Rename eqos_stm32_config to eqos_stm32mp15_config

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 09:26, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:07 PM >> To:u-boot@lists.denx.de >> Cc: Marek Vasut; Patrice CHOTARD - >> foss; Christophe >> ROULLIER; Joe >>

Re: [PATCH v2 01/11] net: dwc_eth_qos: Split STM32 glue into separate file

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 09:24, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:07 PM >> To:u-boot@lists.denx.de >> Cc: Marek Vasut; Patrice CHOTARD - >> foss; Christophe >> ROULLIER; Joe >>

Re: [Uboot-stm32] [PATCH v3] ARM: stm32: Initialize TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-04-19 Thread Patrice CHOTARD
On 4/19/24 11:36, Patrice CHOTARD wrote: > > > On 4/19/24 05:59, Marek Vasut wrote: >> In case of an OTP-CLOSED STM32MP15xx system, the CPU core 1 cannot be >> released from endless loop in BootROM only by populating TAMP BKPxR 4 >> and 5 with magic and bran

Re: [PATCH v2 01/11] net: dwc_eth_qos: Split STM32 glue into separate file

2024-04-19 Thread Patrice CHOTARD
On 4/8/24 09:24, Christophe ROULLIER wrote: >> -Original Message- >> From: Marek Vasut >> Sent: Tuesday, March 26, 2024 1:07 PM >> To:u-boot@lists.denx.de >> Cc: Marek Vasut; Patrice CHOTARD - >> foss; Christophe >> ROULLIER; Joe >>

[PULL] Pull request for u-boot master / v2024.07 = u-boot-stm32-20240419

2024-04-19 Thread Patrice CHOTARD
.? on closed STM32MP15xx ARM: stm32: Initialize TAMP_SMCR BKP..PROT fields on STM32MP15xx Patrice Chotard (29): ARM: dts: stm32: Fix partition node name for stm32mp157c-ev1-u-boot ARM: dts: stm32: Fix partition node name for stm32mp15xx-dhcor-u-boot ARM: dts: stm32: Fix partition

Re: [PATCH v3] ARM: stm32: Initialize TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-04-19 Thread Patrice CHOTARD
with fuse 0 bit 6 set. > > Reviewed-by: Patrick Delaunay > Signed-off-by: Marek Vasut > --- > Cc: Igor Opaniuk > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Simon Glass Cc: Simon Glass > Cc: Tom Rini > Cc: u-b...@dh-electronics.com > Cc: uboot-st...

Re: [PATCH] stm32mp: Reserve OPTEE area in EFI memory map

2024-04-19 Thread Patrice CHOTARD
On 4/17/24 09:45, Heinrich Schuchardt wrote: > On 17.04.24 09:25, Patrick DELAUNAY wrote: >> Hi, >> >> On 3/8/24 11:12, Patrice Chotard wrote: >>> Since commit 7b78d6438a2b3 ("efi_loader: Reserve unaccessible memory") >>> memory

Re: [PATCH v2 00/11] net: dwc_eth_qos: Clean up STM32 glue code and add STM32MP13xx support

2024-04-18 Thread Patrice CHOTARD
On 4/17/24 18:47, Marek Vasut wrote: > On 3/26/24 1:07 PM, Marek Vasut wrote: >> Split off STM32 glue code from the DWMAC driver into separate >> file, similar to what other SoCs already do, to avoid mixing >> the ST specifics with generic DWMAC core code. >> >> Clean the STM32 DWMAC board code

Re: [PATCH] ARM: stm32: Initialize TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-04-15 Thread Patrice CHOTARD
em with fuse 0 bit 6 set. > > Signed-off-by: Marek Vasut > --- > Cc: Igor Opaniuk > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Simon Glass Cc: Simon Glass > Cc: Tom Rini > Cc: u-b...@dh-electronics.com > Cc: uboot-st...@st-md-mailman.stormreply.com > ---

Re: [PATCH] ARM: stm32: Report OTP-CLOSED instead of rev.? on closed STM32MP15xx

2024-04-15 Thread Patrice CHOTARD
> Signed-off-by: Marek Vasut > --- > Cc: Igor Opaniuk > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Simon Glass Cc: Simon Glass > Cc: Tom Rini > Cc: u-b...@dh-electronics.com > Cc: uboot-st...@st-md-mailman.stormreply.com > --- > arch/arm/mach-s

Re: [PATCH] ARM: stm32: Drop superfluous Makefile entry for ecdsa_romapi.o

2024-04-15 Thread Patrice CHOTARD
mach-stm32mp/Makefile . > > Signed-off-by: Marek Vasut > --- > Cc: Igor Opaniuk > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Simon Glass Cc: Simon Glass > Cc: Tom Rini > Cc: u-b...@dh-electronics.com > Cc: uboot-st...@st-md-mailman.stormreply.com > -

Re: [PATCH v2 2/2] lmb: Fix adjacent region merge in lmb_add_region_flags()

2024-04-15 Thread Patrice CHOTARD
On 4/14/24 13:10, Kumar, Udit wrote: > Hello Patrice, > > On 4/13/2024 1:54 PM, Patrice CHOTARD wrote: >> >> On 4/12/24 17:53, Patrice Chotard wrote: >>> In case a new region is adjacent to a previous region with >>> similar flag, this region is merged

Re: [PATCH v2 2/2] lmb: Fix adjacent region merge in lmb_add_region_flags()

2024-04-13 Thread Patrice CHOTARD
On 4/12/24 17:53, Patrice Chotard wrote: > In case a new region is adjacent to a previous region with > similar flag, this region is merged with its predecessor, but no > check are done if this new added region is overlapping another region > present in lmb (see reserved[3] wh

[PATCH v2 2/2] lmb: Fix adjacent region merge in lmb_add_region_flags()

2024-04-12 Thread Patrice Chotard
e lmb from linux kernel for memory mgmt of boot images") Signed-off-by: Patrice Chotard --- Changes in v2: _ Fix lmb_add_region_flags() by updating test which leads to extend an existing region lib/lmb.c | 57 +-- 1 file changed, 30

[PATCH v2 1/2] lmb: Avoid to add identical region in lmb_add_region_flags()

2024-04-12 Thread Patrice Chotard
bytes flags: 4 ... Fixes: 59c0ea5df33f ("lmb: Add support of flags for no-map properties") Signed-off-by: Patrice Chotard --- (no changes since v1) lib/lmb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lmb.c b/lib/lmb.c index 44f98205310..b6afb731

Re: [PATCH 1/2] lmb: Avoid to add identical region in lmb_add_region_flags()

2024-04-10 Thread Patrice CHOTARD
On 4/10/24 17:28, Tom Rini wrote: > On Mon, Mar 11, 2024 at 03:39:17PM +0100, Patrice Chotard wrote: > >> In case lmb_add_region_flags() is called with the same parameter than >> an already existing lmb and this lmb is adjacent to its previous lmb with >> different

[PATCH v1 25/25] ARM: dts: stm32: Add led-blue for stm32mp157c-ed1-scmi-u-boot

2024-04-09 Thread Patrice Chotard
The blue led is used to indicate U-Boot entering / exit indication then Linux heartbeat. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi b

[PATCH v1 21/25] ARM: dts: stm32: Add led-blue for stm32mp157c-ed1-u-boot

2024-04-09 Thread Patrice Chotard
The blue led is used to indicate U-Boot entering / exit indication then Linux heartbeat. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts

  1   2   3   4   5   6   7   8   9   10   >