| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * wdt.h -- Watchdog Driver for Wolfson WM8350 PMIC |
| 4 | * |
| 5 | * Copyright 2007, 2008 Wolfson Microelectronics PLC |
| 6 | */ |
| 7 | |
| 8 | #ifndef __LINUX_MFD_WM8350_WDT_H_ |
| 9 | #define __LINUX_MFD_WM8350_WDT_H_ |
| 10 | |
| 11 | #include <linux/platform_device.h> |
| 12 | |
| 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 | |
| 20 | struct wm8350_wdt { |
| 21 | struct platform_device *pdev; |
| 22 | }; |
| 23 | |
| 24 | #endif |
| 25 | |