]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
airoha: an7581: enable USB support
authorZiyang Huang <hzyitc@outlook.com>
Thu, 8 Jan 2026 14:38:46 +0000 (22:38 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Feb 2026 16:03:16 +0000 (17:03 +0100)
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>
package/kernel/linux/modules/usb.mk
target/linux/airoha/an7581/config-6.12

index 7d99933725cf88e93635de8227190a1b2dfb6355..b9d3dba13a1ff510f000ea8374c91ea9516b53d3 100644 (file)
@@ -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 \
index da40adadaffc3c1789d41c0c337b99cb94e14738..30602f8d2157171dfcfdef7d297a2496755394e8 100644 (file)
@@ -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