Skip to contentSkip to conversation

ARM: sunxi: Add CPU regulator for cpufreq

PATCH New Maxime Ripard 2 participants 3 messages Jan 12, 2016 – Jan 17, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: sunxi: Add CPU regulator for cpufreq

The current DT doesn't have a phandle to the CPU regulator in the CPU node, which disables the CPU voltage scaling entirely.

Add that phandle.

---
 arch/arm/boot/dts/sun5i-r8-chip.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/sun5i-r8-chip.dts +4 -0
index 530ab28e9ca2..f6898c6b84d4 100644
@@ -70,6 +70,10 @@
 	status = "okay";
 };
 
+&cpu0 {
+	cpu-supply = <&reg_dcdc2>;
+};
+
 &ehci0 {
 	status = "okay";
 };
Signature · 1 line
2.6.4
#1 lore raw

PATCH 1/1 ARM: sunxi: Add CPU regulator for cpufreq

Quoted 2 lines · Maxime Ripard

The current DT doesn't have a phandle to the CPU regulator in the CPU node, which disables the CPU voltage scaling entirely.

Commit message doesn't say which chip (family).

ChenYu

Quoted 25 lines

Add that phandle.

---
 arch/arm/boot/dts/sun5i-r8-chip.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/sun5i-r8-chip.dts +4 -1
index 530ab28e9ca2..f6898c6b84d4 100644
@@ -70,6 +70,10 @@
        status = "okay";
 };
 
+&cpu0 {
+       cpu-supply = <&reg_dcdc2>;
+};
+
 &ehci0 {
        status = "okay";
 };
--

2.6.4

#2 lore raw

PATCH 1/1 ARM: sunxi: Add CPU regulator for cpufreq

Hi,

Quoted 6 lines · Chen-Yu Tsai
Quoted 2 lines · Maxime Ripard

The current DT doesn't have a phandle to the CPU regulator in the CPU node, which disables the CPU voltage scaling entirely.

Commit message doesn't say which chip (family).

Even worse, which board :)

I've fixed it and applied it.

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160117/babc3cc3/attachment-0001.sig>