ipq806x: support new location of USB PHY kernel module
[openwrt/staging/jow.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:= \
22 $(LINUX_DIR)/drivers/phy/phy-qcom-dwc3.ko@lt4.13 \
23 $(LINUX_DIR)/drivers/phy/qualcomm/phy-qcom-dwc3.ko@ge4.13
24 AUTOLOAD:=$(call AutoLoad,45,phy-qcom-dwc3,1)
25 $(call AddDepends/usb)
26 endef
27
28 define KernelPackage/usb-phy-qcom-dwc3/description
29 This driver provides support for the integrated DesignWare
30 USB3 IP Core within the QCOM SoCs.
31 endef
32
33 $(eval $(call KernelPackage,usb-phy-qcom-dwc3))