diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-15 12:11:53 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-01 10:03:26 -0400 |
commit | e3980b6a03e4c81e0e8d2cfcd7ab18082bbe92a5 (patch) | |
tree | 3f8ff14764716ac96e175518c2a49921f5dec56d /arch/arm/mach-s3c6410 | |
parent | 1f26a8a0fd6d067237f87a95d96ddfe263b96a94 (diff) |
[ARM] SMDK6410: Hook regulator control of VDDARM up for WM1190-EV1
This allows the S3C CPUfreq driver to do DVFS.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c6410')
-rw-r--r-- | arch/arm/mach-s3c6410/mach-smdk6410.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c index 697c0461f2b2..d26f693010e8 100644 --- a/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/arch/arm/mach-s3c6410/mach-smdk6410.c | |||
@@ -226,13 +226,22 @@ static struct regulator_init_data wm8350_dcdc4_data = { | |||
226 | }; | 226 | }; |
227 | 227 | ||
228 | /* ARM core */ | 228 | /* ARM core */ |
229 | static struct regulator_consumer_supply dcdc6_consumers[] = { | ||
230 | { | ||
231 | .supply = "vddarm", | ||
232 | } | ||
233 | }; | ||
234 | |||
229 | static struct regulator_init_data wm8350_dcdc6_data = { | 235 | static struct regulator_init_data wm8350_dcdc6_data = { |
230 | .constraints = { | 236 | .constraints = { |
231 | .name = "PVDD_ARM", | 237 | .name = "PVDD_ARM", |
232 | .min_uV = 1000000, | 238 | .min_uV = 1000000, |
233 | .max_uV = 1300000, | 239 | .max_uV = 1300000, |
234 | .always_on = 1, | 240 | .always_on = 1, |
241 | .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE, | ||
235 | }, | 242 | }, |
243 | .num_consumer_supplies = ARRAY_SIZE(dcdc6_consumers), | ||
244 | .consumer_supplies = dcdc6_consumers, | ||
236 | }; | 245 | }; |
237 | 246 | ||
238 | /* Alive */ | 247 | /* Alive */ |