Lines Matching +full:wdt +full:- +full:interval
1 // SPDX-License-Identifier: GPL-2.0-only
15 * This watchdog fires after 250msec, which is a too short interval
17 * wdt each ~200msec and eventually stop doing it if the user space
49 writel(0xaaaa, priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_start()
58 writel(0xaa55, priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_stop()
67 writel(0x5555, priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_ping()
89 struct device *dev = &pdev->dev; in ep93xx_wdt_probe()
97 return -ENOMEM; in ep93xx_wdt_probe()
99 priv->mmio = devm_platform_ioremap_resource(pdev, 0); in ep93xx_wdt_probe()
100 if (IS_ERR(priv->mmio)) in ep93xx_wdt_probe()
101 return PTR_ERR(priv->mmio); in ep93xx_wdt_probe()
103 val = readl(priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_probe()
105 wdd = &priv->wdd; in ep93xx_wdt_probe()
106 wdd->bootstatus = (val & 0x01) ? WDIOF_CARDRESET : 0; in ep93xx_wdt_probe()
107 wdd->info = &ep93xx_wdt_ident; in ep93xx_wdt_probe()
108 wdd->ops = &ep93xx_wdt_ops; in ep93xx_wdt_probe()
109 wdd->min_timeout = 1; in ep93xx_wdt_probe()
110 wdd->max_hw_heartbeat_ms = 200; in ep93xx_wdt_probe()
111 wdd->parent = dev; in ep93xx_wdt_probe()
115 wdd->timeout = WDT_TIMEOUT; in ep93xx_wdt_probe()
132 .name = "ep93xx-wdt",