Re: ums command broken since commit c5d685b8993c ("usb: dwc2: Unify flush and reset logic with v4.20a support")

2025-07-23 Thread Patrick DELAUNAY
Hi, On 6/9/25 15:41, Patrice CHOTARD wrote: +U-Boot mailing list i forgot to set. On 6/9/25 14:40, Patrice CHOTARD wrote: Hi all Since commit c5d685b8993c ("usb: dwc2: Unify flush and reset logic with v4.20a support") on next branch "ums" command is broken, we got the following issue on STM3

[PATCH] usb: dwc2: fix reset logic in dwc2_core_reset

2025-07-23 Thread Patrick Delaunay
eset logic with v4.20a support") Signed-off-by: Patrick Delaunay --- drivers/usb/common/dwc2_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/common/dwc2_core.c b/drivers/usb/common/dwc2_core.c index 63062d5cc943..37007134e5b3 100644 --- a/drivers/usb/comm

Re: [PATCH v3 0/3] Restore support of short name for type UUID parameter

2025-06-16 Thread Patrick DELAUNAY
Hi, On 6/12/25 19:58, Tom Rini wrote: On Mon, Jun 02, 2025 at 03:59:31PM +0200, Patrick Delaunay wrote: V3 version solve issue for "ESP" support when CONFIG_CMD_EFIDEBUG and CONFIG_EFI is not activated for example for test with qemu-arm-sbsa defconfig Fix and add documentation

[PATCH v4 3/3] test/py: tests: gpt: add test_gpt_write_part_type

2025-06-16 Thread Patrick Delaunay
Add sandbox test on gpt command with partition type for known type. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) test/py/tests/test_gpt.py | 27 +++ 1 file changed, 27 insertions(+) diff --git a/test/py/tests/test_gpt.py b

[PATCH v4 1/3] lib/uuid.c: restore support of system partition type for ESP

2025-06-16 Thread Patrick Delaunay
is used as fallback. Many partition types for EFI have no shortcut yet, but only description as they are only used to display information. This patch also restores the "system" as short name for EFI System Partition (ESP). Fixes: d54e1004b8b1 ("lib/uuid.c: use unique name for PARTITION

[PATCH v4 0/3] Restore support of short name for type UUID parameter

2025-06-16 Thread Patrick Delaunay
27; in struct for list_guid[] - clarify the usage of struct field 'type' and 'description' in comment and in commit message - use 'type' for EFI_XXX description as these string have no space and size is lower than 36 characters. Patrick Delaunay (3): lib/uuid.c: resto

[PATCH v4 2/3] doc: cmd: gpt: add information on type partition

2025-06-16 Thread Patrick Delaunay
Add information on type partition, copied from README.gpt. I also correct issue for gpt_parts variable and add example of "gpt read" usage. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) doc/usage/cmd/gp

Re: [PATCH v1 3/7] drivers: use lowercase hex prefix style

2025-06-16 Thread Patrick DELAUNAY
clock driver, Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 04/13] clk: add CONFIG_CLK_AUTO_ID

2025-06-03 Thread Patrick DELAUNAY
Hi, On 5/27/25 15:27, Patrice Chotard wrote: From: Patrick Delaunay Add a new config CONFIG_CLK_AUTO_ID to support a unique clk id for all the clock providers, managed by clk uclass, when the clock reference arg[0] is the same. When the CONFIG is activated, the clock id is limited to the

Re: [PATCH v2 13/13] configs: stm32mp25: increase SYS_MALLOC_F_LEN to 0x60000

2025-06-03 Thread Patrick DELAUNAY
=0x60 CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x9000 CONFIG_ENV_OFFSET=0x90 CONFIG_ENV_SECT_SIZE=0x4 Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 11/13] reset: stm32mp25: add stm32mp25 reset driver

2025-06-03 Thread Patrick DELAUNAY
/reset/stm32/stm32-reset-mp1.c create mode 100644 drivers/reset/stm32/stm32-reset-mp25.c create mode 100644 drivers/reset/stm32/stm32-reset.c Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 12/13] ARM: dts: stm32: switch from fixed to scmi clocks for stm32mp257f-ev1

2025-06-03 Thread Patrick DELAUNAY
2 files changed, 8 insertions(+), 74 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 10/13] clk: stm32: fix clock counter

2025-06-03 Thread Patrick DELAUNAY
ons(-) this patch is working with clk_get_by_id() and many clock provider (SCMI, PHY, clock fixed, ) so the CONFIG_CLK_AUTO_ID is mandatory Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 09/13] phy: stm32-usbphyc: manage properly the clk identifier with CCF

2025-06-03 Thread Patrick DELAUNAY
Hi, On 5/27/25 15:27, Patrice Chotard wrote: From: Patrick Delaunay Add private uclass data for "stm32-usbphyc-clk" as it is not done by the driver model. This clk struct is needed by CCF to save the unique id used to identify each clock. Signed-off-by: Patrick Delaunay Sig

