Andrej Picej e42c73f1ef watchdog: imx2_wdg: suspend watchdog in WAIT mode
Putting device into the "Suspend-To-Idle" mode causes watchdog to
trigger and resets the board after set watchdog timeout period elapses.

Introduce new device-tree property "fsl,suspend-in-wait" which suspends
watchdog in WAIT mode. This is done by setting WDW bit in WCR
(Watchdog Control Register). Watchdog operation is restored after
exiting WAIT mode as expected. WAIT mode corresponds with Linux's
"Suspend-To-Idle".

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20221104070358.426657-2-andrej.picej@norik.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2023-02-18 15:11:39 +01:00
..
2022-12-13 15:22:14 -08:00
2023-02-03 11:35:42 -08:00
2023-01-12 17:02:20 -06:00
2022-12-19 07:13:33 -06:00
2023-01-12 05:56:06 -06:00
2023-02-03 10:25:41 -08:00
2022-12-30 10:49:52 +08:00
2023-01-27 14:05:38 +01:00
2023-02-03 10:09:55 -08:00
2023-01-18 14:44:32 -08:00
2022-12-13 13:09:38 -08:00
2022-12-11 21:25:58 +01:00
2023-01-29 11:06:47 -08:00
2023-01-27 16:09:12 -08:00
2022-12-21 09:19:24 -08:00
2023-02-03 11:35:42 -08:00
2023-01-13 17:32:22 -06:00
2022-12-13 15:47:48 -08:00
2022-12-21 09:41:28 -08:00
2023-01-06 13:12:42 -08:00
2023-01-31 11:39:08 -08:00
2023-01-10 23:09:09 +01:00
2022-12-19 08:47:33 -06:00
2022-12-12 10:17:08 -08:00
2023-02-05 11:43:00 -08:00
2022-12-16 03:49:24 -08:00
2023-01-12 17:02:20 -06:00