[PATCH v4] watchdog: stm32_iwdg: Add pretimeout support

Guenter Roeck linux at roeck-us.net
Mon Sep 30 11:23:33 PDT 2024


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 at foss.st.com>
> Tested-by: Clément Le Goffic <clement.legoffic at foss.st.com>
> Signed-off-by: Marek Vasut <marex at denx.de>

Reviewed-by: Guenter Roeck <linux at roeck-us.net>




More information about the linux-arm-kernel mailing list