1
2
3
4
5
6
7 #ifndef __LINUX_MFD_S5M8763_H
8 #define __LINUX_MFD_S5M8763_H
9
10
11 enum s5m8763_reg {
12 S5M8763_REG_IRQ1,
13 S5M8763_REG_IRQ2,
14 S5M8763_REG_IRQ3,
15 S5M8763_REG_IRQ4,
16 S5M8763_REG_IRQM1,
17 S5M8763_REG_IRQM2,
18 S5M8763_REG_IRQM3,
19 S5M8763_REG_IRQM4,
20 S5M8763_REG_STATUS1,
21 S5M8763_REG_STATUS2,
22 S5M8763_REG_STATUSM1,
23 S5M8763_REG_STATUSM2,
24 S5M8763_REG_CHGR1,
25 S5M8763_REG_CHGR2,
26 S5M8763_REG_LDO_ACTIVE_DISCHARGE1,
27 S5M8763_REG_LDO_ACTIVE_DISCHARGE2,
28 S5M8763_REG_BUCK_ACTIVE_DISCHARGE3,
29 S5M8763_REG_ONOFF1,
30 S5M8763_REG_ONOFF2,
31 S5M8763_REG_ONOFF3,
32 S5M8763_REG_ONOFF4,
33 S5M8763_REG_BUCK1_VOLTAGE1,
34 S5M8763_REG_BUCK1_VOLTAGE2,
35 S5M8763_REG_BUCK1_VOLTAGE3,
36 S5M8763_REG_BUCK1_VOLTAGE4,
37 S5M8763_REG_BUCK2_VOLTAGE1,
38 S5M8763_REG_BUCK2_VOLTAGE2,
39 S5M8763_REG_BUCK3,
40 S5M8763_REG_BUCK4,
41 S5M8763_REG_LDO1_LDO2,
42 S5M8763_REG_LDO3,
43 S5M8763_REG_LDO4,
44 S5M8763_REG_LDO5,
45 S5M8763_REG_LDO6,
46 S5M8763_REG_LDO7,
47 S5M8763_REG_LDO7_LDO8,
48 S5M8763_REG_LDO9_LDO10,
49 S5M8763_REG_LDO11,
50 S5M8763_REG_LDO12,
51 S5M8763_REG_LDO13,
52 S5M8763_REG_LDO14,
53 S5M8763_REG_LDO15,
54 S5M8763_REG_LDO16,
55 S5M8763_REG_BKCHR,
56 S5M8763_REG_LBCNFG1,
57 S5M8763_REG_LBCNFG2,
58 };
59
60
61 enum s5m8763_regulators {
62 S5M8763_LDO1,
63 S5M8763_LDO2,
64 S5M8763_LDO3,
65 S5M8763_LDO4,
66 S5M8763_LDO5,
67 S5M8763_LDO6,
68 S5M8763_LDO7,
69 S5M8763_LDO8,
70 S5M8763_LDO9,
71 S5M8763_LDO10,
72 S5M8763_LDO11,
73 S5M8763_LDO12,
74 S5M8763_LDO13,
75 S5M8763_LDO14,
76 S5M8763_LDO15,
77 S5M8763_LDO16,
78 S5M8763_BUCK1,
79 S5M8763_BUCK2,
80 S5M8763_BUCK3,
81 S5M8763_BUCK4,
82 S5M8763_AP_EN32KHZ,
83 S5M8763_CP_EN32KHZ,
84 S5M8763_ENCHGVI,
85 S5M8763_ESAFEUSB1,
86 S5M8763_ESAFEUSB2,
87 };
88
89 #define S5M8763_ENRAMP (1 << 4)
90 #endif