diff options
author | Chen-Yu Tsai <[email protected]> | 2014-09-22 00:05:18 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2014-10-20 21:06:59 +0200 |
commit | f2147de334703c7c44372f013d7d466d756e6943 (patch) | |
tree | e6389b695cb90c96ad48e125d691b3f46a54b9b6 /lib/memory-notifier-error-inject.c | |
parent | 334a9d8131254e06685b2af0c0f3cc7b3ec5bd04 (diff) |
watchdog: sunxi: support parameterized compatible strings
This patch adds support for hardware parameters tied to compatible
strings, so similar hardware can reuse the driver.
This will be used to support the newer watchdog found in A31 and
later SoCs. Differences in the new hardware include separate
interrupt lines for each watchdog, and corresponding interrupt
control/status registers. Watchdog control registers were also
slightly rearranged.
Also replace ioread32()/iowrite32() with readl()/writel() in various
places changed.
Signed-off-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Heiko Stuebner <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions