]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3095b05ee9dcccea02e3fcb768a5356bd055660
treeca53144cbd4828c4b154bf95ec802b3f910662de
parentb29210682be3459394f58ca13c8826824e6f54d1
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