Commit a7ceca43 authored by Primoz Fiser's avatar Primoz Fiser Committed by Wim Van Sebroeck
Browse files

watchdog: da9063: optionally disable watchdog during suspend

Optionally disable watchdog during suspend (if enabled) and re-enable
it upon resume.
This enables boards to sleep without being interrupted by the watchdog.

This patch is based on commit f6c98b08 ("watchdog: da9062: add
power management ops") and commit 8541673d

 ("watchdog: da9062: fix
power management ops") and brings the same functionality to DA9063.

Signed-off-by: default avatarPrimoz Fiser <primoz.fiser@norik.com>
Reviewed-by: default avatarAdam Thomson <DLG-Adam.Thomson.Opensource@dm.renesas.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220422072713.3172345-2-primoz.fiser@norik.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent b1912875
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment