Home
last modified time | relevance | path

Searched hist:dff60fe87e9d146f468712f2b9e44fb0b378433f (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dstm32_iwdg.cdff60fe87e9d146f468712f2b9e44fb0b378433f Tue May 21 10:11:58 UTC 2024 Clément Le Goffic <clement.legoffic@foss.st.com> drivers: stm32_iwdg: add stop watchdog handler

Implement .stop watchdog handler in order to allow the platform to
`halt` well.

The platform does not allow a way to stop an IWDG once started but a
solution exists.
We disable the platform reset ability of the IWDG we use and the IRQ
associated if the reset property is present in the DT.

Be careful, on STM32MP2 platforms, in A35TDCID, the system reset of the
IWDG1 cannot be disabled. Therefore, only the IWDG2 can be stopped.
The same behavior applies for IWDG3 in M33TDCID, you'll have to use the
IWDG4.

Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>