watchdog: sunxi: Add A31 watchdog support
authorChen-Yu Tsai <wens@csie.org>
Sun, 21 Sep 2014 16:05:19 +0000 (00:05 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 20 Oct 2014 19:07:14 +0000 (21:07 +0200)
commitc5ec618fbf83045b9d51679d809ddd45f990fe0a
treeca53144cbd4828c4b154bf95ec802b3f910662de
parentf2147de334703c7c44372f013d7d466d756e6943
watchdog: sunxi: Add A31 watchdog support

This patch adds support for the watchdog hardware found in A31 and
newer SoCs. This new hardware has registers at different offsets, and
the system reset control has been split out of the "mode" register
into a new "configuration" register.

Differences not supported by this driver include separate interrupt
lines for each watchdog, instead of sharing an interrupt line and
registers with the timer block.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sunxi_wdt.c