From 17ff9eecf5ad67d869bcdec71dee61d9f3d546cb Mon Sep 17 00:00:00 2001 From: wenij Date: Fri, 1 Apr 2022 16:52:14 +0800 Subject: [PATCH] ipq807x: cybertan eww622 usb xchi driver not work Signed-off-by: wenij --- feeds/ipq807x/ipq807x/modules.mk | 19 +++++++++++++++++++ profiles/cybertan_eww622-a1.yml | 15 +++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/feeds/ipq807x/ipq807x/modules.mk b/feeds/ipq807x/ipq807x/modules.mk index e62ef94c0..514f6bfb4 100644 --- a/feeds/ipq807x/ipq807x/modules.mk +++ b/feeds/ipq807x/ipq807x/modules.mk @@ -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)) \ No newline at end of file diff --git a/profiles/cybertan_eww622-a1.yml b/profiles/cybertan_eww622-a1.yml index 95f02b2ca..9332714e4 100644 --- a/profiles/cybertan_eww622-a1.yml +++ b/profiles/cybertan_eww622-a1.yml @@ -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