Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3980b6a authored by Mark Brown's avatar Mark Brown Committed by Ben Dooks
Browse files

[ARM] SMDK6410: Hook regulator control of VDDARM up for WM1190-EV1



This allows the S3C CPUfreq driver to do DVFS.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 1f26a8a0
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -226,13 +226,22 @@ static struct regulator_init_data wm8350_dcdc4_data = {
};
};


/* ARM core */
/* ARM core */
static struct regulator_consumer_supply dcdc6_consumers[] = {
	{
		.supply = "vddarm",
	}
};

static struct regulator_init_data wm8350_dcdc6_data = {
static struct regulator_init_data wm8350_dcdc6_data = {
	.constraints = {
	.constraints = {
		.name = "PVDD_ARM",
		.name = "PVDD_ARM",
		.min_uV = 1000000,
		.min_uV = 1000000,
		.max_uV = 1300000,
		.max_uV = 1300000,
		.always_on = 1,
		.always_on = 1,
		.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
	},
	},
	.num_consumer_supplies = ARRAY_SIZE(dcdc6_consumers),
	.consumer_supplies = dcdc6_consumers,
};
};


/* Alive */
/* Alive */