ipq807x: cybertan eww622 usb xchi driver not work

Signed-off-by: wenij <wenij.chang@cybertan.com.tw>
This commit is contained in:
wenij
2022-04-01 16:52:14 +08:00
committed by John Crispin
parent 4b870f978c
commit 17ff9eecf5
2 changed files with 34 additions and 0 deletions

View File

@@ -111,3 +111,22 @@ define KernelPackage/diag-char/description
endef
$(eval $(call KernelPackage,diag-char))
define KernelPackage/usb-dwc3-qcom
TITLE:=DWC3 Qualcomm USB driver
DEPENDS:=@(!LINUX_4_14) @(TARGET_ipq40xx||TARGET_ipq807x) +kmod-usb-dwc3
KCONFIG:= CONFIG_USB_DWC3_QCOM
FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-qcom.ko \
$(LINUX_DIR)/drivers/usb/dwc3/dbm.ko
AUTOLOAD:=$(call AutoLoad,53,dwc3-qcom dbm,1)
$(call AddDepends/usb)
endef
define KernelPackage/usb-dwc3-qcom/description
Some Qualcomm SoCs use DesignWare Core IP for USB2/3 functionality.
This driver also handles Qscratch wrapper which is needed for
peripheral mode support.
endef
$(eval $(call KernelPackage,usb-dwc3-qcom))

View File

@@ -10,3 +10,18 @@ feeds:
include:
- wifi-ax
- ucentral-ap
diffconfig: |
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_BUSYBOX_CONFIG_LSUSB=y
CONFIG_PACKAGE_kmod-usb-phy-ipq5018=y
# CONFIG_PACKAGE_kmod-usb-phy-ipq807x is not set
CONFIG_PACKAGE_kmod-usb-dwc3-qcom=y
# CONFIG_PACKAGE_kmod-usb-dwc3-of-simple is not set
CONFIG_USB_UHCI_HCD=m
CONFIG_PACKAGE_kmod-usb-uas=y
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb-storage-uas=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_kmod-usb3=y
CONFIG_PACKAGE_kmod-usb-uhci=y
CONFIG_PACKAGE_kmod-usb-ohci=y