Re: [PATCH v3] rtc: ds1307: provide an indication that the watchdog has fired

2020-08-04 Thread Alexandre Belloni
On Mon, 27 Jul 2020 15:46:14 +1200, Chris Packham wrote: > There's not much feedback when the ds1388 watchdog fires. Generally it > yanks on the reset line and the board reboots. Capture the fact that the > watchdog has fired in the past so that userspace can retrieve it via > WDIOC_GETBOOTSTATUS.

Re: [PATCH v3] rtc: ds1307: provide an indication that the watchdog has fired

2020-07-27 Thread Guenter Roeck
On 7/26/20 8:46 PM, Chris Packham wrote: > There's not much feedback when the ds1388 watchdog fires. Generally it > yanks on the reset line and the board reboots. Capture the fact that the > watchdog has fired in the past so that userspace can retrieve it via > WDIOC_GETBOOTSTATUS. This should help

[PATCH v3] rtc: ds1307: provide an indication that the watchdog has fired

2020-07-26 Thread Chris Packham
There's not much feedback when the ds1388 watchdog fires. Generally it yanks on the reset line and the board reboots. Capture the fact that the watchdog has fired in the past so that userspace can retrieve it via WDIOC_GETBOOTSTATUS. This should help distinguish a watchdog triggered reset from a po