[WATCHDOG] it8712f_wdt support for 16-bit timeout values, WDIOC_GETSTATUS
authorAndrew Paprocki <andrew@ishiboo.com>
Mon, 11 Feb 2008 03:11:15 +0000 (22:11 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 6 Mar 2008 11:10:07 +0000 (11:10 +0000)
commit5e69960865ab6033a129f9ee35264adb2a1cfc94
tree0fac0e3ffbbe1e9b2e097bf13e9d4ddd10c357c2
parentd7fe321eeba58f0a37cc4324d10e52092be457e0
[WATCHDOG] it8712f_wdt support for 16-bit timeout values, WDIOC_GETSTATUS

This patch adds support for 16-bit watchdog timeout values which are
available in chip revisions >= 0x08. Values <= 65535 are seconds precision,
otherwise minutes precision is used up to a maximum value of 3932100. Added
implementation for WDIOC_GETSTATUS which checks the WDT status bit in the
WDT control register.

Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/it8712f_wdt.c