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