diff options
Diffstat (limited to 'drivers/mfd/pcf50633-gpio.c')
-rw-r--r-- | drivers/mfd/pcf50633-gpio.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/drivers/mfd/pcf50633-gpio.c b/drivers/mfd/pcf50633-gpio.c index 9ab19a8f669d..d02ddf2ebd63 100644 --- a/drivers/mfd/pcf50633-gpio.c +++ b/drivers/mfd/pcf50633-gpio.c | |||
@@ -19,32 +19,7 @@ | |||
19 | 19 | ||
20 | #include <linux/mfd/pcf50633/core.h> | 20 | #include <linux/mfd/pcf50633/core.h> |
21 | #include <linux/mfd/pcf50633/gpio.h> | 21 | #include <linux/mfd/pcf50633/gpio.h> |
22 | 22 | #include <linux/mfd/pcf50633/pmic.h> | |
23 | enum pcf50633_regulator_id { | ||
24 | PCF50633_REGULATOR_AUTO, | ||
25 | PCF50633_REGULATOR_DOWN1, | ||
26 | PCF50633_REGULATOR_DOWN2, | ||
27 | PCF50633_REGULATOR_LDO1, | ||
28 | PCF50633_REGULATOR_LDO2, | ||
29 | PCF50633_REGULATOR_LDO3, | ||
30 | PCF50633_REGULATOR_LDO4, | ||
31 | PCF50633_REGULATOR_LDO5, | ||
32 | PCF50633_REGULATOR_LDO6, | ||
33 | PCF50633_REGULATOR_HCLDO, | ||
34 | PCF50633_REGULATOR_MEMLDO, | ||
35 | }; | ||
36 | |||
37 | #define PCF50633_REG_AUTOOUT 0x1a | ||
38 | #define PCF50633_REG_DOWN1OUT 0x1e | ||
39 | #define PCF50633_REG_DOWN2OUT 0x22 | ||
40 | #define PCF50633_REG_MEMLDOOUT 0x26 | ||
41 | #define PCF50633_REG_LDO1OUT 0x2d | ||
42 | #define PCF50633_REG_LDO2OUT 0x2f | ||
43 | #define PCF50633_REG_LDO3OUT 0x31 | ||
44 | #define PCF50633_REG_LDO4OUT 0x33 | ||
45 | #define PCF50633_REG_LDO5OUT 0x35 | ||
46 | #define PCF50633_REG_LDO6OUT 0x37 | ||
47 | #define PCF50633_REG_HCLDOOUT 0x39 | ||
48 | 23 | ||
49 | static const u8 pcf50633_regulator_registers[PCF50633_NUM_REGULATORS] = { | 24 | static const u8 pcf50633_regulator_registers[PCF50633_NUM_REGULATORS] = { |
50 | [PCF50633_REGULATOR_AUTO] = PCF50633_REG_AUTOOUT, | 25 | [PCF50633_REGULATOR_AUTO] = PCF50633_REG_AUTOOUT, |