summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/mx6_anatop_regulator.c
diff options
context:
space:
mode:
authorNancy Chen <Nancy.Chen@freescale.com>2012-07-16 22:52:58 -0500
committerTerry Lv <r65388@freescale.com>2012-07-25 13:10:54 +0800
commit65f1a2c6e32b4e4be7074f585ecceeb22804bf0d (patch)
treeb4c58083fc8dbe0ee6cc467c5b2e8d1f02586b82 /arch/arm/mach-mx6/mx6_anatop_regulator.c
parent63a423497cb305c4089d2f93f706e1d58b472a42 (diff)
ENGR00217242 [MX6SL]: VDDSOC_CAP voltage to 1.1V in idle mode
Drop VDDSOC_CAP voltage from 1.2V to 1.1V in idle mode. Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/mx6_anatop_regulator.c')
-rw-r--r--arch/arm/mach-mx6/mx6_anatop_regulator.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-mx6/mx6_anatop_regulator.c b/arch/arm/mach-mx6/mx6_anatop_regulator.c
index e9b2ea76541f..06755dc7a4ee 100644
--- a/arch/arm/mach-mx6/mx6_anatop_regulator.c
+++ b/arch/arm/mach-mx6/mx6_anatop_regulator.c
@@ -310,6 +310,12 @@ static struct regulator_consumer_supply vddpu_consumers[] = {
.supply = "cpu_vddgpu",
}
};
+/* SOC */
+static struct regulator_consumer_supply vddsoc_consumers[] = {
+ {
+ .supply = "cpu_vddsoc",
+ },
+};
static struct regulator_init_data vddpu_init = {
.constraints = {
@@ -352,8 +358,8 @@ static struct regulator_init_data vddsoc_init = {
REGULATOR_CHANGE_MODE,
.always_on = 1,
},
- .num_consumer_supplies = 0,
- .consumer_supplies = NULL,
+ .num_consumer_supplies = ARRAY_SIZE(vddsoc_consumers),
+ .consumer_supplies = &vddsoc_consumers[0],
};
static struct regulator_init_data vdd2p5_init = {