watchdog: add documentation for PM usage

Add the first rule we recently agreed on.

Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
Wolfram Sang 2018-12-17 20:33:14 +01:00 • committed by Wim Van Sebroeck
commit e536f7304b

View file

@ -0,0 +1,19 @@
The Linux WatchDog Timer Power Management Guide
===============================================
Last reviewed: 17-Dec-2018
Wolfram Sang <[email protected]>
Introduction
------------
This document states rules about watchdog devices and their power management
handling to ensure a uniform behaviour for Linux systems.
Ping on resume
--------------
On resume, a watchdog timer shall be reset to its selected value to give
userspace enough time to resume. [1] [2]
[1] https://patchwork.kernel.org/patch/10252209/
[2] https://patchwork.kernel.org/patch/10711625/