Re: [PATCH 68/88] arm: Rename STM32MP13x

2023-02-22 Thread Patrick DELAUNAY
| 2 +- board/st/stm32mp1/Kconfig | 2 +- configs/stm32mp13_defconfig| 4 ++-- drivers/clk/stm32/Kconfig | 2 +- 11 files changed, 21 insertions(+), 21 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 69/88] arm: Rename STM32MP15x

2023-02-22 Thread Patrick DELAUNAY
+- 22 files changed, 59 insertions(+), 59 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 47/88] mtd: Drop unused fsmc_nand driver

2023-02-22 Thread Patrick DELAUNAY
/fsmc_nand.c | 470 --- include/linux/mtd/fsmc_nand.h| 84 -- 3 files changed, 555 deletions(-) delete mode 100644 drivers/mtd/nand/raw/fsmc_nand.c delete mode 100644 include/linux/mtd/fsmc_nand.h For STMicroelectronics / SPEAr Reviewed-by: Patrick Delaunay

[PATCH 2/2] mmc: remove SDHCI SPEAR

2023-02-22 Thread Patrick Delaunay
As the file spear_sdhci.c file is already removed, delete the associated configuration CONFIG_MMC_SDHCI_SPEAR. Fixes: c942fc925e7dab ("mmc: spear: remove the entire spear_sdhci.c file") Signed-off-by: Patrick Delaunay --- drivers/mmc/Kconfig | 12 drivers/mmc/Makefile

[PATCH 1/2] ARM: remove SPEAR entry in makefile

2023-02-22 Thread Patrick Delaunay
As the lastest spear directories are removed, delete the associated entry in Makefile. Fixes: 570c3dcfc153 ("arm: Remove spear600 boards and the rest of SPEAr support") Signed-off-by: Patrick Delaunay --- arch/arm/cpu/arm926ejs/Makefile | 1 - 1 file changed, 1 deletion(-) diff --

Re: [PATCH] fastboot: Only call the bootm command if it is enabled

2023-02-22 Thread Patrick DELAUNAY
D_FLAG_ENV); - } else { + } else if (IS_ENABLED(CONFIG_CMD_BOOTM)) { static char boot_addr_start[20]; static char *const bootm_args[] = { "bootm", boot_addr_start, NULL Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH] lmb: Bump CONFIG_LMB_MAX_REGIONS

2023-02-23 Thread Patrick DELAUNAY
Hi, On 2/17/23 10:28, Michal Suchánek wrote: Hello, On Sun, Feb 12, 2023 at 06:45:36PM -0500, Tom Rini wrote: On Wed, Feb 08, 2023 at 02:50:16PM -0500, Tom Rini wrote: On Wed, Feb 08, 2023 at 08:11:34PM +0100, Michal Suchánek wrote: Hello, On Wed, Feb 08, 2023 at 01:25:50PM -0500, Tom Rini

Re: [PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-02-23 Thread Patrick DELAUNAY
On 2/8/23 16:16, Tom Rini wrote: On Wed, Feb 08, 2023 at 03:13:31PM +, Philippe Schenker wrote: On Wed, 2023-02-08 at 09:54 -0500, Tom Rini wrote: On Wed, Feb 08, 2023 at 02:33:58PM +, Philippe Schenker wrote: Hi Tom, We currently face an issue on our apalis-imx8 machine, that is n

Re: [PATCH v2 2/2] usb: move CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to USB

2023-02-23 Thread Patrick DELAUNAY
because some usb device needs around 1.5s to be initialized + and a 2s value should solve detection issue on problematic USB keys. + if USB_KEYBOARD config USB_KEYBOARD_FN_KEYS Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v1 0/3] fdt: Fix mtparts fixup

2023-02-23 Thread Patrick DELAUNAY
Hi, On 1/23/23 21:01, Tom Rini wrote: On Mon, Jan 23, 2023 at 11:06:06AM +0100, Miquel Raynal wrote: Hi Tom, tr...@konsulko.com wrote on Fri, 13 Jan 2023 14:34:11 -0500: On Fri, Jan 13, 2023 at 07:45:44PM +0100, Francesco Dolcini wrote: From: Francesco Dolcini Recently we had a boot regr

Re: [PATCH v2 1/2] env: mmc: Clean up macro usage

2023-02-23 Thread Patrick DELAUNAY
Hi Marek, On 2/9/23 13:30, Marek Vasut wrote: Consistently use 'if (IS_ENABLED(CONFIG_PARTITION_TYPE_GUID))' instead of mix of ifdef. Signed-off-by: Marek Vasut --- Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Tom Rini --- V2: Replace CONFIG_IS_ENABLED(PARTITION_TYPE_GUID) with

[PATCH] fs: ext4: check the minimal partition size to mount

2023-03-08 Thread Patrick Delaunay
No need to mount a too small partition to handle a EXT4 file system. This patch add a test on partition size before to read the SUPERBLOCK_SIZE buffer and avoid error latter in fs_devread() function. Signed-off-by: Patrick Delaunay --- This patch avoids traces when EFI try to detect FS type on

[PATCH 1/2] efi: remove error in efi_disk_probe

2023-03-08 Thread Patrick Delaunay
is still probed. Signed-off-by: Patrick Delaunay --- lib/efi_loader/efi_disk.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index d2256713a8e7..8d53ba3bd27e 100644 --- a/lib/efi_loader/efi_disk.c +++ b/lib

[PATCH 0/2] efi: remove error in efi_disk_probe/efi_disk_remove

2023-03-08 Thread Patrick Delaunay
00mA) Generic Mass Storage C3EAEAD2 stopping USB.. efi_disk_remove failed for usb_mass_storage.lun0 uclass 22 (-1) efi_disk_remove failed for usb_mass_storage.lun0:1 uclass 73 (-1) Patrick Delaunay (2): efi: remove error in efi_disk_probe efi: remove error in efi_disk_remove lib/efi_loader/efi_disk.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) -- 2.25.1

