]> 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)
commit903d7ced5e6acdbf9adfff324a5e47e22b7caeae
treeca53144cbd4828c4b154bf95ec802b3f910662de
parent66427c7a1f36103dd93ee6c482bd715551628138
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