Re: [PATCH v4 06/15] ARM: stm32: enable arm smc watchdog on stm32mp1xx
From: Guenter Roeck
Date: Mon Nov 16 2026 - 09:33:38 EST
On 11/16/26 05:24, Antonio Borneo wrote:
The watchdog IWDG1 is secure by default on STM32MP1xx SoCs.
On boards that keep it secure, Linux must use the arm,smc-wdt
driver to ping it.
Enable the driver for mach-stm32 when ARCH_MULTI_V7 is enabled.
As mentioned before, that doesn't just enable it for STM32MP1xx SoCs,
it force-enables it for all boards running ARCH_MULTI_V7. It also
goes well beyond the current scope of "if ARCH_MULTI_V7" configurations.
I would suggest NACK for that reason, but that isn't my call to make.
Guenter
Signed-off-by: Antonio Borneo <antonio.borneo@xxxxxxxxxxx>
---
arch/arm/mach-stm32/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
index 4ac3384e397aa..de09b2afa0f2e 100644
--- a/arch/arm/mach-stm32/Kconfig
+++ b/arch/arm/mach-stm32/Kconfig
@@ -13,6 +13,8 @@ menuconfig ARCH_STM32
select RESET_CONTROLLER
select STM32_EXTI if ARM_SINGLE_ARMV7M
select STM32_FIREWALL
+ select WATCHDOG if ARCH_MULTI_V7
+ select ARM_SMC_WATCHDOG if ARCH_MULTI_V7
help
Support for STMicroelectronics STM32MP1 processors using Cortex-A7
cores. Note that support for the earlier Cortex-M based variants