summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sama5d4_wdt.c
diff options
context:
space:
mode:
authorHenning Schild <henning.schild@siemens.com>2022-08-24 17:24:48 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2022-10-02 12:55:34 +0200
commit5a9fbf8b807c0e35fc99bb65a9559ec9b0abde66 (patch)
treea328fc0356729de0437ab6112630ad22a5315427 /drivers/watchdog/sama5d4_wdt.c
parentdt-bindings: watchdog: Convert Xilinx watchdog bindings to json-schema (diff)
downloadlinux-5a9fbf8b807c0e35fc99bb65a9559ec9b0abde66.tar.xz
linux-5a9fbf8b807c0e35fc99bb65a9559ec9b0abde66.zip
watchdog: w83627hf_wdt: add bootstatus support
The status bit in the status and control register can tell us whether the last reboot was caused by the watchdog. Make sure to take that into the bootstatus before clearing it. Signed-off-by: Henning Schild <henning.schild@siemens.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20220824152448.7736-1-henning.schild@siemens.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/sama5d4_wdt.c')
0 files changed, 0 insertions, 0 deletions