aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-10-07 18:06:18 -0400
committerKukjin Kim <kgene.kim@samsung.com>2013-10-15 18:25:40 -0400
commitdb9f31696a5f2871238cbc1621253107f4fe132a (patch)
tree9d63fea0e94f85d5faedc21dd0ee613d60d2ea82
parentfc017072f06d1d4f3be8fc7dc22bc7d2751493b6 (diff)
ARM: dts: Work around lack of cpufreq regulator lookup for exynos4210-origen and trats boards
Exynos cpufreq drivers does not support device tree based regulator lookup, so it can get the VDD ARM regulator only by its name. To get cpufreq working for now, this patch works this around by renaming the regulator in board dts files to vdd_arm, which is the name expected by the driver. This fixes a regression introduced by dropping support of board file based bootup of Exynos 4210 boards that rendered cpufreq inoperable on Trats and Origen boards. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/boot/dts/exynos4210-origen.dts7
-rw-r--r--arch/arm/boot/dts/exynos4210-trats.dts7
2 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts
index 382d8c7e2906..46378fee2a13 100644
--- a/arch/arm/boot/dts/exynos4210-origen.dts
+++ b/arch/arm/boot/dts/exynos4210-origen.dts
@@ -192,7 +192,12 @@
192 }; 192 };
193 193
194 buck1_reg: BUCK1 { 194 buck1_reg: BUCK1 {
195 regulator-name = "VDD_ARM_1.2V"; 195 /*
196 * HACK: The real name is VDD_ARM_1.2V,
197 * but exynos-cpufreq does not support
198 * DT-based regulator lookup yet.
199 */
200 regulator-name = "vdd_arm";
196 regulator-min-microvolt = <950000>; 201 regulator-min-microvolt = <950000>;
197 regulator-max-microvolt = <1350000>; 202 regulator-max-microvolt = <1350000>;
198 regulator-always-on; 203 regulator-always-on;
diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts
index 1c164f234bcc..63cc571ca307 100644
--- a/arch/arm/boot/dts/exynos4210-trats.dts
+++ b/arch/arm/boot/dts/exynos4210-trats.dts
@@ -290,7 +290,12 @@
290 }; 290 };
291 291
292 varm_breg: BUCK1 { 292 varm_breg: BUCK1 {
293 regulator-name = "VARM_1.2V_C210"; 293 /*
294 * HACK: The real name is VARM_1.2V_C210,
295 * but exynos-cpufreq does not support
296 * DT-based regulator lookup yet.
297 */
298 regulator-name = "vdd_arm";
294 regulator-min-microvolt = <900000>; 299 regulator-min-microvolt = <900000>;
295 regulator-max-microvolt = <1350000>; 300 regulator-max-microvolt = <1350000>;
296 regulator-always-on; 301 regulator-always-on;