Re: [PATCH v2 08/13] clk: scmi: manage properly the clk identifier with CCF

2025-06-03 Thread Patrick DELAUNAY
Hi, On 5/27/25 15:27, Patrice Chotard wrote: From: Patrick Delaunay Each clock identifier needs to be unique when CCF is activated, and it is not respected today by SCMI clock driver. This patch supports a unique clk id by using the uclass API clk_get_id() / dev_clk_dm() and by activating by

Re: [PATCH v2 07/13] clk: fixed_rate: configure clock ID with CONFIG_CLK_AUTO_ID

2025-06-03 Thread Patrick DELAUNAY
Hi, On 5/27/25 15:27, Patrice Chotard wrote: From: Patrick Delaunay Update CLK ID to avoid 0 id, used for dummy clock with CCF and to allow selection by clk_get_by_id, used to get private data associated to the UCLASS_CLK device Signed-off-by: Patrick Delaunay Signed-off-by: Patrice Chotard

Re: [PATCH v2 06/13] sandbox: test: update for CONFIG_CLK_AUTO_ID support

2025-06-03 Thread Patrick DELAUNAY
Hi, On 5/27/25 15:27, Patrice Chotard wrote: From: Patrick Delaunay Update the existing test dm_test_clk_ccf() with new CLK_ID macro. Signed-off-by: Patrick Delaunay Signed-off-by: Patrice Chotard Cc: Lukasz Majewski Cc: Sean Anderson --- (no changes since v1) test/dm/clk_ccf.c | 30

Re: [PATCH v2 05/13] clk: sandbox: update driver for CONFIG_CLK_AUTO_ID support

2025-06-03 Thread Patrick DELAUNAY
Hi, On 5/27/25 15:27, Patrice Chotard wrote: From: Patrick Delaunay Update the sandbox driver to allow support of the CONFIG_CLK_AUTO_ID by using the new API clk_get_id() to get the internal SANDBOX identifier. With CONFIG_CLK_AUTO_ID, clk->id have the also seq identifier. Signed-off

Re: [PATCH v2 03/13] clk: stm32mp25: implement clock check security function

2025-06-03 Thread Patrick DELAUNAY
| 2 +- drivers/clk/stm32/clk-stm32-core.h | 2 +- drivers/clk/stm32/clk-stm32mp13.c | 2 +- drivers/clk/stm32/clk-stm32mp25.c | 449 ++--- 4 files changed, 286 insertions(+), 169 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 02/13] clk: stm32mp25: Add clock driver support

2025-06-03 Thread Patrick DELAUNAY
files changed, 1387 insertions(+) create mode 100644 drivers/clk/stm32/clk-stm32mp25.c create mode 100644 include/stm32mp25_rcc.h Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 01/13] clk: scmi: add compatibility with clock protocol 2.0

2025-06-03 Thread Patrick DELAUNAY
ge if SCMI correctly handle answer size for backward compatibility /** * struct scmi_clk_state_in - Message payload for CLOCK_CONFIG_SET command * @clock_id: SCMI clock ID Even with previous remarks, the patch is functional today as short term solution for clk message v2 Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 09/10] ARM: dts: stm32: Add SPL specifics for DH STM32MP13xx DHCOR DHSBC

2025-06-03 Thread Patrick DELAUNAY
Cc: Pascal Zimmermann Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Simon Glass Cc: Sughosh Ganu Cc: Tom Rini Cc: u-b...@dh-electronics.com Cc: u-boot@lists.denx.de Cc: uboot-st...@st-md-mailman.stormreply.com --- arch/arm/dts/stm32mp13xx-dhcor-u-boot.dtsi | 155 - 1

Re: [PATCH 06/10] ARM: dts: stm32: Add stm32mp13-ddr.dtsi template

2025-06-03 Thread Patrick DELAUNAY
Traore Cc: Fabrice Gasnier Cc: Gatien Chevallier Cc: Lionel Debieve Cc: Pascal Zimmermann Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Simon Glass Cc: Sughosh Ganu Cc: Tom Rini Cc: u-b...@dh-electronics.com Cc: u-boot@lists.denx.de Cc: uboot-st...@st-md-mailman.stormreply.com --- arch/arm/dts

Re: [PATCH 05/10] ARM: stm32: Add STM32MP13xx debug UART initialization

2025-06-03 Thread Patrick DELAUNAY
: Fabrice Gasnier Cc: Gatien Chevallier Cc: Lionel Debieve Cc: Pascal Zimmermann Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Simon Glass Cc: Sughosh Ganu Cc: Tom Rini Cc: u-b...@dh-electronics.com Cc: u-boot@lists.denx.de Cc: uboot-st...@st-md-mailman.stormreply.com --- board/st/stm32mp1

Re: [PATCH 04/10] ARM: stm32: Add STM32MP13xx PMIC initialization for DDR3 DRAM type

2025-06-03 Thread Patrick DELAUNAY
: Gatien Chevallier Cc: Lionel Debieve Cc: Pascal Zimmermann Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Simon Glass Cc: Sughosh Ganu Cc: Tom Rini Cc: u-b...@dh-electronics.com Cc: u-boot@lists.denx.de Cc: uboot-st...@st-md-mailman.stormreply.com --- board/st/common/stpmic1.c | 51

Re: [PATCH 03/10] ARM: stm32: Limit early cache enablement in SPL to STM32MP15xx

2025-06-03 Thread Patrick DELAUNAY
. Signed-off-by: Marek Vasut --- Cc: Cheick Traore Cc: Fabrice Gasnier Cc: Gatien Chevallier Cc: Lionel Debieve Cc: Pascal Zimmermann Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Simon Glass Cc: Sughosh Ganu Cc: Tom Rini Cc: u-b...@dh-electronics.com Cc: u-boot@lists.denx.de Cc: uboot-st

Re: [PATCH 01/10] ARM: stm32: Add STM32MP13xx SPL Kconfig options

2025-06-03 Thread Patrick DELAUNAY
Chevallier Cc: Lionel Debieve Cc: Pascal Zimmermann Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Simon Glass Cc: Sughosh Ganu Cc: Tom Rini Cc: u-b...@dh-electronics.com Cc: u-boot@lists.denx.de Cc: uboot-st...@st-md-mailman.stormreply.com --- arch/arm/mach-stm32mp/Kconfig | 7 +-- arch

[PATCH v3 1/3] lib/uuid.c: restore support of system partition type for ESP

2025-06-02 Thread Patrick Delaunay
is used as fallback. Many partition types for EFI have no shortcut yet, but only description as they are only used to display information. This patch also restores the "system" as short name for EFI System Partition (ESP). Fixes: d54e1004b8b1 ("lib/uuid.c: use unique name for PARTITION

[PATCH v3 0/3] Restore support of short name for type UUID parameter

2025-06-02 Thread Patrick Delaunay
v2: - change 'string' to 'type' in struct for list_guid[] - clarify the usage of struct field 'type' and 'description' in comment and in commit message - use 'type' for EFI_XXX description as these string have no space and size is lower than 3

[PATCH v3 3/3] test/py: tests: gpt: add test_gpt_write_part_type

2025-06-02 Thread Patrick Delaunay
Add sandbox test on gpt command with partition type for known type. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) test/py/tests/test_gpt.py | 27 +++ 1 file changed, 27 insertions(+) diff --git a/test/py/tests/test_gpt.py b

[PATCH v3 2/3] doc: cmd: gpt: add information on type partition

2025-06-02 Thread Patrick Delaunay
Add information on type partition, copied from README.gpt. I also correct issue for gpt_parts variable and add example of "gpt read" usage. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) doc/usage/cmd/gp

Re: [PATCH v2 0/3] Restore support of short name for type UUID parameter

2025-06-02 Thread Patrick DELAUNAY
Hi, On 5/30/25 22:27, Tom Rini wrote: On Fri, May 23, 2025 at 11:11:37AM +0200, Patrick Delaunay wrote: Fix and add documentation/tests for selection by string for known partition type GUID introduced by bcb41dcaefac ("uuid: add selection by string for known partition type GUID")

[PATCH v2 0/3] Restore support of short name for type UUID parameter

2025-05-23 Thread Patrick Delaunay
n comment and in commit message - use 'type' for EFI_XXX description as these string have no space and size is lower than 36 characters. Patrick Delaunay (3): lib/uuid.c: restore support of system partition type for ESP doc: cmd: gpt: add information on type partition test/py:

[PATCH v2 1/3] lib/uuid.c: restore support of system partition type for ESP

2025-05-23 Thread Patrick Delaunay
is used as fallback. Many partition types for EFI have no shortcut yet, but only description as they are only used to display information. This patch also restores the "system" as short name for EFI System Partition (ESP). Fixes: d54e1004b8b1 ("lib/uuid.c: use unique name for PARTITION

[PATCH v2 3/3] test/py: tests: gpt: add test_gpt_write_part_type

2025-05-23 Thread Patrick Delaunay
Add sandbox test on gpt command with partition type for known type. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) test/py/tests/test_gpt.py | 27 +++ 1 file changed, 27 insertions(+) diff --git a/test/py/tests/test_gpt.py b

[PATCH v2 2/3] doc: cmd: gpt: add information on type partition

2025-05-23 Thread Patrick Delaunay
Add information on type partition, copied from README.gpt. I also correct issue for gpt_parts variable and add example of "gpt read" usage. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) doc/usage/cmd/gp

Re: [PATCH 4/4] watchdog: don't autostart watchdog on STM32MP boards

2025-05-22 Thread Patrick DELAUNAY
Hi, On 5/21/25 14:27, Antonio Borneo wrote: From: Patrice Chotard The STM32MP2 boards have watchdog started by a previous boot why only for STM32MP2... I think it is case for STM32MP1 also. and in the patch it is the case => default n for ARCH_STM32MP = all STM32 MPU: STM32MP1(ARMv7) & S

Re: [PATCH v3 1/2] lib/uuid.c: use unique name for PARTITION_SYSTEM_GUID

2025-05-19 Thread Patrick DELAUNAY
command with type= see doc/README.gpt I add this behavior in -- commit bcb41dcaefacdd4cf0f679b34224cb3d997ee8b4 Author: Patrick Delaunay Tue Oct 27 11:00:28 2015 Committer

Re: [PATCH 1/3] lib/uuid.c: restore support of system partition type for ESP

2025-05-19 Thread Patrick DELAUNAY
Hi, On 5/19/25 11:23, Jerome Forissier wrote: Hi Patrick, On 5/19/25 10:04, Patrick Delaunay wrote: Add support of shortname for type parameter and restore "system" as short name for EFI System Partition (ESP) for filed "type" of the "gpt write" command. Fixes:

[PATCH 0/3] Restore support of short name for type UUID parameter

2025-05-19 Thread Patrick Delaunay
f + offset, buflen - offset, ",type=%s", type_str); Patrick Delaunay (3): lib/uuid.c: restore support of system partition type for ESP doc: cmd: gpt: add information on type partition tes

[PATCH 3/3] test/py: tests: gpt: add test_gpt_write_part_type

2025-05-19 Thread Patrick Delaunay
Add sandbox test on gpt command with partition type for known type. Signed-off-by: Patrick Delaunay --- test/py/tests/test_gpt.py | 27 +++ 1 file changed, 27 insertions(+) diff --git a/test/py/tests/test_gpt.py b/test/py/tests/test_gpt.py index cfc8f1319a9b

[PATCH 1/3] lib/uuid.c: restore support of system partition type for ESP

2025-05-19 Thread Patrick Delaunay
Add support of shortname for type parameter and restore "system" as short name for EFI System Partition (ESP) for filed "type" of the "gpt write" command. Fixes: d54e1004b8b1 ("lib/uuid.c: use unique name for PARTITION_SYSTEM_GUID") Signed-off-by:

[PATCH 2/3] doc: cmd: gpt: add information on type partition

2025-05-19 Thread Patrick Delaunay
Add information on type partition, copied from README.gpt. I also correct issue for gpt_parts variable and add example of "gpt read" usage. Signed-off-by: Patrick Delaunay --- doc/usage/cmd/gpt.rst | 93 ++- 1 file changed, 84 insertions(+), 9

Re: [PATCH v3] stm32mp: Add tamp_nvram driver

2025-05-05 Thread Patrick DELAUNAY
P backup registers will be exposed as nvmem cells. Each registers ([0..127] for STM32MP2, [0..31] for STM32MP1) could be exposed as nvmem cells under the nvram node in device tree Signed-off-by: Simeon Marijon Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- Changes in v3:

Re: [PATCH 13/13] ARM: stm32mp: add RIFSC system bus driver for STM32MP25

2025-04-22 Thread Patrick DELAUNAY
Hi, On 4/1/25 15:14, Patrice Chotard wrote: From: Patrick Delaunay This driver is checking the access rights of the different peripherals connected to the RIFSC bus. If access is denied, the associated device is not binded. Signed-off-by: Gatien Chevallier Signed-off-by: Patrick Delaunay

Re: [PATCH 12/13] ARM: dts: stm32: convert stm32mp2 board to OF_UPSTREAM

2025-04-22 Thread Patrick DELAUNAY
/stm32mp25xf.dtsi delete mode 100644 arch/arm/dts/stm32mp25xxai-pinctrl.dtsi delete mode 100644 arch/arm/dts/stm32mp25xxak-pinctrl.dtsi delete mode 100644 arch/arm/dts/stm32mp25xxal-pinctrl.dtsi Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 11/13] stm32mp: fdt: remove ETZPC peripheral cleanup

2025-04-22 Thread Patrick DELAUNAY
/stm32mp1/fdt.c | 258 --- 2 files changed, 266 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 10/13] ARM: dts: stm32: add ETZPC as a system bus for STM32MP1x boards

2025-04-22 Thread Patrick DELAUNAY
insertions(+) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 09/13] ARM: stm32mp: add ETZPC system bus driver for STM32MP1

2025-04-22 Thread Patrick DELAUNAY
Signed-off-by: Patrick Delaunay Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32mp/include/mach/etzpc.h | 32 arch/arm/mach-stm32mp/stm32mp1/Makefile| 1 + arch/arm/mach-stm32mp/stm32mp1/etzpc.c | 194 + 3 files changed, 227 insertions(+) create mode

Re: [PATCH 08/13] stm32mp1: clk: Update index for DSI gate

2025-04-22 Thread Patrick DELAUNAY
Hi On 4/1/25 15:14, Patrice Chotard wrote: Since upstream kernel commit bda732fda193 ("ARM: dts: stm32: fix DSI peripheral clock on stm32mp15 boards"), DSI clock can't be enabled as shown on following U-Boot log: MMC: STM32 SD/MMC: 0 Loading Environment from MMC... Reading from MMC(0)... OK c

Re: [PATCH 07/13] configs: stm32: introduce stm32mp15-odyssey_defconfig

2025-04-22 Thread Patrick DELAUNAY
stm32mp15-odyssey_defconfig with OF_UPSTREAM flag unset. Signed-off-by: Patrice Chotard --- configs/stm32mp15-odyssey_defconfig | 172 1 file changed, 172 insertions(+) create mode 100644 configs/stm32mp15-odyssey_defconfig Reviewed-by: Patrick Delaunay Thanks Pat

Re: [PATCH 06/13] ARM: dts: stm32: convert stm32mp15 board to OF_UPSTREAM

2025-04-22 Thread Patrick DELAUNAY
i delete mode 100644 arch/arm/dts/stm32mp15xxaa-pinctrl.dtsi delete mode 100644 arch/arm/dts/stm32mp15xxab-pinctrl.dtsi delete mode 100644 arch/arm/dts/stm32mp15xxac-pinctrl.dtsi delete mode 100644 arch/arm/dts/stm32mp15xxad-pinctrl.dtsi Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 05/13] ARM: dts: stm32: convert stm32mp13 board to OF_UPSTREAM

2025-04-22 Thread Patrick DELAUNAY
/stm32mp135.dtsi delete mode 100644 arch/arm/dts/stm32mp135f-dk.dts delete mode 100644 arch/arm/dts/stm32mp13xc.dtsi delete mode 100644 arch/arm/dts/stm32mp13xf.dtsi Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 04/13] ARM: dts: stm32: convert stm23f4 boards to OF_UPSTREAM

2025-04-22 Thread Patrick DELAUNAY
/stm32f469-disco.dts delete mode 100644 arch/arm/dts/stm32f469-pinctrl.dtsi delete mode 100644 arch/arm/dts/stm32f469.dtsi Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 03/13] ARM: dts: stm32: convert stm23f7 boards to OF_UPSTREAM

2025-04-22 Thread Patrick DELAUNAY
boards. Set also DEFAULT_FDT_FILE in defconfigs and use it in stm32f746-disco.h to indicate which FDT file to load (All STM32F7 boards are using this file). If something is missing, it must be added in upstream device tree in linux kernel ("px_clk" for DSI by example). Signed-off-by: Patric

Re: [PATCH 1/6] configs: stm32f769-disco_spl: Fix console cmdline

2025-04-22 Thread Patrick DELAUNAY
CONFIG_DEFAULT_FDT_FILE="stm32f769-disco" CONFIG_SYS_PBSIZE=1050 # CONFIG_DISPLAY_CPUINFO is not set Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 02/13] ARM: dts: stm32: convert stm23h7 boards to OF_UPSTREAM

2025-04-22 Thread Patrick DELAUNAY
mode 100644 arch/arm/dts/stm32h743i-disco.dts delete mode 100644 arch/arm/dts/stm32h743i-eval.dts delete mode 100644 arch/arm/dts/stm32h750.dtsi delete mode 100644 arch/arm/dts/stm32h750i-art-pi.dts Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 01/13] ARM: dts: sti: convert stih410-b2260 board to OF_UPSTREAM

2025-04-22 Thread Patrick DELAUNAY
/dt-bindings/clock/stih407-clks.h delete mode 100644 include/dt-bindings/clock/stih410-clks.h delete mode 100644 include/dt-bindings/mfd/st-lpc.h delete mode 100644 include/dt-bindings/reset/stih407-resets.h Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 6/6] configs: stm32746-eval: Fix console cmdline

2025-04-22 Thread Patrick DELAUNAY
CONFIG_DEFAULT_FDT_FILE="stm32746g-eval" # CONFIG_DISPLAY_CPUINFO is not set Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 4/6] configs: stm32f729-discovery: Fix console cmdline

2025-04-22 Thread Patrick DELAUNAY
LAY_BOARDINFO is not set Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 5/6] configs: stm32746-eval_spl: Fix console cmdline

2025-04-22 Thread Patrick DELAUNAY
CONFIG_DEFAULT_FDT_FILE="stm32746g-eval" CONFIG_SYS_PBSIZE=1050 # CONFIG_DISPLAY_CPUINFO is not set Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 3/6] configs: stm32f769-disco: Fix console cmdline

2025-04-22 Thread Patrick DELAUNAY
uot;stm32f746-disco" CONFIG_SYS_PBSIZE=1050 # CONFIG_DISPLAY_CPUINFO is not set Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 2/6] configs: stm32f746-disco_spl: Fix console cmdline

2025-04-22 Thread Patrick DELAUNAY
CONFIG_DEFAULT_FDT_FILE="stm32f746-disco" CONFIG_SYS_PBSIZE=1050 # CONFIG_DISPLAY_CPUINFO is not set Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH] net: dwc_eth_qos: add support of stm32mp2 platform

2025-04-22 Thread Patrick DELAUNAY
| 1 + drivers/net/dwc_eth_qos_stm32.c | 11 +++ 3 files changed, 16 insertions(+) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH] stm32mp: Add nvram driver

2025-04-18 Thread Patrick DELAUNAY
P_TAMP_NVMEM) += tamp_nvram.o thanks With this minor remark Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH] serial: stm32: restrict _debug_uart_init() usage

2025-01-30 Thread Patrick DELAUNAY
rt_info); + _stm32_serial_setbrg(base, uart_info, +CONFIG_DEBUG_UART_CLOCK, +CONFIG_BAUDRATE); + } } static inline void _debug_uart_putc(int c) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v4 9/9] configs: stih410-b2260: Enable CMD_USB_MASS_STORAGE flag

2025-01-30 Thread Patrick DELAUNAY
CONFIG_CMD_EXT4_WRITE=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v4 8/9] board: stih410-b2260: Remove board_usb_init/cleanup()

2025-01-30 Thread Patrick DELAUNAY
) board/st/stih410-b2260/board.c | 29 - 1 file changed, 29 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v4 7/9] configs: stih410-b2260: Enable DM_USB_GADGET flag

2025-01-30 Thread Patrick DELAUNAY
CONFIG_USB_EHCI_HCD=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v4 5/9] configs: stih410-b2260: Enable USB_DWC3_GENERIC and USB_DWC3_STI flags

2025-01-30 Thread Patrick DELAUNAY
Hi, On 1/23/25 15:47, Patrice Chotard wrote: Enable USB_DWC3_GENERIC and USB_DWC3_STI flags. Signed-off-by: Patrice Chotard Cc: Marek Vasut --- (no changes since v1) configs/stih410-b2260_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/stih410-b2260_defconfig b/co

Re: [PATCH v4 4/9] usb: dwc3-generic: Add STih407 support

2025-01-30 Thread Patrick DELAUNAY
Hi, few minor remarks On 1/23/25 15:47, Patrice Chotard wrote: Add STi glue logic to manage the DWC3 HC on STiH407 SoC family. It configures the internal glue logic and syscfg registers. Signed-off-by: Patrice Chotard Cc: Marek Vasut Reviewed-by: Mattijs Korpershoek --- Changes in v4:

Re: [PATCH v4 3/9] usb: dwc3-generic: Reorder include

2025-01-30 Thread Patrick DELAUNAY
+#include "gadget.h" struct dwc3_generic_plat { fdt_addr_t base; Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v4 2/9] configs: stih410-b2260: Enable DM_REGULATOR flag

2025-01-30 Thread Patrick DELAUNAY
index 815f7557d69..e312ca492d2 100644 --- a/configs/stih410-b2260_defconfig +++ b/configs/stih410-b2260_defconfig @@ -48,6 +48,7 @@ CONFIG_MMC_SDHCI_STI=y CONFIG_PHY=y CONFIG_STI_USB_PHY=y CONFIG_PINCTRL=y +CONFIG_DM_REGULATOR=y CONFIG_STI_RESET=y CONFIG_STI_ASC_SERIAL=y CONFIG_SYSRES

Re: [PATCH v4 1/9] ARM: dts: sti: Add fixed clock for ehci and ohci nodes in stih410-b2260.dtsi

2025-01-30 Thread Patrick DELAUNAY
... 0 Storage Device(s) found Signed-off-by: Patrice Chotard Cc: Marek Vasut --- (no changes since v1) arch/arm/dts/stih410-b2260-u-boot.dtsi | 10 ++ 1 file changed, 10 insertions(+) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 1/2] stm32mp: Fix board_get_usable_ram_top()

2025-01-30 Thread Patrick DELAUNAY
); - reg = gd->ram_top - size; + reg = ALIGN(gd->ram_top - size, MMU_SECTION_SIZE); /* Reserved memory for OP-TEE at END of DDR for STM32MP1 SoC */ if (IS_ENABLED(CONFIG_STM32MP13X) || IS_ENABLED(CONFIG_STM32MP15X)) { Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 2/2] ARM: dts: stm32: Update ck_flexgen_08 frequency.

