Lines Matching +full:watchdog +full:- +full:timer
1 // SPDX-License-Identifier: GPL-2.0+
3 * Watchdog driver for the SA11x0/PXA2xx
10 * "AS-IS" and at no charge.
26 #include <linux/watchdog.h>
34 #include <mach/regs-ost.h>
51 return -EBUSY; in sa1100dog_open()
53 /* Activate SA1100 Watchdog timer */ in sa1100dog_open()
62 * The watchdog cannot be disabled.
65 * clearing OIER[E3] would prevent the watchdog timing out but this
70 pr_crit("Device closed - timer will not stop\n"); in sa1100dog_release()
79 /* Refresh OSMR3 timer. */ in sa1100dog_write()
87 .identity = "SA1100/PXA255 Watchdog",
94 int ret = -ENOTTY; in sa1100dog_ioctl()
102 sizeof(ident)) ? -EFAULT : 0; in sa1100dog_ioctl()
124 ret = -EINVAL; in sa1100dog_ioctl()
151 .name = "watchdog",
164 pr_err("SA1100/PXA2xx Watchdog Timer: clock not found: %d\n", in sa1100dog_init()
171 pr_err("SA1100/PXA2xx Watchdog Timer: clock failed to prepare+enable: %d\n", in sa1100dog_init()
180 * we suspend, RCSR will be cleared, and the watchdog in sa1100dog_init()
189 pr_info("SA1100/PXA2xx Watchdog Timer: timer margin %d sec\n", in sa1100dog_init()
211 MODULE_DESCRIPTION("SA1100/PXA2xx Watchdog");
214 MODULE_PARM_DESC(margin, "Watchdog margin in seconds (default 60s)");