Skip to content

Commit a9d5be3

Browse files
alcharkedoardocanepa
authored andcommitted
arm64: dts: rockchip: list all CPU supplies on ArmSoM Sige5
BugLink: https://bugs.launchpad.net/bugs/2123805 commit c76bcc7d1f24e90a2d7b98d1e523d7524269fc56 upstream. List both CPU supply regulators which drive the little and big CPU clusters, respectively, so that cpufreq can pick them up. Without this patch the cpufreq governor attempts to raise the big CPU frequency under high load, while its supply voltage stays at 850000 uV. This causes system instability and, in my case, random reboots. With this patch, supply voltages are adjusted in step with frequency changes from 700000-737000 uV in idle to 950000 uV under full load, and the system appears to be stable. While at this, list all CPU supplies for completeness. Cc: [email protected] Fixes: 40f742b ("arm64: dts: rockchip: Add rk3576-armsom-sige5 board") Reviewed-by: Nicolas Frattaroli <[email protected]> Tested-by: Nicolas Frattaroli <[email protected]> Signed-off-by: Alexey Charkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Noah Wager <[email protected]> Signed-off-by: Edoardo Canepa <[email protected]>
1 parent 1244b88 commit a9d5be3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,38 @@
165165
};
166166
};
167167

168+
&cpu_b0 {
169+
cpu-supply = <&vdd_cpu_big_s0>;
170+
};
171+
172+
&cpu_b1 {
173+
cpu-supply = <&vdd_cpu_big_s0>;
174+
};
175+
176+
&cpu_b2 {
177+
cpu-supply = <&vdd_cpu_big_s0>;
178+
};
179+
180+
&cpu_b3 {
181+
cpu-supply = <&vdd_cpu_big_s0>;
182+
};
183+
168184
&cpu_l0 {
169185
cpu-supply = <&vdd_cpu_lit_s0>;
170186
};
171187

188+
&cpu_l1 {
189+
cpu-supply = <&vdd_cpu_lit_s0>;
190+
};
191+
192+
&cpu_l2 {
193+
cpu-supply = <&vdd_cpu_lit_s0>;
194+
};
195+
196+
&cpu_l3 {
197+
cpu-supply = <&vdd_cpu_lit_s0>;
198+
};
199+
172200
&gmac0 {
173201
phy-mode = "rgmii-id";
174202
clock_in_out = "output";

0 commit comments

Comments
 (0)