2025-01-30 Thread Patrick DELAUNAY
-08 { #clock-cells = <0>; compatible = "fixed-clock"; - clock-frequency = <1>; + clock-frequency = <6400>; }; ck_flexgen_51: ck-flexgen-51 { R

Re: [PATCH v1 6/6] configs: stm32mp25: enable CONFIG_SYS_64BIT_LBA

2025-01-08 Thread Patrick DELAUNAY
2mp25_defconfig index d3f0c088157..073172c3804 100644 --- a/configs/stm32mp25_defconfig +++ b/configs/stm32mp25_defconfig @@ -33,6 +33,7 @@ CONFIG_CMD_REGULATOR=y CONFIG_CMD_LOG=y CONFIG_OF_LIVE=y CONFIG_NO_NET=y +CONFIG_SYS_64BIT_LBA=y CONFIG_GPIO_HOG=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_S

Re: [PATCH 2/2] configs: stm32f469-disco: Set CYCLIC_MAX_CPU_TIME_US to 50000 for stm32f469-disco

2025-01-08 Thread Patrick DELAUNAY
/stm32f469-discovery_defconfig @@ -14,6 +14,7 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=3 CONFIG_SYS_PBSIZE=1050 # CONFIG_DISPLAY_CPUINFO is not set +CONFIG_CYCLIC_MAX_CPU_TIME_US=5 CONFIG_MISC_INIT_R=y CONFIG_SYS_PROMPT="U-Boot > " CONFIG_CMD_IMLS=y Reviewed-by: Pa

Re: [PATCH 1/2] configs: stm32f769-disco: Set CYCLIC_MAX_CPU_TIME_US to 8000 for stm32f769-disco

2025-01-08 Thread Patrick DELAUNAY
,6 +30,7 @@ CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" CONFIG_SYS_PBSIZE=1050 # CONFIG_DISPLAY_CPUINFO is not set +CONFIG_CYCLIC_MAX_CPU_TIME_US=8000 CONFIG_SPL_PAD_TO=0x9000 CONFIG_SPL_NO_BSS_LIMIT=y CONFIG_SPL_BO

Re: [PATCH] ARM: dts: stm32mp13: Add support of ck_usbo_48m in pre-reloc stage

2025-01-08 Thread Patrick DELAUNAY
Hi, On 11/29/24 13:33, Patrice Chotard wrote: From: Patrick Delaunay The clock ck_usbo_48m is a clock source for RCC, so the ck_usbo_48m clock provided by usbphyc need to be probed when RCC clock driver is required, in pre-reloc stage. This patch allow to remove the following warning

Re: [PATCH v1 5/6] configs: stm32mp15: enable CONFIG_SYS_64BIT_LBA

2025-01-08 Thread Patrick DELAUNAY
CONFIG_SYS_64BIT_LBA=y CONFIG_BUTTON=y CONFIG_BUTTON_GPIO=y CONFIG_CLK_SCMI=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v1 4/6] configs: stm32mp13: enable CONFIG_SYS_64BIT_LBA

