watchdog: sama5d4_wdt: add support for sama7g5-wdt
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 27 May 2021 10:01:19 +0000 (13:01 +0300)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 21 Jun 2021 06:49:16 +0000 (08:49 +0200)
commit5ae233fba8edee84fdd70e72a69bb7a41a273194
tree4a8e7abb6c62322503e04d14586a0f571cb1e7a8
parent13b191692d917b62d50c3956ed9c6ef3d0fbb001
watchdog: sama5d4_wdt: add support for sama7g5-wdt

Add support for compatible sama7g5-wdt.
The sama7g5 wdt is the same hardware block as on sam9x60.
Adapt the driver to use the sam9x60/sama7g5 variant if either
of the two compatibles are selected (sam9x60-wdt/sama7g5-wdt).

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210527100120.266796-2-eugen.hristev@microchip.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/sama5d4_wdt.c