]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
watchdog: add documentation for PM usage
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 17 Dec 2018 19:33:14 +0000 (20:33 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 24 Dec 2018 12:15:06 +0000 (13:15 +0100)
Add the first rule we recently agreed on.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Documentation/watchdog/watchdog-pm.txt [new file with mode: 0644]

diff --git a/Documentation/watchdog/watchdog-pm.txt b/Documentation/watchdog/watchdog-pm.txt
new file mode 100644 (file)
index 0000000..7a4dd46
--- /dev/null
@@ -0,0 +1,19 @@
+The Linux WatchDog Timer Power Management Guide
+===============================================
+Last reviewed: 17-Dec-2018
+
+Wolfram Sang <wsa+renesas@sang-engineering.com>
+
+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/