Skip to contentSkip to conversation

Odroid C2: Enable DVFS for cpu

RFC New Anand Moon 1 participant 2 messages Sep 7, 2019

Subsystems (2)
lore
Share & tools
lore

Anand Moon

author
#0 lore raw

cover Odroid C2: Enable DVFS for cpu

This patch enable DVFS on GXBB Odroid C2.

DVFS has been tested by running the arm64 cpuburn
[1] https://github.com/ssvb/cpuburn-arm/blob/master/cpuburn-a53.S
PM-QA testing
[2] https://git.linaro.org/power/pm-qa.git [cpufreq testcase]

Tested on latest U-Boot 2019.07-1 (Aug 01 2019 - 23:58:01 +0000) Arch Linux ARM

Patch based on my linu-next-20190904 on top of my previous patch's.

Best Regards
-Anand

Anand Moon (1):
arm64: dts: meson: odroid-c2: Enable SCPI DVFS for cpu

 arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.23.0
author
#1 lore raw

RFC 1/1 arm64: dts: meson: odroid-c2: Enable SCPI DVFS for cpu

Enable System Control and Power Interface, DVFS for cpu with setting 1.54 GHz as max freq in the initial SCPI tables loaded by the BL2, i.e. packed with U-Boot.

Fixes f7bcd4b6f698 (ARM64: dts: meson-gxbb-odroidc2: Disable SCPI DVFS)
Cc Martin Blumenstingl <[email protected]>
Cc Jerome Brunet <[email protected]>
Cc Neil Armstrong <[email protected]>
Cc Kevin Hilman <[email protected]>

---
In discuss on other mailing list thread below.
[0] https://lkml.org/lkml/2019/8/30/186

Tested on mainline U-Boot 2019.07-1 (Aug 01 2019 - 23:58:01 +0000) Arch Linux ARM on archlinux distro.

---
 arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +1 -1
index 6ae9fafe4244..7e822408ba26 100644
@@ -307,7 +307,7 @@
 };
 
 &scpi_clocks {
-	status = "disabled";
+	status = "okay";
 };
 
 /* SD */
Signature · 1 line
2.23.0