[openwrt/openwrt] ath9k: add back previous DT compatible strings for ahb

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 6 10:25:06 PDT 2025


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d2b2670937f051bda7c8fbda8a6c0131977d5e68

commit d2b2670937f051bda7c8fbda8a6c0131977d5e68
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sun Jul 6 19:23:59 2025 +0200

    ath9k: add back previous DT compatible strings for ahb
    
    The ath9k ahb patch was updated to match the latest upstream version,
    however the openwrt DT files still use the older names.
    Add those as extra entries in order to remain compatible until DT files
    are fixed.
    
    Fixes: 88f4c32060f7 ("mac80211: update to version 6.14.11")
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../mac80211/patches/ath9k/553-ath9k-ahb_of_compat.patch | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/package/kernel/mac80211/patches/ath9k/553-ath9k-ahb_of_compat.patch b/package/kernel/mac80211/patches/ath9k/553-ath9k-ahb_of_compat.patch
new file mode 100644
index 0000000000..20e351d203
--- /dev/null
+++ b/package/kernel/mac80211/patches/ath9k/553-ath9k-ahb_of_compat.patch
@@ -0,0 +1,16 @@
+--- a/drivers/net/wireless/ath/ath9k/ahb.c
++++ b/drivers/net/wireless/ath/ath9k/ahb.c
+@@ -31,6 +31,13 @@ static const struct of_device_id ath9k_o
+ 	{ .compatible = "qca,qca9530-wifi", .data = (void *)AR9300_DEVID_AR953X },
+ 	{ .compatible = "qca,qca9550-wifi", .data = (void *)AR9300_DEVID_QCA955X },
+ 	{ .compatible = "qca,qca9560-wifi", .data = (void *)AR9300_DEVID_QCA956X },
++	/* backwards compat, remove if no longer needed: */
++	{ .compatible = "qca,ar9130-wmac", .data = (void *)AR5416_AR9100_DEVID },
++	{ .compatible = "qca,ar9330-wmac", .data = (void *)AR9300_DEVID_AR9330 },
++	{ .compatible = "qca,ar9340-wmac", .data = (void *)AR9300_DEVID_AR9340 },
++	{ .compatible = "qca,qca9530-wmac", .data = (void *)AR9300_DEVID_AR953X },
++	{ .compatible = "qca,qca9550-wmac", .data = (void *)AR9300_DEVID_QCA955X },
++	{ .compatible = "qca,qca9560-wmac", .data = (void *)AR9300_DEVID_QCA956X },
+ 	{},
+ };
+ 




More information about the lede-commits mailing list