[COMMON] watchdog: s3c2410_wdt: Add multistage watchdog solution
authorChoi Jaehyoung <jkkkkk.choi@samsung.com>
Mon, 25 Sep 2017 08:30:30 +0000 (17:30 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Fri, 11 May 2018 01:20:29 +0000 (10:20 +0900)
commitc7fc446523d2781f1533eeac95a98767135d4d8d
treee37d8db8126b47b31bab4ddda08caf86c0f88ddb
parenta521f2b0ad2722ac8fe1450d198bd7c99610ba73
[COMMON] watchdog: s3c2410_wdt: Add multistage watchdog solution

Multistage watchdog is a debugging solution using FIQ
when dumpGPR using reset is not available.

Multistage watchdog has a following policies.

1. Multistage watchdog is big cluster watchdog.
2. When little cluster watchdog is started,
   multistage watchdog is also started.
3. However, if the panic function runs a little cluster watchdog,
   then the multistage watchdog should be turned off.

Change-Id: I0c45d07b80c3b75848b1f1bc3259dc7faf5c63da
Signed-off-by: Choi Jaehyoung <jkkkkk.choi@samsung.com>
drivers/watchdog/s3c2410_wdt.c