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(-) -- 2.30.2