watchdog: rti_wdt: Set min_hw_heartbeat_ms to accommodate a safety margin
commit 0f733618da334a329c211d690975b12477253dca from git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git commit cae58516 upstream On AM62x, the watchdog is pet before the valid window is open. Fix min_hw_heartbeat and accommodate a 2% + static offset safety margin. The static offset accounts for max hardware error. Remove the hack in the driver which shifts the open window boundary, since it is no longer necessary due to the fix mentioned above. Fixes: 5527483f ("watchdog: rti-wdt: attach to running watchdog during probe") Reviewed-by:Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20240417205700.3947408-1-jm@ti.com Signed-off-by:
Guenter Roeck <linux@roeck-us.net> Signed-off-by:
Wim Van Sebroeck <wim@linux-watchdog.org> Signed-off-by:
Judith Mendez <jm@ti.com> Signed-off-by:
Xulin Sun <xulin.sun@windriver.com>
Loading
Please register or sign in to comment