Skip to contentSkip to conversation

arm64: dts: rockchip: add more cpu operating points for RK3328

PATCH In review Leonidas P. Papadakos 2 participants 2 messages Mar 1, 2019 – Mar 12, 2019 1 message not in the archive

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

PATCH v2 1/1 arm64: dts: rockchip: add more cpu operating points for RK3328

This allows for greater max frequency on rk3328 boards, increasing performance.

It has been included in Armbian (a linux distibution for ARM boards) for a while now without any reported issues

https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1392mhz-opp.patch
https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1512mhz-opp.patch

---
 arch/arm64/boot/dts/rockchip/rk3328.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/rockchip/rk3328.dtsi +10 -0
index 84f14b132..42a59f254 100644
@@ -123,6 +123,16 @@
 			opp-microvolt = <1300000>;
 			clock-latency-ns = <40000>;
 		};
+		opp-1392000000 {
+			opp-hz = /bits/ 64 <1392000000>;
+			opp-microvolt = <1350000>;
+			clock-latency-ns = <40000>;
+		};
+		opp-1512000000 {
+			opp-hz = /bits/ 64 <1512000000>;
+			opp-microvolt = <1450000>;
+			clock-latency-ns = <40000>;
+		};
 	};
 
 	amba {
Signature · 1 line
2.21.0

A message that is not in the archive (sent off-list or not yet received): 20190301195552.12562-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

Am Freitag, 1. März 2019, 20:55:53 CET schrieb Leonidas P. Papadakos:

Quoted 10 lines

This allows for greater max frequency on rk3328 boards, increasing performance.

It has been included in Armbian (a linux distibution for ARM boards) for a while now without any reported issues

https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1392mhz-opp.patch
https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1512mhz-opp.patch

as per the response from Rockchip regarding the maximum specification, we'll stay within the save area of frequencies - so not adding these higher ones.

Overclocking a chip is a personal prerogative but should not be part of the general mainline devicetree.

Heiko