From 499c6ecbfd71f3748db9e278687ec1eec6da42f7 Mon Sep 17 00:00:00 2001 From: Register <458892+aieu@users.noreply.github.com> Date: Wed, 24 Mar 2021 13:50:13 +0800 Subject: [PATCH] sunxi: h3: add more cpu operating points Signed-off-by: Register <458892+aieu@users.noreply.github.com> [Fixed format issues, add 960MHz and remove overclock part] Signed-off-by: AmadeusGhost (cherry picked from commit a52382d5d76a3ad2e0652dcef78b56c3e3f066e6) --- ...n8i-h3-add-more-cpu-operating-points.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 target/linux/sunxi/patches-5.4/302-sun8i-h3-add-more-cpu-operating-points.patch diff --git a/target/linux/sunxi/patches-5.4/302-sun8i-h3-add-more-cpu-operating-points.patch b/target/linux/sunxi/patches-5.4/302-sun8i-h3-add-more-cpu-operating-points.patch new file mode 100644 index 0000000000..23943cee39 --- /dev/null +++ b/target/linux/sunxi/patches-5.4/302-sun8i-h3-add-more-cpu-operating-points.patch @@ -0,0 +1,50 @@ +--- a/arch/arm/boot/dts/sun8i-h3.dtsi ++++ b/arch/arm/boot/dts/sun8i-h3.dtsi +@@ -60,11 +60,47 @@ + clock-latency-ns = <244144>; /* 8 32k periods */ + }; + ++ opp@960000000 { ++ opp-hz = /bits/ 64 <960000000>; ++ opp-microvolt = <1200000 1200000 1300000>; ++ clock-latency-ns = <244144>; /* 8 32k periods */ ++ }; ++ + opp-1008000000 { + opp-hz = /bits/ 64 <1008000000>; + opp-microvolt = <1200000 1200000 1300000>; + clock-latency-ns = <244144>; /* 8 32k periods */ + }; ++ ++ opp-1056000000 { ++ opp-hz = /bits/ 64 <1056000000>; ++ opp-microvolt = <1300000 1300000 1300000>; ++ clock-latency-ns = <244144>; /* 8 32k periods */ ++ }; ++ ++ opp-1104000000 { ++ opp-hz = /bits/ 64 <1104000000>; ++ opp-microvolt = <1300000 1300000 1300000>; ++ clock-latency-ns = <244144>; /* 8 32k periods */ ++ }; ++ ++ opp-1152000000 { ++ opp-hz = /bits/ 64 <1152000000>; ++ opp-microvolt = <1300000 1300000 1300000>; ++ clock-latency-ns = <244144>; /* 8 32k periods */ ++ }; ++ ++ opp-1200000000 { ++ opp-hz = /bits/ 64 <1200000000>; ++ opp-microvolt = <1300000 1300000 1300000>; ++ clock-latency-ns = <244144>; /* 8 32k periods */ ++ }; ++ ++ opp-1248000000 { ++ opp-hz = /bits/ 64 <1248000000>; ++ opp-microvolt = <1300000 1300000 1300000>; ++ clock-latency-ns = <244144>; /* 8 32k periods */ ++ }; + }; + + cpus {