diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2010-09-27 08:32:25 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-10-28 18:30:11 -0400 |
commit | 889cd5a60f880e0a56b7b769d0b74eb222e6896c (patch) | |
tree | e223052fd8cfd75f039cd456b51e4b164286063f /include | |
parent | 509bd4764c110b89bb3d09a5b6621fd31dc58044 (diff) |
regulator: max8998 BUCK1/2 internal voltages and indexes defined
BUCK1/2 internal voltages and indexes defined in the struct max8998_data
max_get_voltage_register now uses index values to chose proper register
More generic BUCK1/2 registers names provided
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/max8998-private.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/mfd/max8998-private.h b/include/linux/mfd/max8998-private.h index 0ff42116d5dd..7363dea6bbcd 100644 --- a/include/linux/mfd/max8998-private.h +++ b/include/linux/mfd/max8998-private.h | |||
@@ -48,12 +48,12 @@ enum { | |||
48 | MAX8998_REG_ONOFF2, | 48 | MAX8998_REG_ONOFF2, |
49 | MAX8998_REG_ONOFF3, | 49 | MAX8998_REG_ONOFF3, |
50 | MAX8998_REG_ONOFF4, | 50 | MAX8998_REG_ONOFF4, |
51 | MAX8998_REG_BUCK1_DVSARM1, | 51 | MAX8998_REG_BUCK1_VOLTAGE1, |
52 | MAX8998_REG_BUCK1_DVSARM2, | 52 | MAX8998_REG_BUCK1_VOLTAGE2, |
53 | MAX8998_REG_BUCK1_DVSARM3, | 53 | MAX8998_REG_BUCK1_VOLTAGE3, |
54 | MAX8998_REG_BUCK1_DVSARM4, | 54 | MAX8998_REG_BUCK1_VOLTAGE4, |
55 | MAX8998_REG_BUCK2_DVSINT1, | 55 | MAX8998_REG_BUCK2_VOLTAGE1, |
56 | MAX8998_REG_BUCK2_DVSINT2, | 56 | MAX8998_REG_BUCK2_VOLTAGE2, |
57 | MAX8998_REG_BUCK3, | 57 | MAX8998_REG_BUCK3, |
58 | MAX8998_REG_BUCK4, | 58 | MAX8998_REG_BUCK4, |
59 | MAX8998_REG_LDO2_LDO3, | 59 | MAX8998_REG_LDO2_LDO3, |