aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/mach-crag6410.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-crag6410.c')
-rw-r--r--arch/arm/mach-s3c64xx/mach-crag6410.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c
index 7539a2999178..f93caad1dd9b 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -576,11 +576,19 @@ static struct s3c2410_platform_i2c i2c0_pdata = {
576 .frequency = 400000, 576 .frequency = 400000,
577}; 577};
578 578
579static struct regulator_consumer_supply pvdd_1v2_consumers[] __initdata = {
580 REGULATOR_SUPPLY("DCVDD", "spi0.0"),
581 REGULATOR_SUPPLY("AVDD", "spi0.0"),
582};
583
579static struct regulator_init_data pvdd_1v2 __initdata = { 584static struct regulator_init_data pvdd_1v2 __initdata = {
580 .constraints = { 585 .constraints = {
581 .name = "PVDD_1V2", 586 .name = "PVDD_1V2",
582 .always_on = 1, 587 .valid_ops_mask = REGULATOR_CHANGE_STATUS,
583 }, 588 },
589
590 .consumer_supplies = pvdd_1v2_consumers,
591 .num_consumer_supplies = ARRAY_SIZE(pvdd_1v2_consumers),
584}; 592};
585 593
586static struct regulator_consumer_supply pvdd_1v8_consumers[] __initdata = { 594static struct regulator_consumer_supply pvdd_1v8_consumers[] __initdata = {
@@ -594,6 +602,7 @@ static struct regulator_consumer_supply pvdd_1v8_consumers[] __initdata = {
594 REGULATOR_SUPPLY("AVDD2", "1-001a"), 602 REGULATOR_SUPPLY("AVDD2", "1-001a"),
595 REGULATOR_SUPPLY("DCVDD", "1-001a"), 603 REGULATOR_SUPPLY("DCVDD", "1-001a"),
596 REGULATOR_SUPPLY("AVDD", "1-001a"), 604 REGULATOR_SUPPLY("AVDD", "1-001a"),
605 REGULATOR_SUPPLY("DBVDD", "spi0.0"),
597}; 606};
598 607
599static struct regulator_init_data pvdd_1v8 __initdata = { 608static struct regulator_init_data pvdd_1v8 __initdata = {