[U-Boot] [PATCH 1/2] stm32f4: fix MAINTAINERS file

2015-06-30 Thread Antonio Borneo
ard name. Tested by comparing output of: cat board/st/stm32f429-discovery/MAINTAINERS ./scripts/get_maintainer.pl -f board/st/stm32f429-discovery Signed-off-by: Antonio Borneo To: u-boot@lists.denx.de To: Kamil Lulko Cc: Tom Rini --- board/st/stm32f429-discovery/MAINTAINERS | 1

[U-Boot] [PATCH 2/2] stm32f4: fix minor typo in comment

2015-06-30 Thread Antonio Borneo
Signed-off-by: Antonio Borneo To: u-boot@lists.denx.de To: Kamil Lulko Cc: Tom Rini --- include/configs/stm32f429-discovery.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h index 46869dd

[U-Boot] [PATCH] stm32f4: fix gpio description in comment

2015-07-01 Thread Antonio Borneo
On STM32F429 gpio PC6/PC7 can be allocated for USART6, as reported in the comment. But current code in drivers/serial/serial_stm32.c uses a different gpio mapping (PG14/PG9) for USART6. Fix the comment to match current code in the driver. Signed-off-by: Antonio Borneo To: u-boot

[U-Boot] [RFC] STM32F429: Change flash layout

2015-07-19 Thread Antonio Borneo
STM32F429 has a peculiar arrangement for flash sector size. Starting at 0x0800, the sectors are (total flash size is 2M): (4 x 16K) + (1 x 64K) + (7 x 128K) + (4 x 16K) + (1 x 64K) + (7 x 128K) Current U-Boot code for STM32F429 uses the following flash layout: - 0x0800 : U-Boot (256K) - 0x

[U-Boot] [PATCH 1/3] stm32f429: pass the device unique ID in DTB

2015-07-19 Thread Antonio Borneo
commit is already mainline since v4.1-rc1. Signed-off-by: Antonio Borneo To: Albert Aribaud To: Tom Rini To: Kamil Lulko Cc: u-boot@lists.denx.de --- arch/arm/include/asm/arch-stm32f4/stm32.h | 10 ++ board/st/stm32f429-discovery/stm32f429-discovery.c | 19 ++

[U-Boot] [PATCH 2/3] stm32f4: add cpu clock option for 180 MHz

2015-07-19 Thread Antonio Borneo
While most stm32f4 run at 168 MHz, stm32f429 can work till 180 MHz. Add option to select 180 MHz through macro CONFIG_SYS_CLK_FREQ. Signed-off-by: Antonio Borneo To: Albert Aribaud To: Tom Rini To: Kamil Lulko Cc: u-boot@lists.denx.de --- arch/arm/cpu/armv7m/stm32f4/clock.c | 34

[U-Boot] [PATCH 3/3] stm32f429: use 180 MHz system clock

2015-07-19 Thread Antonio Borneo
Mainline Linux kernel commit 338a6aaabc02fa63b70441dd0e1b70aea64673c6 (ARM: dts: Introduce STM32F429 MCU) in arch/arm/boot/dts/stm32f429.dtsi requires U-Boot to set system clock to 180 MHz. Signed-off-by: Antonio Borneo To: Albert Aribaud To: Tom Rini To: Kamil Lulko Cc: u-boot@lists.denx.de

Re: [U-Boot] [PATCH 2/7] board: Add STMicroelectronics STiH410-B2260 support

2017-02-02 Thread Antonio Borneo
On Fri, Jan 20, 2017 at 5:05 PM, wrote: > From: Patrice Chotard Hi Patrice, just some minor issue in the commit message > This board is a 96Board based on STMicrolectronics > STiH410 soc: s/STMicrolectronics/STMicroelectronics/ s/soc/SoC/ maybe rework the whole sentence as: This is a 96Boar

[PATCH v2 4/4] watchdog: don't autostart watchdog on STM32MP architecture

