summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-08 10:52:19 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-12-08 10:52:27 +0900
commit39cb263eccc974765eed1100d48ac6f0986ef257 (patch)
tree66702a1282cf6bea1381d58ba7819358b311cc0a /arch/arm/mach-s3c64xx
parent8e146f547a5d12498cbbb0190e1b70cca63c1b87 (diff)
downloadlinux-39cb263eccc974765eed1100d48ac6f0986ef257.tar.gz
linux-39cb263eccc974765eed1100d48ac6f0986ef257.tar.bz2
linux-39cb263eccc974765eed1100d48ac6f0986ef257.zip
ARM: S3C64XX: Hook up VDDINT on Cragganmore
Basic hookup, we do have a GPIO to use to control the voltage but we don't currently use it. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r--arch/arm/mach-s3c64xx/mach-crag6410.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c
index b2381c1bb3ba..42d3d64947b0 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -380,6 +380,10 @@ static struct regulator_init_data vddarm __initdata = {
.driver_data = &vddarm_pdata,
};
+static struct regulator_consumer_supply vddint_consumers[] __initdata = {
+ REGULATOR_SUPPLY("vddint", NULL),
+};
+
static struct regulator_init_data vddint __initdata = {
.constraints = {
.name = "VDDINT",
@@ -388,6 +392,9 @@ static struct regulator_init_data vddint __initdata = {
.always_on = 1,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
},
+ .num_consumer_supplies = ARRAY_SIZE(vddint_consumers),
+ .consumer_supplies = vddint_consumers,
+ .supply_regulator = "WALLVDD",
};
static struct regulator_init_data vddmem __initdata = {