Re: [PATCH v3 2/2] watchdog: dw_wdt: manage reset line during system suspend/resume
From: Tzung-Bi Shih
Date: Sat Oct 24 2026 - 09:20:15 EST
On Sat, Oct 24, 2026 at 03:14:24PM +0300, Artem Shimko wrote:
> The watchdog controller reset line is not currently managed during system
> suspend/resume. This can lead to an inconsistent hardware state when
> resuming from suspend, as the controller may not be properly reinitialized.
>
> Assert the reset line before disabling clocks during suspend to ensure
> the controller is held in reset while power is gated. During resume,
> deassert the reset after clocks are enabled and before restoring register
> state to guarantee the controller is properly initialized.
>
> Tested-by: Igor Velkov <iav@xxxxxx>
> Signed-off-by: Artem Shimko <a.shimko.dev@xxxxxxxxx>
Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>