From f49b452cc021a8f7e0145604ff1d88e8c14285dd Mon Sep 17 00:00:00 2001 From: Aleksander Jan Bajkowski Date: Tue, 16 Dec 2025 22:02:34 +0100 Subject: [PATCH] airoha: replace patches with upstream version Replace patches with version accepted upstream. Signed-off-by: Aleksander Jan Bajkowski Link: https://github.com/openwrt/openwrt/pull/21333 Signed-off-by: Hauke Mehrtens --- ....19-net-airoha-Fix-a-copy-and-paste-bug-in-probe.patch} | 0 ...airoha-Get-rid-of-dma_sync_single_for_device-in-.patch} | 0 ...airoha-fix-potential-use-after-free-in-airoha_np.patch} | 0 ...> 401-02-v6.16-net-dsa-mt7530-Add-AN7583-support.patch} | 7 +++++-- ...-v6.18-cpufreq-airoha-Add-support-for-AN7583-SoC.patch} | 5 +++-- 5 files changed, 8 insertions(+), 4 deletions(-) rename target/linux/airoha/patches-6.12/{104-6.19-net-airoha-Fix-a-copy-and-paste-bug-in-probe.patch => 104-v6.19-net-airoha-Fix-a-copy-and-paste-bug-in-probe.patch} (100%) rename target/linux/airoha/patches-6.12/{105-6.17-net-airoha-Get-rid-of-dma_sync_single_for_device-in-.patch => 105-v6.17-net-airoha-Get-rid-of-dma_sync_single_for_device-in-.patch} (100%) rename target/linux/airoha/patches-6.12/{106-6.16-net-airoha-fix-potential-use-after-free-in-airoha_np.patch => 106-v6.16-net-airoha-fix-potential-use-after-free-in-airoha_np.patch} (100%) rename target/linux/airoha/patches-6.12/{401-02-net-dsa-mt7530-Add-AN7583-support.patch => 401-02-v6.16-net-dsa-mt7530-Add-AN7583-support.patch} (94%) rename target/linux/airoha/patches-6.12/{403-cpufreq-airoha-Add-support-for-AN7583-SoC.patch => 403-v6.18-cpufreq-airoha-Add-support-for-AN7583-SoC.patch} (88%) diff --git a/target/linux/airoha/patches-6.12/104-6.19-net-airoha-Fix-a-copy-and-paste-bug-in-probe.patch b/target/linux/airoha/patches-6.12/104-v6.19-net-airoha-Fix-a-copy-and-paste-bug-in-probe.patch similarity index 100% rename from target/linux/airoha/patches-6.12/104-6.19-net-airoha-Fix-a-copy-and-paste-bug-in-probe.patch rename to target/linux/airoha/patches-6.12/104-v6.19-net-airoha-Fix-a-copy-and-paste-bug-in-probe.patch diff --git a/target/linux/airoha/patches-6.12/105-6.17-net-airoha-Get-rid-of-dma_sync_single_for_device-in-.patch b/target/linux/airoha/patches-6.12/105-v6.17-net-airoha-Get-rid-of-dma_sync_single_for_device-in-.patch similarity index 100% rename from target/linux/airoha/patches-6.12/105-6.17-net-airoha-Get-rid-of-dma_sync_single_for_device-in-.patch rename to target/linux/airoha/patches-6.12/105-v6.17-net-airoha-Get-rid-of-dma_sync_single_for_device-in-.patch diff --git a/target/linux/airoha/patches-6.12/106-6.16-net-airoha-fix-potential-use-after-free-in-airoha_np.patch b/target/linux/airoha/patches-6.12/106-v6.16-net-airoha-fix-potential-use-after-free-in-airoha_np.patch similarity index 100% rename from target/linux/airoha/patches-6.12/106-6.16-net-airoha-fix-potential-use-after-free-in-airoha_np.patch rename to target/linux/airoha/patches-6.12/106-v6.16-net-airoha-fix-potential-use-after-free-in-airoha_np.patch diff --git a/target/linux/airoha/patches-6.12/401-02-net-dsa-mt7530-Add-AN7583-support.patch b/target/linux/airoha/patches-6.12/401-02-v6.16-net-dsa-mt7530-Add-AN7583-support.patch similarity index 94% rename from target/linux/airoha/patches-6.12/401-02-net-dsa-mt7530-Add-AN7583-support.patch rename to target/linux/airoha/patches-6.12/401-02-v6.16-net-dsa-mt7530-Add-AN7583-support.patch index 0d72a59ad95..547687cb563 100644 --- a/target/linux/airoha/patches-6.12/401-02-net-dsa-mt7530-Add-AN7583-support.patch +++ b/target/linux/airoha/patches-6.12/401-02-v6.16-net-dsa-mt7530-Add-AN7583-support.patch @@ -1,6 +1,6 @@ -From 7e112e51d48db09739dd73c90411fc8a5635747f Mon Sep 17 00:00:00 2001 +From d76556db10bf41cd3ae1ad1d705245afe077a701 Mon Sep 17 00:00:00 2001 From: Christian Marangi -Date: Thu, 22 May 2025 15:13:10 +0200 +Date: Thu, 22 May 2025 18:53:10 +0200 Subject: [PATCH 2/3] net: dsa: mt7530: Add AN7583 support Add Airoha AN7583 Switch support. This is based on Airoha EN7581 that is @@ -10,6 +10,9 @@ Airoha AN7583 require additional tweak to the GEPHY_CONN_CFG register to make the internal PHY work. Signed-off-by: Christian Marangi +Reviewed-by: Andrew Lunn +Link: https://patch.msgid.link/20250522165313.6411-3-ansuelsmth@gmail.com +Signed-off-by: Jakub Kicinski --- drivers/net/dsa/mt7530-mmio.c | 1 + drivers/net/dsa/mt7530.c | 24 ++++++++++++++++++++++-- diff --git a/target/linux/airoha/patches-6.12/403-cpufreq-airoha-Add-support-for-AN7583-SoC.patch b/target/linux/airoha/patches-6.12/403-v6.18-cpufreq-airoha-Add-support-for-AN7583-SoC.patch similarity index 88% rename from target/linux/airoha/patches-6.12/403-cpufreq-airoha-Add-support-for-AN7583-SoC.patch rename to target/linux/airoha/patches-6.12/403-v6.18-cpufreq-airoha-Add-support-for-AN7583-SoC.patch index 3c076b41739..6138bbcb326 100644 --- a/target/linux/airoha/patches-6.12/403-cpufreq-airoha-Add-support-for-AN7583-SoC.patch +++ b/target/linux/airoha/patches-6.12/403-v6.18-cpufreq-airoha-Add-support-for-AN7583-SoC.patch @@ -1,6 +1,6 @@ -From 8a38220c6bf6d79ecb1c95b083e062bd7221dea9 Mon Sep 17 00:00:00 2001 +From 8640689f17fd550c3e89d2b47ecb02536c58baf3 Mon Sep 17 00:00:00 2001 From: Christian Marangi -Date: Sat, 9 Aug 2025 13:24:57 +0200 +Date: Sat, 9 Aug 2025 13:28:30 +0200 Subject: [PATCH] cpufreq: airoha: Add support for AN7583 SoC New Airoha AN7583 SoC use the same exact logic to control the CPU @@ -8,6 +8,7 @@ frequency. Add the Device compatible to the block list for cpufreq-dt-plat and to the Airoha CPUFreq driver compatible list. Signed-off-by: Christian Marangi +Signed-off-by: Viresh Kumar --- drivers/cpufreq/airoha-cpufreq.c | 1 + drivers/cpufreq/cpufreq-dt-platdev.c | 1 + -- 2.47.3