[openwrt/openwrt] kernel: Make kmod-usb-chipidea select kmod-phy-ath79-usb

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 25 04:34:46 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/1e9966a63ae430a5c48039fd9752bf1c465325f3

commit 1e9966a63ae430a5c48039fd9752bf1c465325f3
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Fri Jan 24 22:56:59 2025 +0100

    kernel: Make kmod-usb-chipidea select kmod-phy-ath79-usb
    
    The USB PHY on the ar9330 and similar SoCs needs the PHY driver. In
    OpenWrt 23.05 it was compiled into the kernel. The kernel 6.6
    configuration does not compile it in any more, make the
    kmod-usb-chipidea driver select it to add it to the images.
    
    Fixes: https://github.com/openwrt/openwrt/issues/17710
    Fixes: 04bdf9b3323e ("ath79: disable ath79 USB phy drivers by default")
    Link: https://github.com/openwrt/openwrt/pull/17720
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    (cherry picked from commit b467e5a0afebbc4982213c03f90dfc6deb717b36)
---
 package/kernel/linux/modules/usb.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 8f934800fc..481d2be59a 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1737,7 +1737,7 @@ $(eval $(call KernelPackage,usbip-server))
 
 define KernelPackage/usb-chipidea
   TITLE:=Host and device support for Chipidea controllers
-  DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget @TARGET_ath79 +kmod-usb-ehci +kmod-usb-phy-nop +kmod-usb-roles
+  DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget @TARGET_ath79 +kmod-usb-ehci +kmod-usb-phy-nop +kmod-usb-roles +kmod-phy-ath79-usb
   KCONFIG:= \
 	CONFIG_EXTCON \
 	CONFIG_USB_CHIPIDEA \




More information about the lede-commits mailing list