diff options
author | John Fredriksson <john.xj.fredriksson@stericsson.com> | 2011-05-19 14:20:14 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2011-07-22 15:46:47 +0200 |
commit | 2f6dc93f9390479b02e9fc12dd51a5d019100822 (patch) | |
tree | 09deebb4cde74c9f717c32539ef1d13e3673f376 /arch/arm/mach-ux500/cpu-db8500.c | |
parent | 0168b0ddb8fbb53f63652ab0bceae31a1fb19abc (diff) |
mach-ux500: reg: Add mali as sga consumer
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Change-Id: I2774d935d81dd65e6fd38658488a3acff8aa3c70
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24088
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Reviewed-by: Dmitry TARNYAGIN <dmitry.tarnyagin@stericsson.com>
Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/cpu-db8500.c')
-rw-r--r-- | arch/arm/mach-ux500/cpu-db8500.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index afe132feb88..89d05418a08 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -172,6 +172,10 @@ static struct regulator_consumer_supply db8500_b2r2_mcde_consumers[] = { REGULATOR_SUPPLY("vsupply", "mcde"), }; +static struct regulator_consumer_supply db8500_sga_consumers[] = { + REGULATOR_SUPPLY("v-mali", NULL), +}; + /* ESRAM3 and 4 regulator switch */ static struct regulator_consumer_supply u8500_esram34_consumers[] = { REGULATOR_SUPPLY("v-esram34", "mcde"), @@ -278,6 +282,9 @@ static struct regulator_init_data db8500_regulators[DB8500_NUM_REGULATORS] = { .name = "db8500-sga", .valid_ops_mask = REGULATOR_CHANGE_STATUS, }, + .consumer_supplies = db8500_sga_consumers, + .num_consumer_supplies = ARRAY_SIZE(db8500_sga_consumers), + }, [DB8500_REGULATOR_SWITCH_B2R2_MCDE] = { .supply_regulator = "db8500-vape", |