watchdog: davinci: add GET_TIMELEFT option support
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
Wed, 4 Dec 2013 19:39:28 +0000 (21:39 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 28 Jan 2014 20:19:58 +0000 (21:19 +0100)
commita771994901bde73779c94ec558b95c75bc2c7518
treec48c68bf5d83148ec647e83d38844e1b0910356d
parent6d9a6cf5c63fe4f08b05fc53f7a17048df86d3ac
watchdog: davinci: add GET_TIMELEFT option support

Currently, the davinci watchdog can be read while counting,
so we can add ability to report the remaining time before
the system will reboot.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/davinci_wdt.c