aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/watchdog
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-02-28 16:12:18 -0500
committerWim Van Sebroeck <wim@iguana.be>2016-03-16 16:11:19 -0400
commit15013ad813f6544be8e79afc23672745950d59bc (patch)
tree8cb6da1a21407a0a30d8430fb10a6993863c371b /Documentation/watchdog
parentd0684c8a9354953efdea214b437445c00743cf49 (diff)
watchdog: Add support for minimum time between heartbeats
Some watchdogs require a minimum time between heartbeats. Examples are the watchdogs in DA9062 and AT91SAM9x. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'Documentation/watchdog')
-rw-r--r--Documentation/watchdog/watchdog-kernel-api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/watchdog/watchdog-kernel-api.txt b/Documentation/watchdog/watchdog-kernel-api.txt
index 9eabca1d9355..917eeeabfa5e 100644
--- a/Documentation/watchdog/watchdog-kernel-api.txt
+++ b/Documentation/watchdog/watchdog-kernel-api.txt
@@ -52,6 +52,7 @@ struct watchdog_device {
52 unsigned int timeout; 52 unsigned int timeout;
53 unsigned int min_timeout; 53 unsigned int min_timeout;
54 unsigned int max_timeout; 54 unsigned int max_timeout;
55 unsigned int min_hw_heartbeat_ms;
55 unsigned int max_hw_heartbeat_ms; 56 unsigned int max_hw_heartbeat_ms;
56 struct notifier_block reboot_nb; 57 struct notifier_block reboot_nb;
57 struct notifier_block restart_nb; 58 struct notifier_block restart_nb;
@@ -81,6 +82,8 @@ It contains following fields:
81* max_timeout: the watchdog timer's maximum timeout value (in seconds), 82* max_timeout: the watchdog timer's maximum timeout value (in seconds),
82 as seen from userspace. If set, the maximum configurable value for 83 as seen from userspace. If set, the maximum configurable value for
83 'timeout'. Not used if max_hw_heartbeat_ms is non-zero. 84 'timeout'. Not used if max_hw_heartbeat_ms is non-zero.
85* min_hw_heartbeat_ms: Minimum time between heartbeats sent to the chip,
86 in milli-seconds.
84* max_hw_heartbeat_ms: Maximum hardware heartbeat, in milli-seconds. 87* max_hw_heartbeat_ms: Maximum hardware heartbeat, in milli-seconds.
85 If set, the infrastructure will send heartbeats to the watchdog driver 88 If set, the infrastructure will send heartbeats to the watchdog driver
86 if 'timeout' is larger than max_hw_heartbeat_ms, unless WDOG_ACTIVE 89 if 'timeout' is larger than max_hw_heartbeat_ms, unless WDOG_ACTIVE