2025-05-23 Thread Antonio Borneo
p15_dhcor_basic_defconfig - stm32mp15_dhcor_drc_compact_basic_defconfig - stm32mp15_dhcor_testbench_basic_defconfig Signed-off-by: Patrice Chotard Signed-off-by: Antonio Borneo --- configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig | 1 + configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig | 1 + configs/stm32mp15-mi

[PATCH v2 2/4] watchdog: arm_smc_wdt: get wdt status through SMCWD_GET_TIMELEFT

2025-05-23 Thread Antonio Borneo
when the property 'u-boot,noautostart' is present. Link: https://github.com/OP-TEE/optee_os/commit/a7f2d4bd8632 [1] Signed-off-by: Antonio Borneo --- drivers/watchdog/arm_smc_wdt.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/watchdog/arm_smc_wdt.c

[PATCH v2 0/4] watchdog for STM32MP family

2025-05-23 Thread Antonio Borneo
let U-Boot to autostart the watchdog. V1 ==> V2 - Fix backward compatibility on defconfig based on SPL - Fix inconsistency in the commit message - Rebase on current branch next Antonio Borneo (2): watchdog: wdt-uclass.c: add wdt_set_force_autostart() helper watchdog: arm_smc_wdt: get wdt s

[PATCH v2 1/4] watchdog: wdt-uclass.c: add wdt_set_force_autostart() helper

2025-05-23 Thread Antonio Borneo
be called by the driver's probe() when it detects that the watchdog has already been started and is running. Co-developed-by: Patrice Chotard Signed-off-by: Patrice Chotard Signed-off-by: Antonio Borneo --- drivers/watchdog/wdt-uclass.c | 9 + include/wdt.h

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

2025-05-23 Thread Antonio Borneo
On Thu, 2025-05-22 at 11:53 +0200, Patrick DELAUNAY wrote: > 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 cas

[PATCH v2 3/4] watchdog: stm32mp: check the watchdog status

2025-05-23 Thread Antonio Borneo
From: Clément Le Goffic Add a mean to check the IWDG status based on the peripheral version. This is done by either checking the status bit ONF either by updating the reload register with the same value and check if the reload succeed. Signed-off-by: Clément Le Goffic Signed-off-by: Antonio

[PATCH 2/4] watchdog: arm_smc_wdt: get wdt status through SMCWD_GET_TIMELEFT

2025-05-21 Thread Antonio Borneo
when the property 'u-boot,noautostart' is present. Link: https://github.com/OP-TEE/optee_os/commit/a7f2d4bd8632 [1] Signed-off-by: Antonio Borneo --- drivers/watchdog/arm_smc_wdt.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/watchdog/arm_smc_wdt.c

[PATCH 0/4] watchdog for STM32MP family

2025-05-21 Thread Antonio Borneo
platforms can query the status of the watchdog and use it consequently, set WATCHDOG_AUTOSTART default to 'n' on such platforms. This implies that U-Boot, by default, will respect the status of the watchdog set by a previous boot stage. Antonio Borneo (2): watchdog: wdt-ucl

[PATCH 3/4] watchdog: stm32mp: check the watchdog status

2025-05-21 Thread Antonio Borneo
From: Clément Le Goffic Add a mean to check the IWDG status based on the peripheral version. This is done by either checking the status bit ONF either by updating the reload register with the same value and check if the reload succeed. Signed-off-by: Clément Le Goffic Signed-off-by: Antonio

[PATCH 1/4] watchdog: wdt-uclass.c: add wdt_set_force_autostart() helper

2025-05-21 Thread Antonio Borneo
be called by the driver's probe() when it detects that the watchdog has already been started and is running. Co-developed-by: Patrice Chotard Signed-off-by: Patrice Chotard Signed-off-by: Antonio Borneo --- drivers/watchdog/wdt-uclass.c | 9 + include/wdt.h

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

2025-05-21 Thread Antonio Borneo
From: Patrice Chotard The STM32MP2 boards have watchdog started by a previous boot stage (e.g. bootrom or secure OS), WATCHDOG_AUTOSTART is useless. Prefer to rely on DT properties "u-boot,autostart" or "u-boot,noautostart" if needed. Signed-off-by: Patrice Chotard Si