[PATCH 2/2] efi: remove error in efi_disk_remove

2023-03-08 Thread Patrick Delaunay
not managed in cmd/usb.c and the next "usb start" command cause a crash because all the USB devices need to be released before the next USB scan. Signed-off-by: Patrick Delaunay --- lib/efi_loader/efi_disk.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --gi

Re: [PATCH 1/2] efi: remove error in efi_disk_probe

2023-03-09 Thread Patrick DELAUNAY
Hi, On 3/9/23 09:57, Heinrich Schuchardt wrote: On 3/8/23 14:26, Patrick Delaunay wrote: EFI has no reason to block the dm core device_probe() in the callback efi_disk_probe() registered with EVT_DM_POST_PROBE. This patch avoids to have error in DM core on device_probe()    ret

Re: [PATCH 2/2] efi: remove error in efi_disk_remove

2023-03-09 Thread Patrick DELAUNAY
On 3/9/23 09:54, Heinrich Schuchardt wrote: On 3/8/23 14:26, Patrick Delaunay wrote: EFI has no reason to block the driver remove when the associated EFI resources failed to be released. This patch avoids DM issue when an EFI resource can't be released, for example if this resource w

Re: [PATCH] dfu: mtd: mark bad the MTD block on erase error

2023-03-17 Thread Patrick DELAUNAY
Hi, On 11/28/22 10:22, Patrick Delaunay wrote: In the MTD DFU backend, it is needed to mark the NAND block bad when the erase failed with the -EIO error, as it is done in UBI and JFFS2 code. This operation is not done in the MTD framework, but the bad block tag (in BBM or in BBT) is required

[PATCH 2/2] lmb: add max number of region in lmb_dump_region() output

2023-03-21 Thread Patrick Delaunay
: 4 reserved[4][0xdcae5000-0xdfff], 0x0351b000 bytes flags: 0 reserved[5][0xddafb5b8-0xdfff], 0x02504a48 bytes flags: 0 Reported-by: Mark Millard Signed-off-by: Patrick Delaunay --- lib/lmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lmb.c b/lib/lm

[PATCH 1/2] lmb: Fix LMB_MEMORY_REGIONS flag usage

2023-03-21 Thread Patrick Delaunay
Y_REGIONS flag usage") Reported-by: Mark Millard Signed-off-by: Patrick Delaunay --- include/lmb.h | 20 +++- lib/lmb.c | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/include/lmb.h b/include/lmb.h index 7298c2ccc403..f70463ac5440 100644 ---

[PATCH v2 2/2] lmb: add max number of region in lmb_dump_region() output

2023-03-22 Thread Patrick Delaunay
: 4 reserved[4][0xdcae5000-0xdfff], 0x0351b000 bytes flags: 0 reserved[5][0xddafb5b8-0xdfff], 0x02504a48 bytes flags: 0 Reported-by: Mark Millard Signed-off-by: Patrick Delaunay --- (no changes since v1) lib/lmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[PATCH v2 1/2] lmb: Fix LMB_MEMORY_REGIONS flag usage

2023-03-22 Thread Patrick Delaunay
as these defines are used in API file lmb.h and not only in library file. Fixes: 5e2548c1d6e03 ("lmb: Fix LMB_MEMORY_REGIONS flag usage") Reported-by: Mark Millard Signed-off-by: Patrick Delaunay --- Changes in v2: - Remove CONFIG_LMB_XXX dependency on CONFIG_LMB as these defines ar

Re: [PATCH] gpio: add GPIOD_ACTIVE_LOW into GPIOD_MASK_DIR