2025-01-08 Thread Patrick DELAUNAY
=y CONFIG_USB_FUNCTION_FASTBOOT=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v1 2/6] arm: stm32mp: stm32prog: fix warning when CONFIG_SYS_64BIT_LBA is enable

2025-01-08 Thread Patrick DELAUNAY
long int |%lld Cast block_dev->lba to u64 and set the length specifier to %lld which is ok with or without CONFIG_SYS_64BIT_LBA flag. Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v1 3/6] arm: stm32mp: stm32prog: update multiplier is part-size is above SZ_1G

2025-01-08 Thread Patrick DELAUNAY
M) { size = (u32)(part->size / SZ_1M); multiplier = 'M'; } else if (part->size > SZ_1K) { Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v1 1/6] fastboot: Fix warning when CONFIG_SYS_64BIT_LBA is enable

2025-01-08 Thread Patrick DELAUNAY
t |%llu 262 |blkcnt * blksz, hwpart); |~~ | | | long long unsigned int Signed-off-by: Patrice Chotard --- driv

Re: [PATCH] Kconfig: Set STACK_SIZE to 16KB for STM32 MCUs

2024-12-18 Thread Patrick DELAUNAY
RCH_VERSAL || ARCH_ZYNQMP default 0x20 if MICROBLAZE + default 0x4000 if ARCH_STM32 default 0x100 help Define Max stack size that can be used by U-Boot. This value is used Anyway for this STM32 MCU patch: Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH] ARM: stm32mp: Fix dram_bank_mmu_setup() for LMB located above ram_top

2024-12-18 Thread Patrick DELAUNAY
(lmb_is_reserved_flags(i << MMU_SECTION_SHIFT, LMB_NOMAP) || + addr >= gd->ram_top) + ) option = 0; /* INVALID ENTRY in TLB */ set_section_dcache(i, option); } Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 5/5] configs: stm32mp1: Restore boot SPL from sdcard for Engicam i.Core STM32MP1 C.TOUCH 2.0

2024-12-18 Thread Patrick DELAUNAY
ARTITION=y +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x3 CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_I2C=y CONFIG_SPL_POWER=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 4/5] configs: stm32mp1: Restore boot SPL from sdcard for Engicam MicroGEA STM32MP1 MicroDev 2.0 7" OF

2024-12-18 Thread Patrick DELAUNAY
USE_PARTITION=y +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x3 CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_I2C=y CONFIG_SPL_POWER=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 3/5] configs: stm32mp1: Restore boot SPL from sdcard for Engicam i.Core STM32MP1 EDIMM2.2

2024-12-18 Thread Patrick DELAUNAY
TITION=0x3 CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_I2C=y CONFIG_SPL_POWER=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 2/5] configs: stm32mp1: Restore boot SPL from sdcard for Engicam i.Core STM32MP1 C.TOUCH 2.0

2024-12-18 Thread Patrick DELAUNAY
TITION=0x3 CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_I2C=y CONFIG_SPL_POWER=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 1/5] configs: stm32mp1: Restore boot SPL from sdcard for stm32mp15

2024-12-18 Thread Patrick DELAUNAY
OC_START=y CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xc030 CONFIG_SPL_SYS_MALLOC_SIZE=0x1d0 +CONFIG_SPL_SYS_MMCSD_RAW_MODE=y +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x3 CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_I2C=y CONFIG_SPL_MTD=y Reviewed-by: Patrick Delauna

Re: [PATCH] board: st: stm32mp1: Clean env_get_location()

2024-12-05 Thread Patrick DELAUNAY
)) return ENVL_MMC; - else if (CONFIG_IS_ENABLED(ENV_IS_IN_EXT4)) - return ENVL_EXT4; else return ENVL_NOWHERE; Reviewed-by: Patrick Delaunay Thanks Patrick

[PATCH] stm32: remove dt-binding headers that are available upstream

2024-11-27 Thread Patrick Delaunay
Some dt-binding headers mask the upstream ones which can lead to build failures, or worse: super weird bugs, if they get out of sync. Remove these headers so our devicetree and binding headers will both be in sync with upstream. Signed-off-by: Patrick Delaunay --- drivers/clk/stm32/clk

