Skip to contentSkip to conversation

arm64: dts: meson: S922X: extend cpu opp-points

PATCH Superseded Tim Lewis 2 participants 3 messages Apr 22, 2020 – Apr 26, 2020

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Tim Lewis

author
#0 lore raw

PATCH v3 1/1 arm64: dts: meson: S922X: extend cpu opp-points

HardKernel supports overclock through the addition to extra opp points in their official kernel sources for odroid-n2 [1]. Christian tested on other S922X devices with "no obvious issues". Neil thinks dvfs and thermal managementis can keep other S922X devices safe.

[1] https://github.com/hardkernel/linux/commit/f86cd9487c7483b2a05f448b9ebacf6bd5a2ad2f

---
 arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 15 +++++++++++++++
 1 files changed, 15 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +15 -0
index 046cc332d..1e5d0ee5d 100644
@@ -65,6 +65,11 @@
 			opp-hz = /bits/ 64 <1896000000>;
 			opp-microvolt = <981000>;
 		};
+
+		opp-1992000000 {
+			opp-hz = /bits/ 64 <1992000000>;
+			opp-microvolt = <1001000>;
+		};
 	};
 
 	cpub_opp_table_1: opp-table-1 {
@@ -120,5 +125,15 @@
 			opp-hz = /bits/ 64 <1704000000>;
 			opp-microvolt = <891000>;
 		};
+
+		opp-1800000000 {
+			opp-hz = /bits/ 64 <1800000000>;
+			opp-microvolt = <981000>;
+		};
+
+		opp-1908000000 {
+			opp-hz = /bits/ 64 <1908000000>;
+			opp-microvolt = <1022000>;
+		};
 	};
 };
Signature · 1 line
2.17.1
Reviewed-by on v3 1/1
#1 lore raw
Quoted 4 lines · Tim Lewis

HardKernel supports overclock through the addition to extra opp points in their official kernel sources for odroid-n2 [1]. Christian tested on other S922X devices with "no obvious issues". Neil thinks dvfs and thermal managementis can keep other S922X devices safe.

--------------/\
management

Quoted 32 lines

[1] https://github.com/hardkernel/linux/commit/f86cd9487c7483b2a05f448b9ebacf6bd5a2ad2f

---
 arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 15 +++++++++++++++
 1 files changed, 15 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +7 -0
index 046cc332d..1e5d0ee5d 100644
@@ -65,6 +65,11 @@
 			opp-hz = /bits/ 64 <1896000000>;
 			opp-microvolt = <981000>;
 		};
+
+		opp-1992000000 {
+			opp-hz = /bits/ 64 <1992000000>;
+			opp-microvolt = <1001000>;
+		};
 	};
 
 	cpub_opp_table_1: opp-table-1 {
@@ -120,5 +125,15 @@
 			opp-hz = /bits/ 64 <1704000000>;
 			opp-microvolt = <891000>;
 		};
+
+		opp-1800000000 {

arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi line 139

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +8 -0
+			opp-hz = /bits/ 64 <1800000000>;
+			opp-microvolt = <981000>;
+		};
+
+		opp-1908000000 {
+			opp-hz = /bits/ 64 <1908000000>;
+			opp-microvolt = <1022000>;
+		};
 	};
 };

The patch is well formed but I can only test on Odroid-N2.

Anyway, Christian did a test other S922X boxes and it doesn't crash.

Neil

author
#2 lore raw

Oops, will fix in v4.

Quoted 59 lines · Neil Armstrong
Quoted 4 lines · Tim Lewis

HardKernel supports overclock through the addition to extra opp points in their official kernel sources for odroid-n2 [1]. Christian tested on other S922X devices with "no obvious issues". Neil thinks dvfs and thermal managementis can keep other S922X devices safe.

--------------/\
management

Quoted 32 lines

[1] https://github.com/hardkernel/linux/commit/f86cd9487c7483b2a05f448b9ebacf6bd5a2ad2f

---
 arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 15 +++++++++++++++
 1 files changed, 15 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +7 -0
index 046cc332d..1e5d0ee5d 100644
@@ -65,6 +65,11 @@
                      opp-hz = /bits/ 64 <1896000000>;
                      opp-microvolt = <981000>;
              };
+
+             opp-1992000000 {
+                     opp-hz = /bits/ 64 <1992000000>;
+                     opp-microvolt = <1001000>;
+             };
      };
 
      cpub_opp_table_1: opp-table-1 {
@@ -120,5 +125,15 @@
                      opp-hz = /bits/ 64 <1704000000>;
                      opp-microvolt = <891000>;
              };
+
+             opp-1800000000 {

arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi line 139

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +8 -0
+                     opp-hz = /bits/ 64 <1800000000>;
+                     opp-microvolt = <981000>;
+             };
+
+             opp-1908000000 {
+                     opp-hz = /bits/ 64 <1908000000>;
+                     opp-microvolt = <1022000>;
+             };
      };
 };

The patch is well formed but I can only test on Odroid-N2.

Anyway, Christian did a test other S922X boxes and it doesn't crash.

Neil