summaryrefslogtreecommitdiff
path: root/include/linux/mfd/max77660
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-03-26 15:49:03 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:05:49 -0700
commit5e0fd1d7466be09c7a6d55ab74658e81c9aefc48 (patch)
treeebffe39c98fed86c5713ad8c6ca8040526b6cecb /include/linux/mfd/max77660
parent9cf07356933a239fa9f29ea8b219dc4993a6ccf5 (diff)
watchdog: max77660: provide mechanism for resetting WDT in kthread
The Maxim77660 system watchdog timer generates interrupt 2 second before it expire. Within this 2 second, it need to reset the timer. Sometime, on cpu stress, it is not possible to reset wdt in 2 sec and in this case it is require to have more time. Add high priority kthread which run on more faster way and reset wdt in much advance of expire. The time offset is configurable through platform data. Change-Id: I7610bc301889c0e9397868c990594ee7374948f0 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/212999 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'include/linux/mfd/max77660')
-rw-r--r--include/linux/mfd/max77660/max77660-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/max77660/max77660-core.h b/include/linux/mfd/max77660/max77660-core.h
index ff8fbb36535a..73421a0ca661 100644
--- a/include/linux/mfd/max77660/max77660-core.h
+++ b/include/linux/mfd/max77660/max77660-core.h
@@ -876,6 +876,7 @@ struct max77660_platform_data {
bool use_power_off;
int system_watchdog_timeout;
+ int system_watchdog_reset_timeout;
bool led_disable;
struct max77660_pwm_dvfs_init_data dvfs_pd;
};