watchdog: rzg2l_wdt: Add rzv2m support
authorPhil Edworthy <phil.edworthy@renesas.com>
Tue, 23 Aug 2022 09:32:33 +0000 (10:32 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 2 Oct 2022 10:55:37 +0000 (12:55 +0200)
commitec122fd94eeb87b2e906360efe7447362f83e9ae
treed8d3e0c824e39b75a2709cff4269e4712468017a
parentd59913b0a5b6b8c52c8fbceca910d4aedbbd4cf1
watchdog: rzg2l_wdt: Add rzv2m support

The WDT on RZ/V2M devices is basically the same as RZ/G2L, but without
the parity error registers. This means the driver has to reset the
hardware plus set the minimum timeout in order to do a restart and has
a single interrupt.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220823093233.8577-3-phil.edworthy@renesas.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/rzg2l_wdt.c