aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>2010-07-13 14:51:14 +0200
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:50 -0600
commitd5a66a6ad975b322da884af22ba8d09d26c3b310 (patch)
treedaaf56cf0a1c4acc343db367b3f2f165c5db5407
parent908804c5828ddd1bf4d7b3e2978a2c6b3ed76d9f (diff)
downloadlinux-2.6.34-ux500-d5a66a6ad975b322da884af22ba8d09d26c3b310.tar.gz
regulators: add REGULATOR_CHANGE_STATUS permission to all the regulators
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I775cf838107f5816b7c98fe5009d6cd646fa9ff3 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2811 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r--arch/arm/mach-ux500/mop500-regulators.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-ux500/mop500-regulators.c b/arch/arm/mach-ux500/mop500-regulators.c
index ead74eb7770..1eb87cbb544 100644
--- a/arch/arm/mach-ux500/mop500-regulators.c
+++ b/arch/arm/mach-ux500/mop500-regulators.c
@@ -154,7 +154,7 @@ static struct regulator_init_data ab8500_vaux2_init = {
.min_uV = AB8500_VAUXN_LDO_MIN_VOLTAGE,
.max_uV = AB8500_VAUXN_LDO_MAX_VOLTAGE,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE|
- REGULATOR_CHANGE_MODE,
+ REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS,
.valid_modes_mask = REGULATOR_MODE_NORMAL|REGULATOR_MODE_IDLE,
},
.num_consumer_supplies = ARRAY_SIZE(ab8500_vaux2_consumers),
@@ -185,7 +185,7 @@ static struct regulator_init_data ab8500_vaux3_init = {
.min_uV = AB8500_VAUXN_LDO_MIN_VOLTAGE,
.max_uV = AB8500_VAUXN_LDO_MAX_VOLTAGE,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE|
- REGULATOR_CHANGE_MODE,
+ REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS,
.valid_modes_mask = REGULATOR_MODE_NORMAL|REGULATOR_MODE_IDLE,
},
.num_consumer_supplies = ARRAY_SIZE(ab8500_vaux3_consumers),
@@ -284,7 +284,7 @@ static struct regulator_init_data ab8500_vaudio_init = {
.min_uV = AB8500_VAUDIO_REGULATOR_MIN_VOLTAGE,
.max_uV = AB8500_VAUDIO_REGULATOR_MAX_VOLTAGE,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE|
- REGULATOR_CHANGE_MODE,
+ REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS,
.valid_modes_mask = REGULATOR_MODE_NORMAL|REGULATOR_MODE_IDLE,
},
.num_consumer_supplies = ARRAY_SIZE(ab8500_vaudio_consumers),
@@ -316,7 +316,7 @@ static struct regulator_init_data ab8500_vamic1_init = {
.min_uV = AB8500_VAMIC1_REGULATOR_MIN_VOLTAGE,
.max_uV = AB8500_VAMIC1_REGULATOR_MAX_VOLTAGE,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE|
- REGULATOR_CHANGE_MODE,
+ REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS,
.valid_modes_mask = REGULATOR_MODE_NORMAL|REGULATOR_MODE_IDLE,
},
.num_consumer_supplies = ARRAY_SIZE(ab8500_vamic1_consumers),
@@ -345,7 +345,7 @@ static struct regulator_init_data ab8500_vamic2_init = {
.min_uV = AB8500_VAMIC1_REGULATOR_MIN_VOLTAGE,
.max_uV = AB8500_VAMIC1_REGULATOR_MAX_VOLTAGE,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE|
- REGULATOR_CHANGE_MODE,
+ REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS,
.valid_modes_mask = REGULATOR_MODE_NORMAL|REGULATOR_MODE_IDLE,
},
.num_consumer_supplies = ARRAY_SIZE(ab8500_vamic2_consumers),
@@ -377,7 +377,7 @@ static struct regulator_init_data ab8500_vdmic_init = {
.min_uV = AB8500_VDMIC_REGULATOR_MIN_VOLTAGE,
.max_uV = AB8500_VDMIC_REGULATOR_MAX_VOLTAGE,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE|
- REGULATOR_CHANGE_MODE,
+ REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS,
.valid_modes_mask = REGULATOR_MODE_NORMAL|REGULATOR_MODE_IDLE,
},
.num_consumer_supplies = ARRAY_SIZE(ab8500_vdmic_consumers),
@@ -409,7 +409,7 @@ static struct regulator_init_data ab8500_vintcore_init = {
.min_uV = AB8500_VINTCORE_REGULATOR_MIN_VOLTAGE,
.max_uV = AB8500_VINTCORE_REGULATOR_MAX_VOLTAGE,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE|
- REGULATOR_CHANGE_MODE,
+ REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS,
.valid_modes_mask = REGULATOR_MODE_NORMAL|REGULATOR_MODE_IDLE,
},
.num_consumer_supplies = ARRAY_SIZE(ab8500_vintcore_consumers),