[PATCH 3/3] SMDK6410: Hook regulator control of VDDARM up for WM1190-EV1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This allows the S3C CPUfreq driver to do DVFS.

Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
 arch/arm/mach-s3c6410/mach-smdk6410.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c
index 697c046..d26f693 100644
--- a/arch/arm/mach-s3c6410/mach-smdk6410.c
+++ b/arch/arm/mach-s3c6410/mach-smdk6410.c
@@ -226,13 +226,22 @@ static struct regulator_init_data wm8350_dcdc4_data = {
 };
 
 /* ARM core */
+static struct regulator_consumer_supply dcdc6_consumers[] = {
+	{
+		.supply = "vddarm",
+	}
+};
+
 static struct regulator_init_data wm8350_dcdc6_data = {
 	.constraints = {
 		.name = "PVDD_ARM",
 		.min_uV = 1000000,
 		.max_uV = 1300000,
 		.always_on = 1,
+		.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
 	},
+	.num_consumer_supplies = ARRAY_SIZE(dcdc6_consumers),
+	.consumer_supplies = dcdc6_consumers,
 };
 
 /* Alive */
-- 
1.6.2.2

--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux