aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorStephan Gerhold <[email protected]>2022-06-29 10:48:15 +0200
committerWim Van Sebroeck <[email protected]>2022-07-23 14:21:28 +0200
commite7c54a412f49e9a9b8145d96a34ff3a06375dd43 (patch)
treee20a3fbde9b1cc608a513f513991430f551a2bc6 /drivers/usb/cdns3/cdns3-trace.c
parent4e5b406514fce00b16b7fc8cc5a6c9ec51518b0a (diff)
watchdog: pm8916_wdt: Report reboot reason
The PM8916 PMIC provides "power-off reason" (POFF_REASON) registers to allow detecting why the board was powered off or rebooted. This can be used to expose if a reset happened due to a watchdog timeout. The watchdog API also provides status bits for overtemperature and undervoltage which happen to be reported in the same PMIC register. Make this information available as part of the watchdog device so userspace can decide to handle the situation accordingly. Signed-off-by: Stephan Gerhold <[email protected]> Reviewed-by: Loic Poulain <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions