diff options
| author | Ziyang Huang | 2026-01-08 14:38:46 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-02-07 16:03:16 +0000 |
| commit | 36caca6ce83f3e394c553be897b2c79e0be37dad (patch) | |
| tree | 521c8dd0f7b06779a0880bfc8497fad6d74e5b96 | |
| parent | 1f1d0ca74f854ab557f77d91771d6a3a307aaee8 (diff) | |
| download | openwrt-36caca6ce83f3e394c553be897b2c79e0be37dad.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
(cherry picked from commit f8a6798bf38c3d3e6fe6af9367ea5628df46429a)
Link: https://github.com/openwrt/openwrt/pull/21838
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | package/kernel/linux/modules/usb.mk | 1 | ||||
| -rw-r--r-- | target/linux/airoha/an7581/config-6.12 | 1 |
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 da40adadaf..30602f8d21 100644 --- a/target/linux/airoha/an7581/config-6.12 +++ b/target/linux/airoha/an7581/config-6.12 @@ -396,6 +396,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 |