Skip to content
Commit 5e699608 authored by Andrew Paprocki's avatar Andrew Paprocki Committed by Wim Van Sebroeck
Browse files

[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: default avatarAndrew Paprocki <andrew@ishiboo.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent d7fe321e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment