-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing overclocking opp for N2+
- Loading branch information
1 parent
2b13064
commit d0831a7
Showing
3 changed files
with
93 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
patch/kernel/meson64-current/0001-Add-missing-CPU-opp-values-for-clocking-g12b-N2-high.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
From 712b399ed54f49e0ac7ae92c57ed775604eaaed9 Mon Sep 17 00:00:00 2001 | ||
From: Igor Pecovnik <igor.pecovnik@gmail.com> | ||
Date: Wed, 10 Feb 2021 18:07:08 +0100 | ||
Subject: [PATCH] Add missing CPU opp values for clocking g12b / N2+ higher | ||
|
||
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com> | ||
--- | ||
.../arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | 16 ++++++++++++++++ | ||
1 file changed, 16 insertions(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | ||
index d61f43052..75030d197 100644 | ||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | ||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | ||
@@ -65,6 +65,14 @@ opp-1800000000 { | ||
opp-hz = /bits/ 64 <1800000000>; | ||
opp-microvolt = <1001000>; | ||
}; | ||
+ opp-1908000000 { | ||
+ opp-hz = /bits/ 64 <1908000000>; | ||
+ opp-microvolt = <1030000>; | ||
+ }; | ||
+ opp-2016000000 { | ||
+ opp-hz = /bits/ 64 <2016000000>; | ||
+ opp-microvolt = <1040000>; | ||
+ }; | ||
}; | ||
|
||
cpub_opp_table_1: opp-table-1 { | ||
@@ -145,5 +153,13 @@ opp-2208000000 { | ||
opp-hz = /bits/ 64 <2208000000>; | ||
opp-microvolt = <1011000>; | ||
}; | ||
+ opp-2304000000 { | ||
+ opp-hz = /bits/ 64 <2304000000>; | ||
+ opp-microvolt = <1030000>; | ||
+ }; | ||
+ opp-2400000000 { | ||
+ opp-hz = /bits/ 64 <2400000000>; | ||
+ opp-microvolt = <1040000>; | ||
+ }; | ||
}; | ||
}; | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|
46 changes: 46 additions & 0 deletions
46
patch/kernel/meson64-dev/0001-Add-missing-CPU-opp-values-for-clocking-g12b-N2-high.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
From 712b399ed54f49e0ac7ae92c57ed775604eaaed9 Mon Sep 17 00:00:00 2001 | ||
From: Igor Pecovnik <igor.pecovnik@gmail.com> | ||
Date: Wed, 10 Feb 2021 18:07:08 +0100 | ||
Subject: [PATCH] Add missing CPU opp values for clocking g12b / N2+ higher | ||
|
||
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com> | ||
--- | ||
.../arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | 16 ++++++++++++++++ | ||
1 file changed, 16 insertions(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | ||
index d61f43052..75030d197 100644 | ||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | ||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | ||
@@ -65,6 +65,14 @@ opp-1800000000 { | ||
opp-hz = /bits/ 64 <1800000000>; | ||
opp-microvolt = <1001000>; | ||
}; | ||
+ opp-1908000000 { | ||
+ opp-hz = /bits/ 64 <1908000000>; | ||
+ opp-microvolt = <1030000>; | ||
+ }; | ||
+ opp-2016000000 { | ||
+ opp-hz = /bits/ 64 <2016000000>; | ||
+ opp-microvolt = <1040000>; | ||
+ }; | ||
}; | ||
|
||
cpub_opp_table_1: opp-table-1 { | ||
@@ -145,5 +153,13 @@ opp-2208000000 { | ||
opp-hz = /bits/ 64 <2208000000>; | ||
opp-microvolt = <1011000>; | ||
}; | ||
+ opp-2304000000 { | ||
+ opp-hz = /bits/ 64 <2304000000>; | ||
+ opp-microvolt = <1030000>; | ||
+ }; | ||
+ opp-2400000000 { | ||
+ opp-hz = /bits/ 64 <2400000000>; | ||
+ opp-microvolt = <1040000>; | ||
+ }; | ||
}; | ||
}; | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|