]> git.karo-electronics.de Git - linux-beck.git/commit
watchdog: imgpdc: Add reboot support
authorAndrew Bresticker <abrestic@chromium.org>
Fri, 3 Apr 2015 17:05:22 +0000 (10:05 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 22 Jun 2015 13:54:14 +0000 (15:54 +0200)
commitc631f20068369a8b901574df9c7bfc57ce13de75
treedfd20ca844fdb97eb3a00b61d011e0898aa21187
parent8aa453a533faf383fe711aa8dedcf421563ddf66
watchdog: imgpdc: Add reboot support

Register a restart handler that will restart the system by writing
to the watchdog's SOFT_RESET register.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/imgpdc_wdt.c