2023-03-22 Thread Patrick DELAUNAY
Hi On 3/22/23 12:26, haibo.c...@nxp.com wrote: From: Haibo Chen dm_gpio_set_dir_flags() will clear GPIOD_MASK_DIR and set new flags. But there are cases like i2c_deblock_gpio_loop() will do like this: -first conifg GPIO(SDA) output with GPIOD_ACTIVE_LOW dm_gpio_set_dir_flags(pin, GPIOD_IS_OUT

Re: [PATCH] gpio: add GPIOD_ACTIVE_LOW into GPIOD_MASK_DIR

2023-03-23 Thread Patrick DELAUNAY
Hi, On 3/23/23 09:17, Bough Chen wrote: -Original Message- From: Patrick DELAUNAY Sent: 2023年3月23日 3:11 To: Bough Chen ; al.koc...@gmail.com; h...@denx.de; s...@chromium.org; and...@aj.id.au; patrice.chot...@foss.st.com; sam...@sholland.org; ma...@denx.de Cc: dl-uboot-imx ; u-boot

Re: [PATCH v2] board: stm32mp1: add splash screen on dk2

2023-07-05 Thread Patrick DELAUNAY
Hi Dario, On 7/4/23 19:31, Dario Binacchi wrote: Display the STMicroelectronics logo. Signed-off-by: Dario Binacchi --- Changes in v2: - move "splash.h" and "st_logo_data.h" headers before "syscon.h" in order to keep includes sorted alphabetically. - remove "logo" variable and pass "(ul

[PATCH] ARM: dts: stm32mp: alignment with v6.4

2023-07-10 Thread Patrick Delaunay
Device tree alignment with Linux kernel v6.4. Signed-off-by: Patrick Delaunay --- arch/arm/dts/stm32mp13-pinctrl.dtsi | 129 arch/arm/dts/stm32mp131.dtsi| 99 - arch/arm/dts/stm32mp135f-dk.dts | 42 - arch/arm/dts/stm32mp15

[PATCH 1/2] ARM: dts: sm32mp15: remove shmem for scmi-optee

2023-07-10 Thread Patrick Delaunay
ive shared memory registered by clients. To be compatible by default with this configuration and the next OP-TEE version, this patch removes the SHMEM in the SCMI configuration and the associated reserved memory in the last 4KByte page of SRAM, in the STM32MP15 device tree. Signed-off-by: Patric

[PATCH 2/2] ARM: dts: sm32mp13: remove shmem for scmi-optee

2023-07-10 Thread Patrick Delaunay
configuration and the associated reserved memory in SRAM. Signed-off-by: Patrick Delaunay --- arch/arm/dts/stm32mp13-u-boot.dtsi | 8 arch/arm/dts/stm32mp131.dtsi | 14 -- 2 files changed, 22 deletions(-) diff --git a/arch/arm/dts/stm32mp13-u-boot.dtsi b/arch/arm/dts

[PATCH] board: stm32mp1: add splash screen with stmicroelectronics logo

2023-07-10 Thread Patrick Delaunay
Display the STMicroelectronics logo with features VIDEO_LOGO and SPLASH_SCREEN on STMicroelectronics boards. With CONFIG_SYS_VENDOR = "st", the logo st.bmp is selected, loaded at the address indicated by splashimage and centered with "splashpos=m,m". Signed-off-

Re: [PATCH v2] board: stm32mp1: add splash screen on dk2

2023-07-10 Thread Patrick DELAUNAY
Hi, On 7/8/23 19:19, Dario Binacchi wrote: Hi Patrick, On Wed, Jul 5, 2023 at 2:09 PM Patrick DELAUNAY wrote: Hi Dario, On 7/4/23 19:31, Dario Binacchi wrote: Display the STMicroelectronics logo. Signed-off-by: Dario Binacchi --- Changes in v2: - move "splash.h" and "

Re: [PATCH] ARM: stm32: Inhibit PDDS because CSTBYDIS is set

2023-07-10 Thread Patrick DELAUNAY
: Patrick Delaunay Cc: uboot-st...@st-md-mailman.stormreply.com --- arch/arm/mach-stm32mp/psci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32mp/psci.c b/arch/arm/mach-stm32mp/psci.c index 50e3fc4ae45..79734b5289b 100644 --- a/arch/arm/mach-stm32mp/psci.c

Re: [PATCH] ARM: stm32: Fix OF_LIST on DHCOR

2023-07-11 Thread Patrick DELAUNAY
Hi, On 7/10/23 23:48, Marek Vasut wrote: On 6/16/23 14:18, Marek Vasut wrote: On 6/16/23 13:44, Patrice CHOTARD wrote: On 5/12/23 15:58, Patrick DELAUNAY wrote: Hi, On 5/5/23 02:11, Tom Rini wrote: The ITS file used to build the images here lists three dtb files as being used. Today

Re: [PATCH v2 1/2] arm: stm32mp: Really fix compilation issue when SYS_DCACHE_OFF and/or SYS_DCACHE_SYS are enabled

2023-08-29 Thread Patrick DELAUNAY
_IS_ENABLED(SYS_DCACHE_OFF)) gd->arch.tlb_size = PGTABLE_SIZE; gd->arch.tlb_addr = (unsigned long)&early_tlb; - } +#endif /* enable MMU (default configuration) */ dcache_enable(); Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 1/3] configs: stm32f746-disco: limit resolution to 480x272

2023-08-29 Thread Patrick DELAUNAY
GHT_GPIO=y CONFIG_VIDEO_STM32=y CONFIG_VIDEO_STM32_MAX_XRES=480 -CONFIG_VIDEO_STM32_MAX_YRES=640 +CONFIG_VIDEO_STM32_MAX_YRES=272 CONFIG_SPLASH_SCREEN=y CONFIG_SPLASH_SCREEN_ALIGN=y CONFIG_VIDEO_BMP_RLE8=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 2/3] board: stm32f746-disco: refactor the display of the ST logo

2023-08-29 Thread Patrick DELAUNAY
nfig | 2 +- include/configs/stm32f746-disco.h | 7 ++- tools/logos/stm32f746-disco.bmp| Bin 0 -> 18052 bytes 5 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 tools/logos/stm32f746-disco.bmp Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 3/3] Remove the hardcoded ST logo no longer in use

2023-08-29 Thread Patrick DELAUNAY
include/st_logo_data.h Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH] configs: stm32f769-disco: Enable VIDEO_LOGO flag

2023-08-29 Thread Patrick DELAUNAY
90,7 +91,6 @@ CONFIG_VIDEO_STM32_MAX_XRES=480 CONFIG_VIDEO_STM32_MAX_YRES=800 CONFIG_SPLASH_SCREEN=y CONFIG_SPLASH_SCREEN_ALIGN=y -CONFIG_VIDEO_BMP_RLE8=y CONFIG_BMP_16BPP=y CONFIG_BMP_24BPP=y CONFIG_BMP_32BPP=y Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 6/6] stm32mp15: Use u-boot-spl-stm32.bin instead of u-boot-spl.stm32

2023-08-29 Thread Patrick DELAUNAY
Hi Simon, On 8/24/23 17:14, Tom Rini wrote: On Thu, Aug 24, 2023 at 05:09:07PM +0200, Marek Vasut wrote: On 8/24/23 16:25, Tom Rini wrote: On Thu, Aug 24, 2023 at 05:12:45AM +0200, Marek Vasut wrote: On 8/24/23 05:02, Simon Glass wrote: A '.stm32' extension is not allowed anymore, so change

Re: [PATCH 3/7] rng: stm32: Implement configurable RNG clock error detection

2023-09-11 Thread Patrick DELAUNAY
Hi, On 9/8/23 21:07, Heinrich Schuchardt wrote: On 9/7/23 18:21, Gatien Chevallier wrote: RNG clock error detection is now enabled if the "clock-error-detect" property is set in the device tree. Signed-off-by: Gatien Chevallier ---   drivers/rng/stm32_rng.c | 22 +-   1 fil

Re: [PATCH 1/7] rng: stm32: rename STM32 RNG driver

2023-09-11 Thread Patrick DELAUNAY
7 files changed, 8 insertions(+), 8 deletions(-) rename drivers/rng/{stm32mp1_rng.c => stm32_rng.c} (100%) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 2/7] configs: default activate CONFIG_RNG_STM32 for STM32MP13x platforms

2023-09-11 Thread Patrick DELAUNAY
+CONFIG_RNG_STM32=y CONFIG_DM_RTC=y CONFIG_RTC_STM32=y CONFIG_SERIAL_RX_BUFFER=y with commit message update Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 3/7] rng: stm32: Implement configurable RNG clock error detection

2023-09-11 Thread Patrick DELAUNAY
deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 4/7] rng: stm32: add RNG clock frequency restraint

2023-09-11 Thread Patrick DELAUNAY
changed, 38 insertions(+), 5 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 5/7] rng: stm32: add error concealment sequence

2023-09-11 Thread Patrick DELAUNAY
, 140 insertions(+), 23 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 6/7] rng: stm32: Implement custom RNG configuration support

2023-09-11 Thread Patrick DELAUNAY
, 51 insertions(+), 3 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 7/7] ARM: dts: stm32: add RNG node for STM32MP13x platforms

2023-09-11 Thread Patrick DELAUNAY
h7-mdma"; reg = <0x5800 0x1000>; Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH] configs: stm32mp*: fix system reset

2022-09-06 Thread Patrick DELAUNAY
Hi, On 9/5/22 19:33, Jorge Ramirez-Ortiz wrote: Enabling CONFIG_SYSRESET_PSCI prevents CONFIG_RESET_SCMI from executing. The side effect observed are I2C devices no longer being accessible from U-boot after a soft reset. Fixes: 11517ccc8c52 ("configs: add stm32mp13 defconfig") Fixes: 17aeb589f

Re: [PATCH] ARM: dts: stm32mp15: remove hwlocks from pinctrl

2022-09-06 Thread Patrick DELAUNAY
Linux device tree with v6.0 as the hwsem support wasn’t yet added in pincontrol in kernel. It avoids issues when the Linux kernel is started with the U-Boot device tree. Cc: Patrice Chotard Cc: Patrick Delaunay Signed-off-by: Etienne Carriere --- arch/arm/dts/stm32mp151.dtsi | 2 -- 1 file

Re: [PATCH v4] tee: optee: rework TA bus scanning code

2022-09-06 Thread Patrick DELAUNAY
- 1 file changed, 19 insertions(+), 5 deletions(-) Reviewed-by: Patrick Delaunay Thanks Patrick

[PATCH 1/4] stm32mp: stm32prog: support empty flashlayout

2022-09-06 Thread Patrick Delaunay
When the STM32CubeProgrammer sent a empty flashlayout.tsv file, the command stm32prog correctly parse the file but data->dev_nb = 0 and the stm32prog_devices_init operations should be skipped. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 4 1 f

[PATCH 2/4] stm32mp: stm32prog: change default flashlayout location to CONFIG_SYS_LOAD_ADDR

2022-09-06 Thread Patrick Delaunay
without impact for serial boot with STM32CubeProgrammer. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c| 2 +- arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c| 8 arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c | 2 +- arch/arm

[PATCH 4/4] stm32mp: stm32prog: correctly handle OTP when SMC is not supported

2022-09-06 Thread Patrick Delaunay
As the SMC is only supported in SP-MIN for STM32MP15x, the associated partition should be absent when the TA NVMEM is not available in OPT-TEE in STM32MP13x. Signed-off-by: Patrick Delaunay --- .../mach-stm32mp/cmd_stm32prog/stm32prog.c| 25 +-- .../mach-stm32mp

