lede/target/linux/ipq806x/modules.mk
2017-09-06 19:19:45 +08:00

47 lines
1.5 KiB
Makefile

define KernelPackage/usb-dwc3-of-simple
TITLE:=DWC3 USB simple OF driver
DEPENDS:=+kmod-usb-dwc3
KCONFIG:= CONFIG_USB_DWC3_OF_SIMPLE
FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-of-simple.ko
AUTOLOAD:=$(call AutoLoad,53,dwc3-of-simple,1)
$(call AddDepends/usb)
endef
define KernelPackage/usb-dwc3-of-simple/description
This driver provides generic platform glue for the integrated DesignWare
USB3 IP Core.
endef
$(eval $(call KernelPackage,usb-dwc3-of-simple))
define KernelPackage/usb-phy-qcom-dwc3
TITLE:=DWC3 USB QCOM PHY driver
DEPENDS:=@TARGET_ipq806x +kmod-usb-dwc3-of-simple
KCONFIG:= CONFIG_PHY_QCOM_DWC3
FILES:= $(LINUX_DIR)/drivers/phy/phy-qcom-dwc3.ko
AUTOLOAD:=$(call AutoLoad,45,phy-qcom-dwc3,1)
$(call AddDepends/usb)
endef
define KernelPackage/usb-phy-qcom-dwc3/description
This driver provides support for the integrated DesignWare
USB3 IP Core within the QCOM SoCs.
endef
$(eval $(call KernelPackage,usb-phy-qcom-dwc3))
define KernelPackage/usb-phy-qcom-ipq4019
TITLE:=IPQ4019 PHY wrappers support
DEPENDS:=+kmod-usb-dwc3
KCONFIG:= CONFIG_USB_IPQ4019_PHY
FILES:= $(LINUX_DIR)/drivers/usb/phy/phy-qca-baldur.ko $(LINUX_DIR)/drivers/usb/phy/phy-qca-uniphy.ko
AUTOLOAD:=$(call AutoLoad,45,phy-qca-uniphy phy-qca-baldur,1)
$(call AddDepends/usb)
endef
define KernelPackage/usb-phy-qcom-ipq4019/description
This driver provides support for the USB PHY transceivers on QCA961x chips.
endef
$(eval $(call KernelPackage,usb-phy-qcom-ipq4019))