On 2026-08-12T09:48:39, Juuso Rinta <[email protected]> wrote: > watchdog: sandbox_wdt: set max_timeout_ms in probe > > Add a SANDBOX_WDT_MAX_TIMEOUT_MS define to sandbox asm/state.h > to emulate a hardware-limited maximum timeout. > > Clamp the timeout_ms in sandbox_wdt_start() to the defined max > timeout value for testability. > > Report the maximum timeout value to the wdt uclass by setting > max_timeout_ms in the per-device uclass-plat data during > sandbox_wdt_probe(). > > Signed-off-by: Juuso Rinta <[email protected]> > > arch/sandbox/include/asm/state.h | 2 ++ > drivers/watchdog/sandbox_wdt.c | 15 +++++++++++++++ > 2 files changed, 17 insertions(+)
Reviewed-by: Simon Glass <[email protected]>
