summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-08-15 14:11:57 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-08-15 14:11:57 +0000
commit09dd2b5f89018e7ef41349dccd1efa6003500b37 (patch)
treef47f03e521620fdd1dceeef62eff3ef2a6a45ff4
parent169d68c98c6d9c7df824bed5b4d5bc7c39129666 (diff)
downloadmtk-20170518-09dd2b5f89018e7ef41349dccd1efa6003500b37.zip
mtk-20170518-09dd2b5f89018e7ef41349dccd1efa6003500b37.tar.gz
mtk-20170518-09dd2b5f89018e7ef41349dccd1efa6003500b37.tar.bz2
package/kernel: create package for the RT305x dwc_otg driver
Based on a patch by Layne Edwards <ledwards76@gmail.com> SVN-Revision: 27998
-rw-r--r--package/kernel/modules/usb.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 9e98a10..9277154 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -947,3 +947,22 @@ endef
$(eval $(call KernelPackage,usb-phidget))
+define KernelPackage/usb-rt305x-dwc_otg
+ TITLE:=RT305X USB controller driver
+ DEPENDS:=@TARGET_ramips_rt305x
+ KCONFIG:= \
+ CONFIG_DWC_OTG \
+ CONFIG_DWC_OTG_HOST_ONLY=y \
+ CONFIG_DWC_OTG_DEVICE_ONLY=n \
+ CONFIG_DWC_OTG_DEBUG=n
+ FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko
+ AUTOLOAD:=$(call AutoLoad,54,dwc_otg)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/usb-rt305x-dwc_otg/description
+ This driver provides USB Device Controller support for the
+ Synopsys DesignWare USB OTG Core used in the Ralink RT305X SoCs.
+endef
+
+$(eval $(call KernelPackage,usb-rt305x-dwc_otg))