1
2
3
4
5
6
7
8
9
10 #ifndef __MFD_WM831X_STATUS_H__
11 #define __MFD_WM831X_STATUS_H__
12
13 #define WM831X_LED_SRC_MASK 0xC000
14 #define WM831X_LED_SRC_SHIFT 14
15 #define WM831X_LED_SRC_WIDTH 2
16 #define WM831X_LED_MODE_MASK 0x0300
17 #define WM831X_LED_MODE_SHIFT 8
18 #define WM831X_LED_MODE_WIDTH 2
19 #define WM831X_LED_SEQ_LEN_MASK 0x0030
20 #define WM831X_LED_SEQ_LEN_SHIFT 4
21 #define WM831X_LED_SEQ_LEN_WIDTH 2
22 #define WM831X_LED_DUR_MASK 0x000C
23 #define WM831X_LED_DUR_SHIFT 2
24 #define WM831X_LED_DUR_WIDTH 2
25 #define WM831X_LED_DUTY_CYC_MASK 0x0003
26 #define WM831X_LED_DUTY_CYC_SHIFT 0
27 #define WM831X_LED_DUTY_CYC_WIDTH 2
28
29 #endif