]> git.baikalelectronics.ru Git - uboot.git/commit
watchdog: ulp_wdog: Update watchdog driver for imx93
authorAlice Guo <alice.guo@nxp.com>
Fri, 21 Oct 2022 08:41:16 +0000 (16:41 +0800)
committerStefan Roese <sr@denx.de>
Mon, 24 Oct 2022 09:10:21 +0000 (11:10 +0200)
commit7597c9f3d0aa5b5da37504892db8a56b1f96f773
treeea4b09a6f11d330336bdfdb00bf577c76e7856de
parent8288b5825ae7a0bc39938a1cfd39ca0220deb2a9
watchdog: ulp_wdog: Update watchdog driver for imx93

The WDOG clocks are sourced from the fixed 32KHz (lpo_clk).When the
timeout period exceeds 2 seconds, the value written to the TOVAL
register is larger than 16-bit can represent. Enabling watchdog
prescaler to solve this problem.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/ulp_wdog.c