aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFritz D. Ansel <fdansel@yandex.ru>2021-08-02 19:42:37 +0200
committerDaniel Golle <daniel@makrotopia.org>2022-01-09 14:48:16 +0000
commit693958497a8cd55aa2eaba602ac5ab72d23fc1a8 (patch)
treed4b4622429944ae2490377c99690e18414f526ef /target
parentabc2821286e4d9ccc98146a5bc3cf3f8e1ff4b9f (diff)
downloadupstream-693958497a8cd55aa2eaba602ac5ab72d23fc1a8.tar.gz
upstream-693958497a8cd55aa2eaba602ac5ab72d23fc1a8.tar.bz2
upstream-693958497a8cd55aa2eaba602ac5ab72d23fc1a8.zip
mediatek mt7622: fix 300mhz typo in dts
The lowest frequency should be 300MHz, since that is the label assigned to the OPP in the mt7622.dtsi device tree, while there is one missing zero in the actual value. To be clear, the lowest frequency should be 300MHz instead of 30MHz. As mentioned @dangowrt on the OpenWrt forum there is no benefit in leaving 30MHz as the lowest frequency. Signed-off-by: Jip de Beer <gpk6x3591g0l@opayq.com> Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mediatek/patches-5.10/721-dts-mt7622-mediatek-fix-300mhz.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.10/721-dts-mt7622-mediatek-fix-300mhz.patch b/target/linux/mediatek/patches-5.10/721-dts-mt7622-mediatek-fix-300mhz.patch
new file mode 100644
index 0000000000..f9a5fdbd0d
--- /dev/null
+++ b/target/linux/mediatek/patches-5.10/721-dts-mt7622-mediatek-fix-300mhz.patch
@@ -0,0 +1,27 @@
+From: Jip de Beer <gpk6x3591g0l@opayq.com>
+Date: Sun, 9 Jan 2022 13:14:04 +0100
+Subject: [PATCH] mediatek mt7622: fix 300mhz typo in dts
+
+The lowest frequency should be 300MHz, since that is the label
+assigned to the OPP in the mt7622.dtsi device tree, while there is one
+missing zero in the actual value.
+
+To be clear, the lowest frequency should be 300MHz instead of 30MHz.
+
+As mentioned @dangowrt on the OpenWrt forum there is no benefit in
+leaving 30MHz as the lowest frequency.
+
+Signed-off-by: Jip de Beer <gpk6x3591g0l@opayq.com>
+Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
+---
+--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
++++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
+@@ -24,7 +24,7 @@
+ compatible = "operating-points-v2";
+ opp-shared;
+ opp-300000000 {
+- opp-hz = /bits/ 64 <30000000>;
++ opp-hz = /bits/ 64 <300000000>;
+ opp-microvolt = <950000>;
+ };
+