]> git.ipfire.org Git - thirdparty/u-boot.git/commit
watchdog: stm32mp: check the watchdog status
authorClément Le Goffic <clement.legoffic@foss.st.com>
Fri, 23 May 2025 09:46:57 +0000 (11:46 +0200)
committerStefan Roese <stefan.roese@mailbox.org>
Wed, 30 Jul 2025 06:01:11 +0000 (08:01 +0200)
commit4bef031d6991def2afc297caf0da5c7d4a680663
tree3d684cf2fe69f874e11972a715ee9213152f629c
parent6319fabe32e76d72ceb60176b63cf8a46e78d4df
watchdog: stm32mp: check the watchdog status

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 <clement.legoffic@foss.st.com>
Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/watchdog/stm32mp_wdt.c