Skip to content

Commit

Permalink
ARM: S3C64XX: Configure supplies for all Cragganmore regulators
Browse files Browse the repository at this point in the history
All the regulators on the system are supplied from the fixed wall supply.
While there's no functional value in telling the regulator core this it
does ensure that as a regulator maintainer I'll be exercising the supply
logic frequently.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Mark Brown authored and Kukjin Kim committed Jul 20, 2011
1 parent ae24c26 commit 3512729
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/mach-s3c64xx/mach-crag6410.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ static struct regulator_init_data vddarm __initdata = {
},
.num_consumer_supplies = ARRAY_SIZE(vddarm_consumers),
.consumer_supplies = vddarm_consumers,
.supply_regulator = "WALLVDD",
};

static struct regulator_init_data vddint __initdata = {
Expand Down Expand Up @@ -406,62 +407,71 @@ static struct regulator_init_data vddmmc __initdata = {
},
.num_consumer_supplies = ARRAY_SIZE(vddmmc_consumers),
.consumer_supplies = vddmmc_consumers,
.supply_regulator = "WALLVDD",
};

static struct regulator_init_data vddotgi __initdata = {
.constraints = {
.name = "VDDOTGi",
.always_on = 1,
},
.supply_regulator = "WALLVDD",
};

static struct regulator_init_data vddotg __initdata = {
.constraints = {
.name = "VDDOTG",
.always_on = 1,
},
.supply_regulator = "WALLVDD",
};

static struct regulator_init_data vddhi __initdata = {
.constraints = {
.name = "VDDHI",
.always_on = 1,
},
.supply_regulator = "WALLVDD",
};

static struct regulator_init_data vddadc __initdata = {
.constraints = {
.name = "VDDADC,VDDDAC",
.always_on = 1,
},
.supply_regulator = "WALLVDD",
};

static struct regulator_init_data vddmem0 __initdata = {
.constraints = {
.name = "VDDMEM0",
.always_on = 1,
},
.supply_regulator = "WALLVDD",
};

static struct regulator_init_data vddpll __initdata = {
.constraints = {
.name = "VDDPLL",
.always_on = 1,
},
.supply_regulator = "WALLVDD",
};

static struct regulator_init_data vddlcd __initdata = {
.constraints = {
.name = "VDDLCD",
.always_on = 1,
},
.supply_regulator = "WALLVDD",
};

static struct regulator_init_data vddalive __initdata = {
.constraints = {
.name = "VDDALIVE",
.always_on = 1,
},
.supply_regulator = "WALLVDD",
};

static struct wm831x_status_pdata banff_red_led __initdata = {
Expand Down

0 comments on commit 3512729

Please sign in to comment.