]>
Commit | Line | Data |
---|---|---|
2874c5fd | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
213f3268 MB |
2 | /* |
3 | * wdt.h -- Watchdog Driver for Wolfson WM8350 PMIC | |
4 | * | |
add41cb4 | 5 | * Copyright 2007, 2008 Wolfson Microelectronics PLC |
213f3268 MB |
6 | */ |
7 | ||
8 | #ifndef __LINUX_MFD_WM8350_WDT_H_ | |
9 | #define __LINUX_MFD_WM8350_WDT_H_ | |
10 | ||
add41cb4 MB |
11 | #include <linux/platform_device.h> |
12 | ||
213f3268 MB |
13 | #define WM8350_WDOG_HIB_MODE 0x0080 |
14 | #define WM8350_WDOG_DEBUG 0x0040 | |
15 | #define WM8350_WDOG_MODE_MASK 0x0030 | |
16 | #define WM8350_WDOG_TO_MASK 0x0007 | |
17 | ||
18 | #define WM8350_IRQ_SYS_WDOG_TO 24 | |
19 | ||
add41cb4 MB |
20 | struct wm8350_wdt { |
21 | struct platform_device *pdev; | |
22 | }; | |
23 | ||
213f3268 | 24 | #endif |