linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] watchdog: sunxi: Add A31 watchdog support
@ 2014-09-16 14:42 Chen-Yu Tsai
  2014-09-16 14:42 ` [PATCH 1/2] watchdog: sunxi: support parameterized compatible strings Chen-Yu Tsai
  2014-09-16 14:42 ` [PATCH 2/2] watchdog: sunxi: Add A31 watchdog support Chen-Yu Tsai
  0 siblings, 2 replies; 7+ messages in thread
From: Chen-Yu Tsai @ 2014-09-16 14:42 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

This series adds support for the watchdog hardware found in Allwinner A31
and later SoCs. These new chips have multiple watchdogs, with separate
interrupt lines and registers, but the basic layout and operation is the
same. This series is based on Guenter's restart handler series.

Patch 1 prepares the sunxi-wdt driver for varying register offsets tied to
compatible strings.

Patch 2 adds the sun6i compatible string with accompanying register offset
data.

I tested this series on my Cubieboard (sun4i) and A23 tablet (sun8i), which
has the same watchdog hardware as the A31 (sun6i). This covers the 2 classes
of hardware supported.

After this series is merged, we can remove the power/reset driver for sun6i.


Cheers
ChenYu


Chen-Yu Tsai (2):
  watchdog: sunxi: support parameterized compatible strings
  watchdog: sunxi: Add A31 watchdog support

 drivers/watchdog/sunxi_wdt.c | 111 +++++++++++++++++++++++++++++++++----------
 1 file changed, 86 insertions(+), 25 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-21 15:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-16 14:42 [PATCH 0/2] watchdog: sunxi: Add A31 watchdog support Chen-Yu Tsai
2014-09-16 14:42 ` [PATCH 1/2] watchdog: sunxi: support parameterized compatible strings Chen-Yu Tsai
2014-09-19  4:54   ` Guenter Roeck
2014-09-19 14:00     ` Chen-Yu Tsai
2014-09-19 15:40       ` Guenter Roeck
2014-09-21 15:49         ` Chen-Yu Tsai
2014-09-16 14:42 ` [PATCH 2/2] watchdog: sunxi: Add A31 watchdog support Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).