mbox series

[0/3] watchdog: pm8916_wdt: Some minor improvements

Message ID 20220627111432.2625168-1-stephan.gerhold@kernkonzept.com
Headers show
Series watchdog: pm8916_wdt: Some minor improvements | expand

Message

Stephan Gerhold June 27, 2022, 11:14 a.m. UTC
Optimize the pm8916_wdt.c driver a bit by pinging the watchdog using a
write instead of read-modify-write. Also report the reboot reason to
userspace and (temporarily) ping the watchdog from the kernel if it was
already enabled by the bootloader.

Stephan Gerhold (3):
  watchdog: pm8916_wdt: Avoid read of write-only PET register
  watchdog: pm8916_wdt: Report reboot reason
  watchdog: pm8916_wdt: Handle watchdog enabled by bootloader

 drivers/watchdog/pm8916_wdt.c | 36 +++++++++++++++++++++++++++++++----
 1 file changed, 32 insertions(+), 4 deletions(-)