[PATCH 3/4] stm32mp: stm32prog: solve warning for 64bits compilation

2022-09-06 Thread Patrick Delaunay
Solve many compilation warning when stm32prog is activated on the aarch64. Signed-off-by: Patrick Delaunay --- .../mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 14 +++--- arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 16 arch/arm/mach-stm32mp/cmd_stm32prog

[PATCH] ARM: dts: stm32mp: alignment with v6.0-rc3

2022-09-07 Thread Patrick Delaunay
: stm32: Fix SPI2 pinmux pin comments on stm32mp15 - ARM: dts: stm32: add optee reserved memory on stm32mp135f-dk - ARM: dts: stm32: enable optee firmware and SCMI support on STM32MP13 - ARM: dts: stm32: remove the IPCC "wakeup" IRQ on stm32mp151 Signed-off-by: Patrick Delaunay --- ar

Re: [PATCH] stm32mp: simplify the STM32MP15x package parsing code

2022-09-07 Thread Patrick DELAUNAY
Hi, On 6/20/22 09:50, Patrick Delaunay wrote: Simplify the package parsing code for STM32MP15X as package can be affected with get_cpu_package() result. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/stm32mp15x.c | 15 +++ 1 file changed, 3 insertions(+), 12

Re: [PATCH] board: stm32mp1: remove test on CONFIG_DM_REGULATOR

2022-09-07 Thread Patrick DELAUNAY
Hi, On 6/20/22 12:36, Patrick Delaunay wrote: The tests on CONFIG_DM_REGULATOR, added to avoid compilation issues, can now be removed, they are no more needed since the commit 16cc5ad0b439 ("power: regulator: add dummy helper"). Signed-off-by: Patrick Delaunay --- board/s

Re: [PATCH 1/3] phy: stm32-usbphyc: add counter of PLL consumer

2022-09-07 Thread Patrick DELAUNAY
Hi, On 4/26/22 14:37, Patrick Delaunay wrote: Add the counter of the PLL user n_pll_cons managed by the 2 functions stm32_usbphyc_pll_enable / stm32_usbphyc_pll_disable. This counter allow to remove the function stm32_usbphyc_is_init and it is a preliminary step for ck_usbo_48m introduction

Re: [PATCH 2/3] phy: stm32-usbphyc: usbphyc is a clock provider of ck_usbo_48m clock

2022-09-07 Thread Patrick DELAUNAY
Hi, On 4/26/22 14:37, Patrick Delaunay wrote: ck_usbo_48m is generated by usbphyc PLL and used by OTG controller for Full-Speed use cases with dedicated Full-Speed transceiver. ck_usbo_48m is available as soon as the PLL is enabled. Signed-off-by: Patrick Delaunay --- drivers/phy/phy

Re: [PATCH 3/3] clk: stm32mp: handle ck_usbo_48m clock provided by USBPHYC

2022-09-07 Thread Patrick DELAUNAY
Hi, On 4/26/22 14:37, Patrick Delaunay wrote: Handle the input clock of RCC USB_PHY_48, provided by USBPHYC and named "ck_usbo_48m". Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32mp1.c | 35 --- 1 file changed, 20 insertions(+), 15

Re: [PATCH] ARM: dts: stm32: Fix display-timings settings for stm32f746-disco

2022-09-07 Thread Patrick DELAUNAY
Hi, On 8/24/22 15:42, Patrice Chotard wrote: Since commit ef4ce6df3289 "video: stm32: stm32_ltdc: fix data enable polarity" The panel display output wasn't functional anymore. Device tree display-timings de-active property value must be updated to 1. Signed-off-by: Patrice Chotard --- arch/

Re: [PATCH] configs: stm32: Enable CONFIG_DM_REGULATOR for stm32f769-disco

2022-09-07 Thread Patrick DELAUNAY
Hi, On 8/24/22 15:44, Patrice Chotard wrote: Since commit 5bc6f8c2a97e("video: stm32: remove test on CONFIG_DM_REGULATOR") backlight was broken with the following message at boot: stm32-display-dsi dsi@40016c00: Warning: cannot get phy dsi supply stm32_display display-controller@40016800: panel

Re: [PATCH v2] configs: stih410-b2260: Fix SYS_HZ_CLOCK value

2022-09-07 Thread Patrick DELAUNAY
Hi, On 8/25/22 09:14, Patrice Chotard wrote: SYS_HZ_CLOCK was wrongly set to 1GHz whereas it's set to 750MHz by default by bootrom. Signed-off-by: Patrice Chotard Reviewed-by: Grzegorz Szymaszek --- Changes in v2: - Replace 1MHz by 1GHz in commit description include/configs/stih410-b

Re: [PATCH] ARM: stm32: Switch DHSOM to FMC2 EBI driver

2022-09-07 Thread Patrick DELAUNAY
Hi, On 8/23/22 19:27, Marek Vasut wrote: Perform long overdue conversion of ad-hoc FMC2 EBI bus initialization to upstream FMC2 EBI driver. No functional change. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay --- .../dts/stm32mp15xx-dhcom-picoitx-u-boot.dtsi | 8

Re: [PATCH] ARM: dts: stm32mp15: remove hwlocks from pinctrl

2022-09-07 Thread Patrick DELAUNAY
device tree with v6.0 as the hwsem support wasn’t yet added in pincontrol in kernel. It avoids issues when the Linux kernel is started with the U-Boot device tree. Cc: Patrice Chotard Cc: Patrick Delaunay Signed-off-by: Etienne Carriere --- arch/arm/dts/stm32mp151.dtsi | 2 -- 1 file changed, 2

[PATCH] confis: stm32mp15: activate DM_REGULATOR_SCMI

2022-09-07 Thread Patrick Delaunay
ned-off-by: Patrick Delaunay --- configs/stm32mp15_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_defconfig index fd2a5de8d13..0f6b3738cad 100644 --- a/configs/stm32mp15_defconfig +++ b/configs/stm32mp15_defconfig @@ -12

[PULL] Pull request for u-boot master / v2022.10 = u-boot-stm32-20220907

2022-09-08 Thread Patrick DELAUNAY
s: stm32: Enable CONFIG_DM_REGULATOR for stm32f769-disco   configs: stih410-b2260: Fix SYS_HZ_CLOCK value Patrick Delaunay (5):   stm32mp: simplify the STM32MP15x package parsing code   board: stm32mp1: remove test on CONFIG_DM_REGULATOR   phy: stm32-usbphyc: add counter of PLL consume

Re: [PATCH 2/2] usb: hub: increase HUB_DEBOUNCE_TIMEOUT

2022-09-08 Thread Patrick DELAUNAY
Hi Marek, On 7/8/22 17:34, Marek Vasut wrote: On 7/4/22 12:45, Patrick Delaunay wrote: Increase HUB_DEBOUNCE_TIMEOUT to 2000 because some usb device needs around 1.5s or more to make the hub port status to be connected steadily after being powered off and powered on. These value is aligned

Re: [PATCH 1/3] i2c: stm32: fix comment and remove unused AUTOEND bit

2022-09-08 Thread Patrick DELAUNAY
_LEN) { cr2 |= STM32_I2C_CR2_NBYTES(STM32_I2C_MAX_LEN); cr2 |= STM32_I2C_CR2_RELOAD; Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH 2/3] i2c: stm32: remove unused stop parameter in start & reload handling

2022-09-08 Thread Patrick DELAUNAY
t until TC flag is set */ mask = STM32_I2C_ISR_TC; Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 1/3] i2c: stm32: fix comment and remove unused AUTOEND bit

2022-09-08 Thread Patrick DELAUNAY
_LEN) { cr2 |= STM32_I2C_CR2_NBYTES(STM32_I2C_MAX_LEN); cr2 |= STM32_I2C_CR2_RELOAD; Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 2/3] i2c: stm32: remove unused stop parameter in start & reload handling

2022-09-08 Thread Patrick DELAUNAY
t until TC flag is set */ mask = STM32_I2C_ISR_TC; Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH v2 3/3] i2c: stm32: only send a STOP upon transfer completion

2022-09-08 Thread Patrick DELAUNAY
ent */ return 0; } } - /* End of transfer, send stop condition */ - mask = STM32_I2C_CR2_STOP; - setbits_le32(®s->cr2, mask); - return stm32_i2c_check_end_of_message(i2c_priv); } Reviewed-by: Patrick Delaunay Thanks Patrick

Re: [PATCH] configs: stm32mp*: fix system reset

2022-09-08 Thread Patrick DELAUNAY
Hi, On 9/6/22 16:53, Jorge Ramirez-Ortiz, Foundries wrote: On 06/09/22, Patrick DELAUNAY wrote: Hi, On 9/5/22 19:33, Jorge Ramirez-Ortiz wrote: Enabling CONFIG_SYSRESET_PSCI prevents CONFIG_RESET_SCMI from executing. The side effect observed are I2C devices no longer being accessible from U

Re: [PATCHv2 2/2] i2c: stm32f7: do not set the STOP condition on error

2022-09-09 Thread Patrick DELAUNAY
Hi, On 9/7/22 11:20, Alain Volmat wrote: Hi, I confirm that a fix is necessary regarding this setting of the stop condition. As a matter of fact, the controller is already sending the stop condition in case of NACK so there is no need to send the stop condition. However, this fix is not enough

[PATCH v2 2/2] configs: stm32mp15: set CONFIG_USB_HUB_DEBOUNCE_TIMEOUT=2s

2022-09-09 Thread Patrick Delaunay
Micro Corp. Flash Drive Signed-off-by: Patrick Delaunay --- Changes in v2: - force CONFIG_USB_HUB_DEBOUNCE_TIMEOUT=2s for stm32mp15 defconfig configs/stm32mp15_basic_defconfig | 1 + configs/stm32mp15_defconfig | 1 + configs/stm32mp15_trusted_defconfig | 1 + 3 files changed, 3

[PATCH v2 1/2] usb: hub: allow to increase HUB_DEBOUNCE_TIMEOUT

