Commit db9f3169 authored by Tomasz Figa's avatar Tomasz Figa Committed by Kukjin Kim

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: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent fc017072
...@@ -192,7 +192,12 @@ ldo21_reg: LDO21 { ...@@ -192,7 +192,12 @@ ldo21_reg: LDO21 {
}; };
buck1_reg: BUCK1 { buck1_reg: BUCK1 {
regulator-name = "VDD_ARM_1.2V"; /*
* HACK: The real name is VDD_ARM_1.2V,
* but exynos-cpufreq does not support
* DT-based regulator lookup yet.
*/
regulator-name = "vdd_arm";
regulator-min-microvolt = <950000>; regulator-min-microvolt = <950000>;
regulator-max-microvolt = <1350000>; regulator-max-microvolt = <1350000>;
regulator-always-on; regulator-always-on;
......
...@@ -290,7 +290,12 @@ vddq_reg: LDO21 { ...@@ -290,7 +290,12 @@ vddq_reg: LDO21 {
}; };
varm_breg: BUCK1 { varm_breg: BUCK1 {
regulator-name = "VARM_1.2V_C210"; /*
* HACK: The real name is VARM_1.2V_C210,
* but exynos-cpufreq does not support
* DT-based regulator lookup yet.
*/
regulator-name = "vdd_arm";
regulator-min-microvolt = <900000>; regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1350000>; regulator-max-microvolt = <1350000>;
regulator-always-on; regulator-always-on;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment