mbox series

[0/2] watchdog: rti: adjust initial ping for attach

Message ID 20200624114534.1362-1-t-kristo@ti.com (mailing list archive)
Headers show
Series watchdog: rti: adjust initial ping for attach | expand

Message

Tero Kristo June 24, 2020, 11:45 a.m. UTC
Hi,

This series fixes attaching the RTI watchdog driver to an already
running timer; it can be started by boot loader for example. In this
case, we must read the current remaining timeout, and adjust the
min_hw_heartbeat based on that so that we don't attempt to either pet
the watchdog too early, or too late.

The reason for all this is because the K3 RTI watchdog runs in windowed
mode only, petting it either too early, or too late causes a watchdog
reset.

-Tero


--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki