Skip to content

Commit c1ebb90

Browse files
maidnlMaxPayne86
authored andcommitted
Rebase patch against kernel version 6.6
1 parent c4c9d8b commit c1ebb90

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

meta-arduino-bsp/recipes-kernel/linux/linux-imx/portenta-x8/DVFS-0001-Add_400MHz_200MHz_100MHz.patch

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1+
From c3253354e3eaa04f88a371b30bb6c0751a1f92eb Mon Sep 17 00:00:00 2001
2+
From: maidnl <d.aimo@arduino.cc>
3+
Date: Tue, 6 May 2025 14:51:53 +0200
4+
Subject: [PATCH] added 400MHz 200MHz 100MHz
5+
6+
---
7+
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 48 +++++++++++++++++++++++
8+
drivers/clk/imx/clk-pll14xx.c | 3 ++
9+
2 files changed, 51 insertions(+)
10+
111
diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
2-
index c63b5c467be2..97c119dabb0c 100755
12+
index 6f7a6eee68ef..cffea9baba19 100644
313
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
414
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
5-
@@ -155,6 +155,54 @@ a53_opp_table: opp-table {
15+
@@ -156,6 +156,54 @@ a53_opp_table: opp-table {
616
compatible = "operating-points-v2";
717
opp-shared;
818

@@ -58,16 +68,19 @@ index c63b5c467be2..97c119dabb0c 100755
5868
opp-hz = /bits/ 64 <1200000000>;
5969
opp-microvolt = <850000>;
6070
diff --git a/drivers/clk/imx/clk-pll14xx.c b/drivers/clk/imx/clk-pll14xx.c
61-
index 2ec7154c7a95..0b39f04510ff 100644
71+
index 6c17786ecb9f..c4b4ba35376d 100644
6272
--- a/drivers/clk/imx/clk-pll14xx.c
6373
+++ b/drivers/clk/imx/clk-pll14xx.c
64-
@@ -55,6 +55,9 @@ static const struct imx_pll14xx_rate_table imx_pll1416x_tbl[] = {
65-
PLL_1416X_RATE(750000000U, 250, 2, 2),
74+
@@ -56,6 +56,9 @@ static const struct imx_pll14xx_rate_table imx_pll1416x_tbl[] = {
6675
PLL_1416X_RATE(700000000U, 350, 3, 2),
76+
PLL_1416X_RATE(640000000U, 320, 3, 2),
6777
PLL_1416X_RATE(600000000U, 300, 3, 2),
6878
+ PLL_1416X_RATE(400000000U, 200, 3, 2),
6979
+ PLL_1416X_RATE(200000000U, 200, 3, 3),
7080
+ PLL_1416X_RATE(100000000U, 200, 3, 4),
81+
PLL_1416X_RATE(320000000U, 160, 3, 2),
7182
};
7283

73-
static const struct imx_pll14xx_rate_table imx_pll1443x_tbl[] = {
84+
--
85+
2.43.0
86+

0 commit comments

Comments
 (0)