On 4/15/24 06:48, Marek Vasut wrote:
The STM32MP15xx IWDG adds registers which permit this IP to generate pretimeout interrupt. This interrupt can also be used to wake the CPU from suspend. Implement support for generating this interrupt and let userspace configure the pretimeout. In case the pretimeout is not configured by user, set pretimeout to 3/4 of the WDT timeout cycle. Reviewed-by: Clément Le Goffic <clement.legoffic@xxxxxxxxxxx> Tested-by: Clément Le Goffic <clement.legoffic@xxxxxxxxxxx> Signed-off-by: Marek Vasut <marex@xxxxxxx>
Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>