diff options
author | Andrej Picej <[email protected]> | 2022-11-04 08:03:56 +0100 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-02-18 15:11:39 +0100 |
commit | e42c73f1ef0da5970a71f98440193fa9b1e9fb86 (patch) | |
tree | 1cecd519166e49187e0b2764d12756ab11c59599 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7d06c07c67100fd0f8e6b3ab7145ce789f788117 (diff) |
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 <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions