1
2
3
4
5
6
7
8
9
10 #ifndef __MFD_WM831X_WATCHDOG_H__
11 #define __MFD_WM831X_WATCHDOG_H__
12
13
14
15
16
17 #define WM831X_WDOG_ENA 0x8000
18 #define WM831X_WDOG_ENA_MASK 0x8000
19 #define WM831X_WDOG_ENA_SHIFT 15
20 #define WM831X_WDOG_ENA_WIDTH 1
21 #define WM831X_WDOG_DEBUG 0x4000
22 #define WM831X_WDOG_DEBUG_MASK 0x4000
23 #define WM831X_WDOG_DEBUG_SHIFT 14
24 #define WM831X_WDOG_DEBUG_WIDTH 1
25 #define WM831X_WDOG_RST_SRC 0x2000
26 #define WM831X_WDOG_RST_SRC_MASK 0x2000
27 #define WM831X_WDOG_RST_SRC_SHIFT 13
28 #define WM831X_WDOG_RST_SRC_WIDTH 1
29 #define WM831X_WDOG_SLPENA 0x1000
30 #define WM831X_WDOG_SLPENA_MASK 0x1000
31 #define WM831X_WDOG_SLPENA_SHIFT 12
32 #define WM831X_WDOG_SLPENA_WIDTH 1
33 #define WM831X_WDOG_RESET 0x0800
34 #define WM831X_WDOG_RESET_MASK 0x0800
35 #define WM831X_WDOG_RESET_SHIFT 11
36 #define WM831X_WDOG_RESET_WIDTH 1
37 #define WM831X_WDOG_SECACT_MASK 0x0300
38 #define WM831X_WDOG_SECACT_SHIFT 8
39 #define WM831X_WDOG_SECACT_WIDTH 2
40 #define WM831X_WDOG_PRIMACT_MASK 0x0030
41 #define WM831X_WDOG_PRIMACT_SHIFT 4
42 #define WM831X_WDOG_PRIMACT_WIDTH 2
43 #define WM831X_WDOG_TO_MASK 0x0007
44 #define WM831X_WDOG_TO_SHIFT 0
45 #define WM831X_WDOG_TO_WIDTH 3
46
47 #endif