mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-04 09:31:26 +02:00
kernel: usb-dwc3-qcom: package legacy Qualcomm glue driver
Linux 6.18 now builds both dwc3-qcom.ko and dwc3-qcom-legacy.ko under CONFIG_USB_DWC3_QCOM. [1] Upstream qcom-ipq4019.dtsi still uses the legacy Qualcomm DWC3 DT layout, so ipq40xx boards require the legacy glue driver for USB host bring-up. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b958b03c82d2a1c470225355e43248c679a949a5 Signed-off-by: Til Kaiser <mail@tk154.de> Link: https://github.com/openwrt/openwrt/pull/21078 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
ac9ea1be34
commit
f7cac23dc5
@ -581,8 +581,10 @@ define KernelPackage/usb-dwc3-qcom
|
||||
TITLE:=DWC3 Qualcomm USB driver
|
||||
DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x||TARGET_qualcommax||TARGET_qualcommbe) +kmod-usb-dwc3
|
||||
KCONFIG:= CONFIG_USB_DWC3_QCOM
|
||||
FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-qcom.ko
|
||||
AUTOLOAD:=$(call AutoLoad,53,dwc3-qcom,1)
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/usb/dwc3/dwc3-qcom.ko \
|
||||
$(LINUX_DIR)/drivers/usb/dwc3/dwc3-qcom-legacy.ko@ge6.18
|
||||
AUTOLOAD:=$(call AutoLoad,53,dwc3-qcom !LINUX_6_12:dwc3-qcom-legacy,1)
|
||||
$(call AddDepends/usb)
|
||||
endef
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user