Skip to content
Commit 603320c6 authored by Judith Mendez's avatar Judith Mendez Committed by Xulin Sun
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240417205700.3947408-1-jm@ti.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
Signed-off-by: default avatarJudith Mendez <jm@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent 3b199f12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment