Re: [PATCH v4 2/2] watchdog: dw_wdt: manage reset line during system suspend/resume

From: Guenter Roeck

Date: Mon Oct 26 2026 - 19:01:42 EST


On Sat, Oct 24, 2026 at 05:08:51PM +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>
> Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
> Signed-off-by: Artem Shimko <a.shimko.dev@xxxxxxxxx>

Applied.

Thanks,
Guenter