summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyang Huang2026-01-08 14:38:46 +0000
committerHauke Mehrtens2026-01-28 22:44:38 +0000
commitf8a6798bf38c3d3e6fe6af9367ea5628df46429a (patch)
treeab55cee566d4c852e6dfd862a13a16e167ccc9f6
parent141d04a4d6b9eb599a1adb73defa54b07817cdbc (diff)
downloadopenwrt-f8a6798bf38c3d3e6fe6af9367ea5628df46429a.tar.gz
airoha: an7581: enable USB support
The an7581.dtsi contains the mediatek,mtk-xhci device. Signed-off-by: Ziyang Huang <hzyitc@outlook.com> Link: https://github.com/openwrt/openwrt/pull/21460 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/kernel/linux/modules/usb.mk1
-rw-r--r--target/linux/airoha/an7581/config-6.121
2 files changed, 2 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 7d99933725..b9d3dba13a 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1860,6 +1860,7 @@ define KernelPackage/usb3
TITLE:=Support for USB3 controllers
DEPENDS:= \
+kmod-usb-xhci-hcd \
+ +TARGET_airoha_an7581:kmod-usb-xhci-mtk \
+TARGET_bcm53xx:kmod-usb-bcma \
+TARGET_bcm53xx:kmod-phy-bcm-ns-usb3 \
+TARGET_ramips_mt7621:kmod-usb-xhci-mtk \
diff --git a/target/linux/airoha/an7581/config-6.12 b/target/linux/airoha/an7581/config-6.12
index dee18e7d6c..5f28da5b02 100644
--- a/target/linux/airoha/an7581/config-6.12
+++ b/target/linux/airoha/an7581/config-6.12
@@ -395,6 +395,7 @@ CONFIG_TREE_RCU=y
CONFIG_TREE_SRCU=y
CONFIG_UBIFS_FS=y
# CONFIG_UNMAP_KERNEL_AT_EL0 is not set
+CONFIG_USB_SUPPORT=y
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_VDSO_GETRANDOM=y
CONFIG_VMAP_STACK=y