watchdog: sama5d4_wdt: addition of sam9x60 compatible watchdog
authorEugen Hristev <eugen.hristev@microchip.com>
Mon, 18 Nov 2019 08:50:36 +0000 (08:50 +0000)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 27 Jan 2020 14:55:44 +0000 (15:55 +0100)
commitbb44aa09e53960c0230a645144fe566e094a2a02
tree3024a9076e1716c39a848ab65c45ac142bc6ded3
parentd5226fa6dbae0569ee43ecfc08bdcd6770fc4755
watchdog: sama5d4_wdt: addition of sam9x60 compatible watchdog

Add support for SAM9X60 WDT into sama5d4_wdt.
This means that this driver gets a flag inside the data struct
that represents the sam9x60 support.
This flag differentiates between the two hardware blocks, and is set
according to the compatible of the driver instantiation.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1574067012-18559-3-git-send-email-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/at91sam9_wdt.h
drivers/watchdog/sama5d4_wdt.c