2022-09-09 Thread Patrick Delaunay
elay. Signed-off-by: Patrick Delaunay --- Hi, V2 of previous patch [1] after Marek request to a add a CONFIG_. I think this patch solves a general issue because a 1s timeout for USB connection is too short on problematic USB keys / USB HUB. The issue was introduced by the commit c998da0d6709 (&

Re: [PATCH v2 3/3] i2c: stm32: only send a STOP upon transfer completion

2022-09-09 Thread Patrick DELAUNAY
Hi, On 9/9/22 10:43, Heiko Schocher wrote: Hello Jorge, On 09.09.22 10:30, Jorge Ramirez-Ortiz, Foundries wrote: On 08/09/22, Patrick DELAUNAY wrote: Hi, On 9/8/22 12:59, Alain Volmat wrote: Current function stm32_i2c_message_xfer is sending a STOP whatever the result of the transaction is

Re: [PATCH v2 3/3] i2c: stm32: only send a STOP upon transfer completion

2022-09-09 Thread Patrick DELAUNAY
Hi Alain On 9/8/22 12:59, Alain Volmat wrote: Current function stm32_i2c_message_xfer is sending a STOP whatever the result of the transaction is. This can cause issues such as making the bus busy since the controller itself is already sending automatically a STOP when a NACK is generated. Thi

[PATCH] stm32mp: stm32prog: improve the partitioning trace

2022-09-09 Thread Patrick Delaunay
Improve the partitioning trace done in command stm32prog: - remove the trace "partition: Done" when the GPT partitioning is not done - indicate the mmc instance used for each 'gpt write' command Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32prog/stm

Re: [PATCH v3 3/3] i2c: stm32: do not set the STOP condition on error

2022-09-12 Thread Patrick DELAUNAY
2_I2C_ISR_NACKF | STM32_I2C_ISR_ERRORS))) + setbits_le32(®s->cr2, STM32_I2C_CR2_STOP); return stm32_i2c_check_end_of_message(i2c_priv); } Reviewed-by: Patrick Delaunay Tested-by: Patrick Delaunay [stm32mp157c-dk2] No regression detection on ST Microelectonics board. - No e

Re: [PATCH v4 3/4] i2c: stm32: do not set the STOP condition on error

2022-09-12 Thread Patrick DELAUNAY
2_I2C_ISR_NACKF | STM32_I2C_ISR_ERRORS))) + setbits_le32(®s->cr2, STM32_I2C_CR2_STOP); return stm32_i2c_check_end_of_message(i2c_priv); } Reviewed-by: Patrick Delaunay Tested-by: Patrick Delaunay [stm32mp157c-dk2] @Jorge: can you test also for your use-case, thanks Thanks Patrick

Re: [PATCH v4 4/4] i2c: stm32: fix usage of rise/fall device tree properties

2022-09-12 Thread Patrick DELAUNAY
th-ns", 0); if (!dev_read_bool(dev, "i2c-digital-filter")) Reviewed-by: Patrick Delaunay Thanks Patrick Reviewed-by: Patrick Delaunay Tested-by: Patrick Delaunay [stm32mp157c-dk2] No regression detection on ST Microelectonics board. - No error trace on boot - I2C probe

Re: [PATCH v2 1/2] usb: hub: allow to increase HUB_DEBOUNCE_TIMEOUT

2022-09-12 Thread Patrick DELAUNAY
Hi, On 9/9/22 14:24, Marek Vasut wrote: On 9/9/22 11:45, Patrick Delaunay wrote: Add a new CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to increase the HUB_DEBOUNCE_TIMEOUT value, for example to 2s because some usb device needs around 1.5s or more to make the hub port status to be connected steadily after

[PATCH] board: st: stm32mp1: use of correct compatible string to add partitions

2022-09-12 Thread Patrick Delaunay
and spi-nand compatible string for SPI NAND devices. Signed-off-by: Christophe Kerello Signed-off-by: Patrick Delaunay --- board/st/stm32mp1/stm32mp1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index

Re: [PATCH] confis: stm32mp15: activate DM_REGULATOR_SCMI

2022-09-15 Thread Patrick DELAUNAY
Hi, On 9/9/22 11:57, Patrice CHOTARD wrote: Hi Patrick Don't forget to fix the confis/configs when applying this patch ;-) On 9/7/22 18:18, Patrick Delaunay wrote: Activate the support of SCMI regulator to support the scmi_reg11, scmi_reg18 and scmi_usb33 regulators present in the

Re: [PATCHv2 1/2] i2c: stm32f7: fix clearing the control register

2022-09-15 Thread Patrick DELAUNAY
Hi, On 8/15/22 16:52, Jorge Ramirez-Ortiz wrote: Bits should be set to 0, not 1. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/i2c/stm32f7_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index bf2a6c9b4b..3a727

Re: [PATCH v4 1/4] i2c: stm32: fix comment and remove unused AUTOEND bit

2022-09-15 Thread Patrick DELAUNAY
as well. Signed-off-by: Alain Volmat Reviewed-by: Patrick Delaunay --- drivers/i2c/stm32f7_i2c.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index bf2a6c9b4b..78d7156492 100644 --- a/drivers/i2c/stm32f7_i2c.c

Re: [PATCH v4 2/4] i2c: stm32: remove unused stop parameter in start & reload handling

2022-09-15 Thread Patrick DELAUNAY
: Alain Volmat Reviewed-by: Patrick Delaunay --- drivers/i2c/stm32f7_i2c.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index 78d7156492..0ec67b5c12 100644 --- a/drivers/i2c/stm32f7_i2c.c +++ b/drivers/i2c

