aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-02-15 00:27:44 -0500
committerKukjin Kim <kgene.kim@samsung.com>2011-02-21 23:50:01 -0500
commit9a16afdfc2fe1117b2615ed55dff446b789bb3d5 (patch)
tree4ea3713f995c1c5d4fa9c0939e9c39c161577245 /arch/arm/mach-s5pv210
parent9c4f0a390c66cd6e85635f79ff999f1e37458af1 (diff)
ARM: S5PV210: Add supplies for CIF camera on GONI board
Add regulator supplies required for NOON010PC30 CIF sensor. Signed-off-by: Sylwester Nawrocki <s.nawrocki@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.c24
1 files changed, 21 insertions, 3 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c
index c675125b331f..e06a3c50fff2 100644
--- a/arch/arm/mach-s5pv210/mach-goni.c
+++ b/arch/arm/mach-s5pv210/mach-goni.c
@@ -273,6 +273,18 @@ static struct regulator_consumer_supply goni_ldo5_consumers[] = {
273 REGULATOR_SUPPLY("vmmc", "s3c-sdhci.0"), 273 REGULATOR_SUPPLY("vmmc", "s3c-sdhci.0"),
274}; 274};
275 275
276static struct regulator_consumer_supply goni_ldo11_consumers[] = {
277 REGULATOR_SUPPLY("vddio", "0-0030"), /* "CAM_IO_2.8V" */
278};
279
280static struct regulator_consumer_supply goni_ldo13_consumers[] = {
281 REGULATOR_SUPPLY("vdda", "0-0030"), /* "CAM_A_2.8V" */
282};
283
284static struct regulator_consumer_supply goni_ldo14_consumers[] = {
285 REGULATOR_SUPPLY("vdd_core", "0-0030"), /* "CAM_CIF_1.8V" */
286};
287
276static struct regulator_init_data goni_ldo2_data = { 288static struct regulator_init_data goni_ldo2_data = {
277 .constraints = { 289 .constraints = {
278 .name = "VALIVE_1.1V", 290 .name = "VALIVE_1.1V",
@@ -371,8 +383,10 @@ static struct regulator_init_data goni_ldo11_data = {
371 .min_uV = 2800000, 383 .min_uV = 2800000,
372 .max_uV = 2800000, 384 .max_uV = 2800000,
373 .apply_uV = 1, 385 .apply_uV = 1,
374 .always_on = 1, 386 .valid_ops_mask = REGULATOR_CHANGE_STATUS,
375 }, 387 },
388 .num_consumer_supplies = ARRAY_SIZE(goni_ldo11_consumers),
389 .consumer_supplies = goni_ldo11_consumers,
376}; 390};
377 391
378static struct regulator_init_data goni_ldo12_data = { 392static struct regulator_init_data goni_ldo12_data = {
@@ -391,8 +405,10 @@ static struct regulator_init_data goni_ldo13_data = {
391 .min_uV = 2800000, 405 .min_uV = 2800000,
392 .max_uV = 2800000, 406 .max_uV = 2800000,
393 .apply_uV = 1, 407 .apply_uV = 1,
394 .always_on = 1, 408 .valid_ops_mask = REGULATOR_CHANGE_STATUS,
395 }, 409 },
410 .num_consumer_supplies = ARRAY_SIZE(goni_ldo13_consumers),
411 .consumer_supplies = goni_ldo13_consumers,
396}; 412};
397 413
398static struct regulator_init_data goni_ldo14_data = { 414static struct regulator_init_data goni_ldo14_data = {
@@ -401,8 +417,10 @@ static struct regulator_init_data goni_ldo14_data = {
401 .min_uV = 1800000, 417 .min_uV = 1800000,
402 .max_uV = 1800000, 418 .max_uV = 1800000,
403 .apply_uV = 1, 419 .apply_uV = 1,
404 .always_on = 1, 420 .valid_ops_mask = REGULATOR_CHANGE_STATUS,
405 }, 421 },
422 .num_consumer_supplies = ARRAY_SIZE(goni_ldo14_consumers),
423 .consumer_supplies = goni_ldo14_consumers,
406}; 424};
407 425
408static struct regulator_init_data goni_ldo15_data = { 426static struct regulator_init_data goni_ldo15_data = {