watchdog: Remove BCM63XX_WDT
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 12 Nov 2021 22:46:36 +0000 (14:46 -0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 28 Dec 2021 13:03:03 +0000 (14:03 +0100)
commitf8d9ba7fedd2a5c21759ce3f39a37663c895d3dd
treefecf1049334c576895c77b74a98cbe2431b6b04c
parentb844f9181b4a1014d501a26dc25b39f363626b8c
watchdog: Remove BCM63XX_WDT

Now that we can utilize the BCM7038_WDT driver, remove that one which
was not converted to the watchdog APIs. There are a couple of notable
differences with how the bcm7038_wdt driver proceeds:

- bcm63xx_wdt would register with the ad-hoc BCM63xx hardware timer API,
  but this would only be used in order to catch the interrupt *before* a
  SoC reset and make the kernel "die"

- bcm6xx_wdt would register a software timer and kick it every second in
  order to pet the watchdog, thus offering a two step watchdog process.
  This is not something that is brought over to the bcm7038_wdt as it is
  deemed unnecessary. If user-space cannot pet the watchdog, but a
  kernel timer can, the system is still in a bad shape anyway.

bcm7038_wdt is simpler in its behavior and behaves as a standard
watchdog driver and is not making use of any specific platform APIs,
therefore making it more maintainable and extensible.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211112224636.395101-8-f.fainelli@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/bcm63xx_wdt.c [deleted file]