diff options
author | Emeric Vigier <emeric.vigier@stericsson.com> | 2011-05-13 16:48:03 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:15:26 +0200 |
commit | 718120423621a961855687e9fd4952f8a2df6d73 (patch) | |
tree | c16df1fe6d476b533c13841d77cb113eee39ad0f /arch/arm/mach-ux500/board-mop500-regulators.c | |
parent | 203e2398a30a26215125fb35bf51c230d6f8e565 (diff) |
mach-ux500: Add set_mode constraints on vaux[2,3]
Add REGULATOR_CHANGE_MODE and constraints for VAUX2 and VAUX3.
ST-Ericsson Linux next: -
ST-Ericsson ID: ER339212
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5b4a58bcf61fc96cd7dd330f7749718a75f49ca9
Signed-off-by: Ludovic Barré <ludovic.barre@stericsson.com>
Signed-off-by: Emeric Vigier <emeric.vigier@stericsson.com>
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500-regulators.c')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-regulators.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index 1cf5e7a10f9..a14518214d1 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.c +++ b/arch/arm/mach-ux500/board-mop500-regulators.c @@ -428,7 +428,10 @@ struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = { .min_uV = 1100000, .max_uV = 3300000, .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE | - REGULATOR_CHANGE_STATUS, + REGULATOR_CHANGE_STATUS | + REGULATOR_CHANGE_MODE, + .valid_modes_mask = REGULATOR_MODE_NORMAL | + REGULATOR_MODE_IDLE, }, .num_consumer_supplies = ARRAY_SIZE(ab8500_vaux2_consumers), .consumer_supplies = ab8500_vaux2_consumers, @@ -440,7 +443,10 @@ struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = { .min_uV = 1100000, .max_uV = 3300000, .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE | - REGULATOR_CHANGE_STATUS, + REGULATOR_CHANGE_STATUS | + REGULATOR_CHANGE_MODE, + .valid_modes_mask = REGULATOR_MODE_NORMAL | + REGULATOR_MODE_IDLE, }, .num_consumer_supplies = ARRAY_SIZE(ab8500_vaux3_consumers), .consumer_supplies = ab8500_vaux3_consumers, |