Przeglądaj źródła

airoha: an7581: enable USB support

The an7581.dtsi contains the mediatek,mtk-xhci device.

Signed-off-by: Ziyang Huang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21460
Signed-off-by: Hauke Mehrtens <[email protected]>
Ziyang Huang 1 miesiąc temu
rodzic
commit
f8a6798bf3

+ 1 - 0
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 \

+ 1 - 0
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