Hi,
On 9/7/22 13:42, Patrick Delaunay wrote:
Device tree alignment with Linux kernel v6.0-rc3:
- ARM: dts: stm32: add support for USB2514B onboard hub on stm32mp15xx-dkx
- ARM: dts: stm32: Add alternate pinmux for RCC pin
- ARM: dts: stm32: Add alternate pinmux for DCMI pins
- ARM: dts: stm32
in TF-A BL2 and the DDR size
is dynamically computed in U-Boot since commit d72e7bbe7c28 ("ram:
stm32mp1: compute DDR size from DDRCTL registers").
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp15-ddr.dtsi | 16
arch/arm/dts/stm32mp15-u
art" cause a crash.
Signed-off-by: Patrick Delaunay
---
drivers/phy/phy-stm32-usbphyc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/phy-stm32-usbphyc.c b/drivers/phy/phy-stm32-usbphyc.c
index 9f0b7d71187..dcf2194e9a7 100644
--- a/drivers/phy/phy-stm32-usbphyc.c
+
5 files changed, 4 insertions(+), 41 deletions(-)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
Hi Jorge,
On 9/12/22 10:35, Jorge Ramirez-Ortiz, Foundries wrote:
On 12/09/22, Patrick DELAUNAY wrote:
Hi Alain,
On 9/9/22 18:06, 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
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
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
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
: 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
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
-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/mach
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
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
+ Reviewed-by: Patrice Chotard
+ Reviewed-by: Heiko Schocher
+ Reviewed-by: Patrick Delaunay
+ Tested-by: Patrick Delaunay
Regards
Patrick
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(-)
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
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
-by: 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
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
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
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 scmi
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
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
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
2_I2C_ISR_NACKF | STM32_I2C_ISR_ERRORS)))
+ setbits_le32(>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
2_I2C_ISR_NACKF | STM32_I2C_ISR_ERRORS)))
+ setbits_le32(>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 error tr
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/stm32prog.c |
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.
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
t delay.
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
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
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
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
ent */
return 0;
}
}
- /* End of transfer, send stop condition */
- mask = STM32_I2C_CR2_STOP;
- setbits_le32(>cr2, mask);
-
return stm32_i2c_check_end_of_message(i2c_priv);
}
Reviewed-by: Patrick Delaunay
Thanks
Patrick
t until TC flag is set */
mask = STM32_I2C_ISR_TC;
Reviewed-by: Patrick Delaunay
Thanks
Patrick
_LEN) {
cr2 |= STM32_I2C_CR2_NBYTES(STM32_I2C_MAX_LEN);
cr2 |= STM32_I2C_CR2_RELOAD;
Reviewed-by: Patrick Delaunay
Thanks
Patrick
t until TC flag is set */
mask = STM32_I2C_ISR_TC;
Reviewed-by: Patrick Delaunay
Thanks
Patrick
_LEN) {
cr2 |= STM32_I2C_CR2_NBYTES(STM32_I2C_MAX_LEN);
cr2 |= STM32_I2C_CR2_RELOAD;
Reviewed-by: Patrick Delaunay
Thanks
Patrick
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
32f769-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 consumer
phy: stm32-usbphyc: usbphyc is a cl
Signed-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
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
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
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
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
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
---
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
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
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
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
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
: 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
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
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
but 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
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
19 insertions(+), 5 deletions(-)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
with 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
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:
| 5 +
include/asm-generic/gpio.h | 1 +
include/dt-bindings/gpio/sandbox-gpio.h | 3 +++
test/dm/gpio.c | 30 +
4 files changed, 39 insertions(+)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
(no changes since v1)
drivers/pinctrl/pinctrl_stm32.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
lost Simon Glass's reviewed-by during v1 review
drivers/gpio/gpio-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
GPIOZ14: unknown
GPIOZ15: unknown
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
---
Changes in v3:
- add lost Simon Glass's reviewed-by during v1 review
drivers/gpio/gpio-uclass.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
Reviewed-
--
arch/arm/dts/stm32f746-disco-u-boot.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
800: panel panel enable backlight error
-38
DM_REGULATOR flag must be enabled to fix this issue
Signed-off-by: Patrice Chotard
---
configs/stm32f769-disco_defconfig | 1 +
configs/stm32f769-disco_spl_defconfig | 1 +
2 files changed, 2 insertions(+)
Reviewed-by: Patrick Delauna
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
e32(>cr2, STM32_I2C_CR2_RESET_MASK);
+ clrbits_le32(>cr2, STM32_I2C_CR2_RESET_MASK);
}
return ret;
Reviewed-by: Patrick Delaunay
Thanks
Patrick
eturn 0;
}
Minor remarks on the last function:
the 2 'printf' calls can be replaced by log_error() call (or
log_debug ?)
to correctly handle this trace with CONFIG_LOG_LEVEL
=> printf should avoid except in command result to handle log features
during initialization
Anyway
Reviewed-by: Patrick Delaunay
Thanks
Patrick
-Boot. On the
STM32MP157C-DK2 board, this value is passed through one of the SoC's
backup register. Add a function to read the boot index value from the
backup register.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaunay
---
Changes since V5:
* Shuffled the location of the TAMP_FWU_* macros
| 3 ++
lib/fwu_updates/Makefile | 6 +++
lib/fwu_updates/fwu_gpt.c| 88
4 files changed, 137 insertions(+)
create mode 100644 lib/fwu_updates/Makefile
create mode 100644 lib/fwu_updates/fwu_gpt.c
Reviewed-by: Patrick Delaunay
Thanks
Patrick
#ifdef CONFIG_DISTRO_DEFAULTS
/*/
with the modification s/STM32MP1/STM32MP15/
to avoid confusion with STM32MP13
Reviewed-by: Patrick Delaunay
Thanks
Patrick
rify_mdata(struct fwu_mdata *mdata, bool pri_part);
int fwu_mdata_check(void);
int fwu_revert_boot_index(void);
int fwu_accept_image(efi_guid_t *img_type_id, u32 bank);
with the minor modification (LOG_CATEGORY)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
evice ops\n");
+ return -ENOSYS;
+ }
+
+ return 0;
+}
+
(...)
with this minor update
Reviewed-by: Patrick Delaunay
Thanks
Patrick
338da609a7
Best regards,
--
Patrick Delaunay
On Thu, 30 Jun 2022 10:01:45 +0200, Patrick Delaunay wrote:
> Rename stm32_sdmmc_bind to stm32_sdmmc2_bind as all other functions
> in SDMMCv2 driver
>
> series-changes: 2
> - fix typo in commit message (/oter function/other functions/)
>
>
> [...]
Applied to stm32/ma
On Tue, 5 Jul 2022 16:55:54 +0200, Patrick Delaunay wrote:
> Device tree alignment with Linux kernel v5.19-rc1
>
> - ARM: dts: stm32: Add alternate pinmux for ethernet0 pins
> - ARM: dts: stm32: Add alternate pinmux for mco2 pins
> - ARM: dts: stm32: fix pinctrl node name wa
On Thu, 30 Jun 2022 10:20:14 +0200, Patrick Delaunay wrote:
> The stm32mp13 soc differs from the stm32mp15 in terms of
> clear register offset for controlling the FMP (Fast Mode Plus).
>
>
Applied to stm32/master, thanks!
[01/10] i2c: stm32: add support for the st,stm32mp13 SOC
On Wed, 6 Jul 2022 18:20:24 +0200, Patrick Delaunay wrote:
> Add the node for OP-TEE firmware with the associated reserved memory nodes
>
>
Applied to stm32/master, thanks!
[1/2] ARM: dts: stm32mp13: add OP-TEE nodes
commit: 0b69ce6a816c39502941deb90543e23619e02896
[2/2]
Patrick Delaunay (19):
configs: stm32m15: support STM32MP_BOARD_EXTRA_ENV for st boards
ARM: dts: stm32mp13: add OP-TEE nodes
ARM: dts: stm32mp13: add SCMI nodes
mmc: stm32_sdmmc2: cosmetic: rename stm32_sdmmc_bind
mmc: stm32_sdmmc2: remove privdata
mmc
rivate clk data, the update should
be done also on it.
Fixes: 6b7fd3128f7 ("clk: fix set_rate to clean up cached rates for the
hierarchy")
Signed-off-by: Patrick Delaunay
---
Changes in v2:
- set *clkp = clk when CCF is not activated and when the clock is not found
drivers/clk/c
On Mon, 11 Jul 2022 19:45:50 +0200, Patrick Delaunay wrote:
> Correctly handle STM32MP_BOARD_EXTRA_ENV define in stm32mp15_st_common.h;
> the STM32MP_BOARD_EXTRA_ENV is added in CONFIG_EXTRA_ENV_SETTINGS
> definition, as it is done "stm32mp15_st_common.h"
>
> Withou
, is linked with the define LOG_DEBUG, used to force the
trace generated by other macros (log_debug, dev_dbg, pr_debug).
We only need to define LOG_DEBUG in a file to activate all the
traces generated by any U-Boot debug macro, as it is described in
/doc/develop/logging.rst
Signed-off-by: Patrick Delaunay
nvironment for STMicroelectronics boards.
Fixes: 806c4dd31532 ("configs: stm32mp1: set the console variable for
extlinux.conf")
Reported-by: Gatien CHEVALLIER
Signed-off-by: Patrick Delaunay
---
include/configs/stm32mp15_st_common.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
nit()
This code was initially copied from 'board/st/stm32mp1/stm32mp1.c'
but after your patch I think it is not needed.
Anyway for this device tree patch
Reviewed-by: Patrick Delaunay
Thanks
Patrick
Add the node for SCMI firmware with the associated reserved memory nodes
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp13-u-boot.dtsi | 20 +++
arch/arm/dts/stm32mp131.dtsi | 31 ++
2 files changed, 51 insertions(+)
diff --git a/arch
Add the node for OP-TEE firmware with the associated reserved memory nodes
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp13-u-boot.dtsi | 4
arch/arm/dts/stm32mp131.dtsi | 7 +++
arch/arm/dts/stm32mp135f-dk.dts| 11 +++
3 files changed, 22 insertions
Add support for new compatible st,stm32mp1-rcc-secure used when the
RCC resource is managed by secured world (RCC_TZCR.TZEN=1)
iand when SCMI is used.
Signed-off-by: Patrick Delaunay
---
drivers/misc/stm32_rcc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/misc/stm32_rcc.c b
I services, reset and clock.
These device trees are only supported with stm32mp15_defconfig,
with OP-TEE, SCMI and without SPL support.
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/Makefile | 4 +
arch/arm/dts/stm32mp15-scmi-u-boot.dtsi | 167 ++
LSE SCMI clock on DK1/ED1 STM32 board
- ARM: dts: stm32: delete fixed clock node on STM32MP15-SCMI
- ARM: dts: stm32: add missing usbh clock and fix clk order on stm32mp15
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp15-pinctrl.dtsi | 64
arch/arm/dts/stm32mp15
With support of SCMI in OP-TEE, the early malloc usage
increase, the associated defined CONFIG_SYS_MALLOC_F_LEN
need to be increased.
For example, for stm32mp15_defconfig and
stm32mp157c-dk2-scmi.dtsi, we have:
Early malloc usage: 14098 / 8
Signed-off-by: Patrick Delaunay
---
configs
connection timeout on
some USB device; normally the env variable "usb_pgood_delay" is used
to delay the first query after power ON and thus the device answer,
but this variable not to increase the connection timeout delay.
Signed-off-by: Patrick Delaunay
---
Hi,
I think this patch so
Introduce define for connection timeout, named HUB_DEBOUNCE_TIMEOUT
as in linux kernel drivers/usb/core/hub.c
Signed-off-by: Patrick Delaunay
---
common/usb_hub.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/common/usb_hub.c b/common/usb_hub.c
index ba11a188ca6
, is linked with the define LOG_DEBUG, used to force the
trace generated by other macros (log_debug, dev_dbg, pr_debug).
We only need to define LOG_DEBUG in a file to activate all the
traces generated by any U-Boot debug macro, as it is described in
/doc/develop/logging.rst
Signed-off-by: Patrick Delaunay
Reorder include files in the U-Boot expected order.
Signed-off-by: Patrick Delaunay
---
drivers/net/dwc_eth_qos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index 0c2ba206056..97279839baf 100644
--- a/drivers/net
the current behavior when the descriptors
can be cache-aligned with the field "Descriptor Skip Length" of
the DMA channel control register, when eqos->desc_pad = true.
Signed-off-by: Patrick Delaunay
---
This patch is required for ETH support on STM32MP13x family
with AXI_WIDTH_32 value
Hi,
On 6/30/22 10:16, Patrick Delaunay wrote:
Add support of STM32MP13x Rev.Y for the Silicon revision REV_ID = 0x1003.
Signed-off-by: Patrick Delaunay
---
Changes in v2:
- fix value of CPU_REV1_2 = 0x1003, because minor version in REV_ID
is bitfield at SoC level (0 = 0, 1 = 1, 2 = 3, 3
Activate the I2C driver in STM32MP13x config.
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
configs/stm32mp13_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig
index 9b0c5a36b04..f58c73b7c79 100644
Activate useful commands in STM32MP13x config, already activated in
stm32mp15_defconfig.
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
configs/stm32mp13_defconfig | 16
1 file changed, 16 insertions(+)
diff --git a/configs/stm32mp13_defconfig b/configs
Activate the RTC driver in STM32MP13x config.
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
configs/stm32mp13_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig
index 3fa1642b2e4..9b0c5a36b04 100644
Activate the RNG driver provided by OP-TEE.
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
configs/stm32mp13_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig
index b5dcec78f51..3fa1642b2e4 100644
301 - 400 of 3424 matches
Mail list logo