watchdog: pnx4008: add support for soft reset
authorSylvain Lemieux <slemieux@tycoint.com>
Fri, 4 Mar 2016 18:44:07 +0000 (13:44 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 16 Mar 2016 20:09:41 +0000 (21:09 +0100)
commit25b286c02defa26b136818b17909789102225aa8
tree03ca8da652a465001ab8a249d03b054f981759eb
parent4ed5443d9175f4b6008ca18601672c812a1fe93b
watchdog: pnx4008: add support for soft reset

Add support for explicit soft reset using the reboot mode.

The default reboot mode behavior is unchanged;
you can overwrite the default reboot type in the board specific file
"DT_MACHINE_START" definition using the "reboot_mode" parameter.

Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/pnx4008_wdt.c