Revert "ipq806x: make the dwc3 driver and required phy drivers built-in"
[openwrt/openwrt.git] / target / linux / ipq806x / modules.mk
1 define KernelPackage/usb-dwc3-of-simple
2 TITLE:=DWC3 USB simple OF driver
3 DEPENDS:=+kmod-usb-dwc3
4 KCONFIG:= CONFIG_USB_DWC3_OF_SIMPLE
5 FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-of-simple.ko
6 AUTOLOAD:=$(call AutoLoad,53,dwc3-of-simple,1)
7 $(call AddDepends/usb)
8 endef
9
10 define KernelPackage/usb-dwc3-of-simple/description
11 This driver provides generic platform glue for the integrated DesignWare
12 USB3 IP Core.
13 endef
14
15 $(eval $(call KernelPackage,usb-dwc3-of-simple))
16
17 define KernelPackage/usb-phy-qcom-dwc3
18 TITLE:=DWC3 USB QCOM PHY driver
19 DEPENDS:=@TARGET_ipq806x +kmod-usb-dwc3-of-simple
20 KCONFIG:= CONFIG_PHY_QCOM_DWC3
21 FILES:= $(LINUX_DIR)/drivers/phy/phy-qcom-dwc3.ko
22 AUTOLOAD:=$(call AutoLoad,45,phy-qcom-dwc3,1)
23 $(call AddDepends/usb)
24 endef
25
26 define KernelPackage/usb-phy-qcom-dwc3/description
27 This driver provides support for the integrated DesignWare
28 USB3 IP Core within the QCOM SoCs.
29 endef
30
31 $(eval $(call KernelPackage,usb-phy-qcom-dwc3))