Re: [Uboot-stm32] [PATCH 2/2] ARM: stm32: Deduplicate DH STM32MP1xx DHSOM defconfigs

2024-11-12 Thread Patrick DELAUNAY
On 11/12/24 12:49, Patrick DELAUNAY wrote: Hi, On 10/27/24 02:03, Marek Vasut wrote: Deduplicate defconfigs for all DH STM32MP1xx DHSOM systems by factoring out the common parts into generic stm32mp_dhsom.config and including those using the #include preprocessor macro in the current set of

Re: [PATCH] ARM: dts: stm32: Drop duplicate pinmux on DH STM32 DHCOM

2024-11-12 Thread Patrick DELAUNAY
On 11/12/24 12:33, Patrick DELAUNAY wrote: Hi, On 10/21/24 21:44, Marek Vasut wrote: The ethernet0_rmii_pins_a pinmux change has no effect on any DHSOM based hardware. The mco2_pins_a and mco2_sleep_pins_a are both part of stm32mp15-pinctrl.dtsi . Drop both pinmux changes. Signed-off-by

Re: [PATCH] ARM: dts: stm32: Drop remnants of upstream DT switch on DH STM32 DHSOM

2024-11-12 Thread Patrick DELAUNAY
On 11/12/24 12:29, Patrick DELAUNAY wrote: Hi, On 10/21/24 21:34, Marek Vasut wrote: Remove unused local DT copies after the OF_UPSTREAM conversion. Fixes: cccb29fc1270 ("ARM: dts: stm32: Switch to using upstream DT on DH STM32 DHSOM") Reported-by: Patrick Delaunay Signed-off

Re: [PATCH 1/2] ARM: stm32: Deduplicate DH STM32MP15xx DHSOM defconfigs

2024-11-12 Thread Patrick DELAUNAY
On 11/12/24 12:48, Patrick DELAUNAY wrote: Hi, On 10/27/24 02:03, Marek Vasut wrote: Deduplicate defconfigs for all DH STM32MP15xx DHSOM systems by factoring out the common parts into generic stm32mp15_dhsom.config and including those using the #include preprocessor macro in the current set

Re: [PATCH] ARM: stm32: Add optional manufacturing environment to DH STM32MP15xx DHSOM

2024-11-12 Thread Patrick DELAUNAY
On 11/12/24 12:23, Patrick DELAUNAY wrote: Hi, On 11/6/24 20:04, Marek Vasut wrote: Add manufacturing environment into STM32MP15xx DH electronics DHSOM configuration. This environment is part of every board build, but only takes effect on systems booted with the dh,stm32mp15xx-dhcor

Re: [PATCH 2/2] ARM: stm32: Deduplicate DH STM32MP1xx DHSOM defconfigs

2024-11-12 Thread Patrick DELAUNAY
macro is applicable to defconfigs as well. This introduces no functional change, the resulting .config is identical for all DH STM32MP1xx DHSOM systems. Signed-off-by: Marek Vasut --- Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Sean Anderson Cc: Simon Glass Cc: Tom Rini Cc: u-b...@dh

  1   2   3   4   5   6   7   8   9   10   >