#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <linux/timer.h>
#include <linux/uaccess.h>
#include <linux/watchdog.h>
Go to the source code of this file.
| #define DW_WDT_MAX_TOP 15 |
| #define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
| #define WDOG_CONTROL_REG_OFFSET 0x00 |
| #define WDOG_CONTROL_REG_WDT_EN_MASK 0x01 |
| #define WDOG_COUNTER_RESTART_KICK_VALUE 0x76 |
| #define WDOG_COUNTER_RESTART_REG_OFFSET 0x0c |
| #define WDOG_CURRENT_COUNT_REG_OFFSET 0x08 |
| #define WDOG_TIMEOUT_RANGE_REG_OFFSET 0x04 |
| #define WDT_TIMEOUT (HZ / 2) |
| MODULE_AUTHOR |
( |
"Jamie Iles" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"Synopsys DesignWare Watchdog Driver" |
| ) |
|
| module_param |
( |
nowayout |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
| module_platform_driver |
( |
dw_wdt_driver |
| ) |
|
| unsigned long next_heartbeat |