Skip to contentSkip to conversation

arm64: dts: allwinner: h6: orangepi: Raise CPU regulator max voltage

PATCH Applied Jernej Skrabec 2 participants 2 messages Nov 15

Subsystems (2)
lore
Share & tools
lore

Jernej Skrabec

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: allwinner: h6: orangepi: Raise CPU regulator max voltage

The vdd-cpu regulator on the Orange Pi One Plus and Lite2 is limited to 1.08 V, so the OPP core drops all CPU OPPs that need more. Depending on the speed bin, that caps the CPU at 1488 or 1704 MHz instead of 1800 MHz.

The limit dates back to the initial board support and isn't a hardware constraint. Raise it to 1.16 V, the highest voltage in the H6 CPU OPP table, as was done on the Orange Pi 3 and Pine H64 when they gained CPU DVFS. The actual voltage still comes from the OPP for the chip's speed bin.

---
 arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi +1 -1
index a2a2e4cb0256..57b137755227 100644
@@ -207,7 +207,7 @@ reg_cldo3: cldo3 {
 			reg_dcdca: dcdca {
 				regulator-always-on;
 				regulator-min-microvolt = <810000>;
-				regulator-max-microvolt = <1080000>;
+				regulator-max-microvolt = <1160000>;
 				regulator-ramp-delay = <2500>;
 				regulator-name = "vdd-cpu";
 			};

base-commit: c3b0d2bd3ba62c39c131e80d940cabbb8441bbf2

Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 5 lines · Jernej Skrabec

The vdd-cpu regulator on the Orange Pi One Plus and Lite2 is limited to 1.08 V, so the OPP core drops all CPU OPPs that need more. Depending on the speed bin, that caps the CPU at 1488 or 1704 MHz instead of 1800 MHz.

Quoted 7 lines

The limit dates back to the initial board support and isn't a hardware constraint. Raise it to 1.16 V, the highest voltage in the H6 CPU OPP table, as was done on the Orange Pi 3 and Pine H64 when they gained CPU DVFS. The actual voltage still comes from the OPP for the chip's speed bin.

[...]

Applied to sunxi/dt-for-7.5 in sunxi, thanks!

[1/1] arm64: dts: allwinner: h6: orangepi: Raise CPU regulator max voltage

      https://git.kernel.org/sunxi/linux/c/098728144545

Best regards,

Signature · 1 line
Chen-Yu Tsai <[email protected]>