[PATCH v2 1/2] watchdog: sunxi: support parameterized compatible strings

Guenter Roeck linux at roeck-us.net
Sun Sep 21 09:32:26 PDT 2014


On 09/21/2014 09:05 AM, Chen-Yu Tsai wrote:
> 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 <wens at csie.org>

Reviewed-by: Guenter Roeck <linux at roeck-us.net>




More information about the linux-arm-kernel mailing list