Go to the documentation of this file.
11 #ifndef _ARIZONA_PDATA_H
12 #define _ARIZONA_PDATA_H
14 #define ARIZONA_GPN_DIR 0x8000
15 #define ARIZONA_GPN_DIR_MASK 0x8000
16 #define ARIZONA_GPN_DIR_SHIFT 15
17 #define ARIZONA_GPN_DIR_WIDTH 1
18 #define ARIZONA_GPN_PU 0x4000
19 #define ARIZONA_GPN_PU_MASK 0x4000
20 #define ARIZONA_GPN_PU_SHIFT 14
21 #define ARIZONA_GPN_PU_WIDTH 1
22 #define ARIZONA_GPN_PD 0x2000
23 #define ARIZONA_GPN_PD_MASK 0x2000
24 #define ARIZONA_GPN_PD_SHIFT 13
25 #define ARIZONA_GPN_PD_WIDTH 1
26 #define ARIZONA_GPN_LVL 0x0800
27 #define ARIZONA_GPN_LVL_MASK 0x0800
28 #define ARIZONA_GPN_LVL_SHIFT 11
29 #define ARIZONA_GPN_LVL_WIDTH 1
30 #define ARIZONA_GPN_POL 0x0400
31 #define ARIZONA_GPN_POL_MASK 0x0400
32 #define ARIZONA_GPN_POL_SHIFT 10
33 #define ARIZONA_GPN_POL_WIDTH 1
34 #define ARIZONA_GPN_OP_CFG 0x0200
35 #define ARIZONA_GPN_OP_CFG_MASK 0x0200
36 #define ARIZONA_GPN_OP_CFG_SHIFT 9
37 #define ARIZONA_GPN_OP_CFG_WIDTH 1
38 #define ARIZONA_GPN_DB 0x0100
39 #define ARIZONA_GPN_DB_MASK 0x0100
40 #define ARIZONA_GPN_DB_SHIFT 8
41 #define ARIZONA_GPN_DB_WIDTH 1
42 #define ARIZONA_GPN_FN_MASK 0x007F
43 #define ARIZONA_GPN_FN_SHIFT 0
44 #define ARIZONA_GPN_FN_WIDTH 7
46 #define ARIZONA_MAX_GPIO 5
48 #define ARIZONA_32KZ_MCLK1 1
49 #define ARIZONA_32KZ_MCLK2 2
50 #define ARIZONA_32KZ_NONE 3
52 #define ARIZONA_MAX_INPUT 4
54 #define ARIZONA_DMIC_MICVDD 0
55 #define ARIZONA_DMIC_MICBIAS1 1
56 #define ARIZONA_DMIC_MICBIAS2 2
57 #define ARIZONA_DMIC_MICBIAS3 3
59 #define ARIZONA_INMODE_DIFF 0
60 #define ARIZONA_INMODE_SE 1
61 #define ARIZONA_INMODE_DMIC 2
63 #define ARIZONA_MAX_OUTPUT 6
65 #define ARIZONA_MAX_PDM_SPK 2