Skip to content

Commit 300bde7

Browse files
Thomas AbrahamKukjin Kim
authored andcommitted
ARM: dts: add CPU OPP and regulator supply property for exynos4210
For Exynos4210 platforms, add CPU operating points and CPU regulator supply properties for migrating from Exynos specific cpufreq driver to using generic cpufreq driver. Cc: Doug Anderson <dianders@chromium.org> Cc: Andreas Faerber <afaerber@suse.de> Cc: Sachin Kamat <sachin.kamat@linaro.org> Cc: Andreas Farber <afaerber@suse.de> Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> [b.zolnierkie: removed exynos5250 and exynos5420 support for now] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> [k.kozlowski: Rebased, moved cpu nodes to alphabetical position] Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
1 parent 1342ff4 commit 300bde7

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

arch/arm/boot/dts/exynos4210-origen.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
};
128128
};
129129

130+
&cpu0 {
131+
cpu0-supply = <&buck1_reg>;
132+
};
133+
130134
&fimd {
131135
pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>;
132136
pinctrl-names = "default";

arch/arm/boot/dts/exynos4210-trats.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@
188188
};
189189
};
190190

191+
&cpu0 {
192+
cpu0-supply = <&varm_breg>;
193+
};
194+
191195
&dsi_0 {
192196
vddcore-supply = <&vusb_reg>;
193197
vddio-supply = <&vmipi_reg>;

arch/arm/boot/dts/exynos4210-universal_c210.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,10 @@
548548
};
549549
};
550550

551+
&cpu0 {
552+
cpu0-supply = <&vdd_arm_reg>;
553+
};
554+
551555
&pinctrl_1 {
552556
hdmi_hpd: hdmi-hpd {
553557
samsung,pins = "gpx3-7";

arch/arm/boot/dts/exynos4210.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@
4040
device_type = "cpu";
4141
compatible = "arm,cortex-a9";
4242
reg = <0x900>;
43+
clocks = <&clock CLK_ARM_CLK>;
44+
clock-names = "cpu";
45+
clock-latency = <160000>;
46+
47+
operating-points = <
48+
1200000 1250000
49+
1000000 1150000
50+
800000 1075000
51+
500000 975000
52+
400000 975000
53+
200000 950000
54+
>;
4355
cooling-min-level = <4>;
4456
cooling-max-level = <2>;
4557
#cooling-cells = <2>; /* min followed by max */

0 commit comments

Comments
 (0)