ARM: S3C64XX: Hook up VDDINT on Cragganmore
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 8 Dec 2011 01:52:19 +0000 (10:52 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 8 Dec 2011 01:52:27 +0000 (10:52 +0900)
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>
arch/arm/mach-s3c64xx/mach-crag6410.c

index b2381c1..42d3d64 100644 (file)
@@ -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 = {