Skip to content

Commit

Permalink
LF-922 watchdog: imx7ulp: Watchdog should continue running for wait/s…
Browse files Browse the repository at this point in the history
…top mode

When kernel idle, system will enter wait/stop mode, wdog should continue
running in this scenario, and the refresh thread can wake up system from
wait/stop mode.

Signed-off-by: Anson Huang <[email protected]>
Signed-off-by: Robin Gong <[email protected]>
Reviewed-by: Anson Huang <[email protected]>
  • Loading branch information
Robin Gong committed Aug 5, 2020
1 parent 2475b58 commit 2fa7718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/imx7ulp_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static inline void imx7ulp_wdt_init(void __iomem *base, unsigned int timeout)
/* set an initial timeout value in TOVAL */
writel(timeout, base + WDOG_TOVAL);
/* enable 32bit command sequence and reconfigure */
val = BIT(13) | BIT(8) | BIT(5);
val = BIT(13) | BIT(8) | BIT(5) | BIT(1) | BIT(0);
writel(val, base + WDOG_CS);
}

Expand Down

0 comments on commit 2fa7718

Please sign in to comment.