OSDN Git Service

watchdog: loongson1_wdt: Implement restart handler
authorKeguang Zhang <keguang.zhang@gmail.com>
Thu, 30 Mar 2023 11:20:51 +0000 (19:20 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 22 Apr 2023 14:05:38 +0000 (16:05 +0200)
commit2a31bf20808aa3642a942ab9ce421ebb7585eb3a
tree9082040139d8045cd8d057e4ab415aff2b48032c
parentd0ee0e8aa97e6e1d443eaab8c94d580d0a6f5a89
watchdog: loongson1_wdt: Implement restart handler

Implement restart handler for the Loongson-1 watchdog driver and
define the watchdog registers instead of including the legacy header.

Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230330112051.551648-3-keguang.zhang@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/loongson1_wdt.c