diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2011-02-23 20:06:25 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-02-23 20:08:47 -0500 |
commit | 1d017fee97da8e291f521537c49a324ad3becd61 (patch) | |
tree | caf71180680800983a6c03fd5d88374047f2307e /arch/arm/mach-s5pv210 | |
parent | 9b8306c6f5dc4c1dcf78f25f622720944a1fb736 (diff) |
ARM: S5PV210: Add power consumers for hsotg for GONI board
This patch adds definitions for power consumers for s3c-hsotg driver
on Goni board. The consumers are defined as arrays, because later more
entries for MIPI and ADC will be defined.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index 9d02dd11c3cd..a431742884cd 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -271,10 +271,18 @@ static void __init goni_tsp_init(void) | |||
271 | /* MAX8998 regulators */ | 271 | /* MAX8998 regulators */ |
272 | #if defined(CONFIG_REGULATOR_MAX8998) || defined(CONFIG_REGULATOR_MAX8998_MODULE) | 272 | #if defined(CONFIG_REGULATOR_MAX8998) || defined(CONFIG_REGULATOR_MAX8998_MODULE) |
273 | 273 | ||
274 | static struct regulator_consumer_supply goni_ldo3_consumers[] = { | ||
275 | REGULATOR_SUPPLY("vusb_a", "s3c-hsotg"), | ||
276 | }; | ||
277 | |||
274 | static struct regulator_consumer_supply goni_ldo5_consumers[] = { | 278 | static struct regulator_consumer_supply goni_ldo5_consumers[] = { |
275 | REGULATOR_SUPPLY("vmmc", "s3c-sdhci.0"), | 279 | REGULATOR_SUPPLY("vmmc", "s3c-sdhci.0"), |
276 | }; | 280 | }; |
277 | 281 | ||
282 | static struct regulator_consumer_supply goni_ldo8_consumers[] = { | ||
283 | REGULATOR_SUPPLY("vusb_d", "s3c-hsotg"), | ||
284 | }; | ||
285 | |||
278 | static struct regulator_consumer_supply goni_ldo11_consumers[] = { | 286 | static struct regulator_consumer_supply goni_ldo11_consumers[] = { |
279 | REGULATOR_SUPPLY("vddio", "0-0030"), /* "CAM_IO_2.8V" */ | 287 | REGULATOR_SUPPLY("vddio", "0-0030"), /* "CAM_IO_2.8V" */ |
280 | }; | 288 | }; |
@@ -306,7 +314,10 @@ static struct regulator_init_data goni_ldo3_data = { | |||
306 | .min_uV = 1100000, | 314 | .min_uV = 1100000, |
307 | .max_uV = 1100000, | 315 | .max_uV = 1100000, |
308 | .apply_uV = 1, | 316 | .apply_uV = 1, |
317 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | ||
309 | }, | 318 | }, |
319 | .num_consumer_supplies = ARRAY_SIZE(goni_ldo3_consumers), | ||
320 | .consumer_supplies = goni_ldo3_consumers, | ||
310 | }; | 321 | }; |
311 | 322 | ||
312 | static struct regulator_init_data goni_ldo4_data = { | 323 | static struct regulator_init_data goni_ldo4_data = { |
@@ -355,7 +366,10 @@ static struct regulator_init_data goni_ldo8_data = { | |||
355 | .min_uV = 3300000, | 366 | .min_uV = 3300000, |
356 | .max_uV = 3300000, | 367 | .max_uV = 3300000, |
357 | .apply_uV = 1, | 368 | .apply_uV = 1, |
369 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | ||
358 | }, | 370 | }, |
371 | .num_consumer_supplies = ARRAY_SIZE(goni_ldo8_consumers), | ||
372 | .consumer_supplies = goni_ldo8_consumers, | ||
359 | }; | 373 | }; |
360 | 374 | ||
361 | static struct regulator_init_data goni_ldo9_data = { | 375 | static struct regulator_init_data goni_ldo9_data = { |