[PATCH v3 7/9] watchdog: ulp_wdog: Use driver model for reset_cpu()

Peng Fan peng.fan at oss.nxp.com
Wed May 13 10:52:38 CEST 2026


On Tue, May 12, 2026 at 11:10:14AM +0800, alice.guo at oss.nxp.com wrote:
>From: Alice Guo <alice.guo at nxp.com>
>
>Replace hardcoded WDOG_BASE_ADDR with driver model based dynamic address
>lookup from device tree.
>
>- Remove hardcoded WDOG_BASE_ADDR from hw_watchdog_* functions
>- Reimplement reset_cpu() using UCLASS_WDT device iteration
>- Add ulp_wdt_expire_now() callback for standard WDT interface
>- Pass wdog register pointer to hw_watchdog_set_timeout()

In theory, patch 9 shoud be merge with this patch to avoid git bisect issues.
or switch to uclass_wdt step by step.

Because without patch 9, reset_cpu will not work if people are doing git bisect.

Or I may miss something.

Regards
Peng


More information about the U-Boot mailing list