Re: [PATCH v4 3/4] i2c: stm32: do not set the STOP condition on error

2022-09-15 Thread Patrick DELAUNAY
roject/uboot/patch/20220912084201.1826979-4-alain.vol...@foss.st.com/ +    Reviewed-by: Patrice Chotard +    Reviewed-by: Heiko Schocher +    Reviewed-by: Patrick Delaunay +    Tested-by: Patrick Delaunay Regards Patrick

Re: [PATCH v4 3/4] i2c: stm32: do not set the STOP condition on error

2022-09-15 Thread Patrick DELAUNAY
roject/uboot/patch/20220912084201.1826979-5-alain.vol...@foss.st.com/ +  Reviewed-by: Patrice Chotard +  Reviewed-by: Heiko Schocher +  Reviewed-by: Patrick Delaunay +  Tested-by: Patrick Delaunay Regards Patrick

[PULL] Pull request for u-boot master / v2022.10 = u-boot-stm32-20220915

2022-09-15 Thread Patrick DELAUNAY
rise/fall device tree properties Patrick Delaunay (1):   configs: stm32mp15: activate DM_REGULATOR_SCMI  configs/stm32mp15_defconfig |  1 +  drivers/i2c/stm32f7_i2c.c   | 33 -  2 files changed, 17 insertions(+), 17 deletions(-)

Re: [PATCH v4 4/4] i2c: stm32: fix usage of rise/fall device tree properties

2022-09-15 Thread Patrick DELAUNAY
+  Reviewed-by: Patrice Chotard +  Reviewed-by: Heiko Schocher +  Reviewed-by: Patrick Delaunay +  Tested-by: Patrick Delaunay Regards Patrick

[PATCH 0/4] arm: stm32mp: adapt the command stm32key for STM32MP13x

2022-09-15 Thread Patrick Delaunay
algorithm) This STM32KEY command is used in STM32MP SoCs to provision the keys in the correct OTP needed to activate secure boot features: authentication and encryption. See [1] for details [1] STM32 MPU wiki https://wiki.st.com/stm32mpu/wiki/How_to_use_U-Boot_stm32key_command Patrick

[PATCH 1/4] arm: stm32mp: add defines for BSEC_LOCK status in stm32key command

2022-09-15 Thread Patrick Delaunay
Add defines for value used in stm32key for BSEC permanent lock status and error. This patch is a preliminary step to support more lock status in BSEC driver. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32key.c | 15 +-- 1 file changed, 9 insertions(+), 6

[PATCH 3/4] arm: stm32mp: support several key in command stm32key

2022-09-15 Thread Patrick Delaunay
d-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32key.c | 195 --- 1 file changed, 149 insertions(+), 46 deletions(-) diff --git a/arch/arm/mach-stm32mp/cmd_stm32key.c b/arch/arm/mach-stm32mp/cmd_stm32key.c index 68f9b1a9a59..4eac56082db 100644 --- a/arch/arm

[PATCH 2/4] arm: stm32mp: introduced read_close_status function in stm32key command

2022-09-15 Thread Patrick Delaunay
Split the read_hash_otp function and introduce the helper function read_close_status to read the close status in OTP separately of the PKH. This patch is a preliminary step for STM32MP13 support. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32key.c | 107

[PATCH 4/4] arm: stm32mp: adapt the command stm32key for STM32MP13x

2022-09-15 Thread Patrick Delaunay
: Encryption/Decryption Master Key Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32key.c | 52 1 file changed, 45 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-stm32mp/cmd_stm32key.c b/arch/arm/mach-stm32mp/cmd_stm32key.c index

[PATCH] configs: stm32mp1: cleanup config file

2022-09-16 Thread Patrick Delaunay
Remove the unnecessary comment after the CONFIG_SYS_BOOTM_LEN migration to Kconfig. Fixes: c45568cc4e51 ("Convert CONFIG_SYS_BOOTM_LEN to Kconfig") Signed-off-by: Patrick Delaunay --- include/configs/stm32mp13_common.h | 2 -- include/configs/stm32mp15_common.h | 2 -- 2 files

[PATCH v4] tee: optee: rework TA bus scanning code

2022-09-19 Thread Patrick DELAUNAY
Hi Simon, On 9/12/22 20:31, Simon Glass wrote: Hi Ilias, On Wed, 7 Sept 2022 at 15:32, Ilias Apalodimas wrote: Hi Simon, On Thu, 8 Sept 2022 at 00:11, Simon Glass wrote: Hi Ilias, On Tue, 6 Sept 2022 at 15:23, Ilias Apalodimas wrote: Hi Simon, On Tue, Sep 06, 2022 at 03:18:28PM -0600

Re: [PATCH] configs: stm32mp*: reset via CONFIG_RESET_SCMI

2022-09-19 Thread Patrick DELAUNAY
Hi, On 9/5/22 19:01, Oleksandr Suvorov wrote: Jorge, I think, renaming the patch to "fix" and adding a field "Fixes:" should help accept it faster. On Mon, Sep 5, 2022 at 7:32 PM Jorge Ramirez-Ortiz, Foundries wrote: On 30/08/22, Jorge Ramirez-Ortiz wrote: Enabling CONFIG_SYSRESET_PSCI prev

  1   2   3   4   5   6   7   8   9   10   >