Lines Matching +full:watchdog +full:- +full:timeout +full:- +full:ms
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Ralink MT7621/MT7628 built-in hardware watchdog timer
7 * This driver was based on: drivers/watchdog/rt2880_wdt.c
14 #include <linux/watchdog.h>
19 #include <asm/mach-ralink/ralink_regs.h>
40 "Watchdog cannot be stopped once started (default="
62 w->timeout = t; in mt7621_wdt_set_timeout()
73 /* set the prescaler to 1ms == 1000us */ in mt7621_wdt_start()
76 mt7621_wdt_set_timeout(w, w->timeout); in mt7621_wdt_start()
112 .identity = "Mediatek Watchdog",
133 struct device *dev = &pdev->dev; in mt7621_wdt_probe()
149 * Make sure to apply timeout from watchdog core, taking in mt7621_wdt_probe()
154 * we first disable the watchdog, set the new prescaler in mt7621_wdt_probe()
155 * and timeout, and then re-enable the watchdog. in mt7621_wdt_probe()
171 { .compatible = "mediatek,mt7621-wdt" },
187 MODULE_DESCRIPTION("MediaTek MT762x hardware watchdog driver");