TITLE:=Support for OMAP2 USB PHY
KCONFIG:= \
CONFIG_OMAP_USB2 \
- CONFIG_OMAP_CONTROL_USB
+ CONFIG_OMAP_CONTROL_PHY
DEPENDS:=@TARGET_omap
FILES:= \
$(LINUX_DIR)/drivers/phy/phy-omap-usb2.ko \
- $(LINUX_DIR)/drivers/usb/phy/phy-omap-control.ko
+ $(LINUX_DIR)/drivers/phy/phy-omap-control.ko
AUTOLOAD:=$(call AutoLoad,45,phy-omap-control phy-omap-usb2)
$(call AddDepends/usb)
endef
TITLE:=USB Gadget support
KCONFIG:=CONFIG_USB_GADGET
FILES:=\
- $(LINUX_DIR)/drivers/usb/gadget/udc-core.ko@lt3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/udc/udc-core.ko@ge3.18
+ $(LINUX_DIR)/drivers/usb/gadget/udc/udc-core.ko
AUTOLOAD:=$(call AutoLoad,45,udc-core)
DEPENDS:=@USB_GADGET_SUPPORT
$(call AddDepends/usb)
CONFIG_USB_ETH_RNDIS=y \
CONFIG_USB_ETH_EEM=n
DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
-ifeq ($(CONFIG_LINUX_3_10),)
FILES:= \
- $(LINUX_DIR)/drivers/usb/gadget/function/u_ether.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm_subset.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_rndis.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/legacy/g_ether.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/u_ether.ko@lt3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/u_rndis.ko@lt3.14 \
- $(LINUX_DIR)/drivers/usb/gadget/usb_f_ecm.ko@lt3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/usb_f_ecm_subset.ko@lt3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/usb_f_rndis.ko@lt3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/g_ether.ko@lt3.18
+ $(LINUX_DIR)/drivers/usb/gadget/function/u_ether.ko \
+ $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm.ko \
+ $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm_subset.ko \
+ $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_rndis.ko \
+ $(LINUX_DIR)/drivers/usb/gadget/legacy/g_ether.ko
AUTOLOAD:=$(call AutoLoad,52,usb_f_ecm g_ether)
-else
- FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
- AUTOLOAD:=$(call AutoLoad,52,g_ether)
-endif
$(call AddDepends/usb)
endef
KCONFIG:=CONFIG_USB_G_SERIAL
DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
FILES:= \
- $(LINUX_DIR)/drivers/usb/gadget/function/u_serial.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_acm.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_obex.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_serial.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/legacy/g_serial.ko@ge3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/u_serial.ko@lt3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/usb_f_acm.ko@lt3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/usb_f_obex.ko@lt3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/usb_f_serial.ko@lt3.18 \
- $(LINUX_DIR)/drivers/usb/gadget/g_serial.ko@lt3.18
+ $(LINUX_DIR)/drivers/usb/gadget/function/u_serial.ko \
+ $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_acm.ko \
+ $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_obex.ko \
+ $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_serial.ko \
+ $(LINUX_DIR)/drivers/usb/gadget/legacy/g_serial.ko
AUTOLOAD:=$(call AutoLoad,52,usb_f_acm g_serial)
$(call AddDepends/usb)
endef
define KernelPackage/usb-ohci
TITLE:=Support for OHCI controllers
- DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx
+ DEPENDS:= \
+ +TARGET_brcm47xx:kmod-usb-bcma \
+ +TARGET_brcm47xx:kmod-usb-ssb
KCONFIG:= \
CONFIG_USB_OHCI \
CONFIG_USB_OHCI_HCD \
CONFIG_USB_OCTEON_OHCI=y \
CONFIG_USB_OHCI_HCD_OMAP3=y \
CONFIG_USB_OHCI_HCD_PLATFORM=y
- FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
-ifeq ($(CONFIG_LINUX_3_10),)
- FILES+=$(LINUX_DIR)/drivers/usb/host/ohci-platform.ko
-endif
+ FILES:= \
+ $(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko \
+ $(LINUX_DIR)/drivers/usb/host/ohci-platform.ko
AUTOLOAD:=$(call AutoLoad,50,ohci-hcd ohci-platform,1)
$(call AddDepends/usb)
endef
define KernelPackage/usb2-omap
TITLE:=Support for USB2 for OMAP
DEPENDS:=@TARGET_omap +kmod-usb-phy-nop +kmod-usb-phy-am335x +kmod-usb2
- KCONFIG:=CONFIG_USB_EHCI_HCD_OMAP
+ KCONFIG:=\
+ CONFIG_MFD_OMAP_USB_HOST=y \
+ CONFIG_USB_EHCI_HCD_OMAP
FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-omap.ko
AUTOLOAD:=$(call AutoLoad,39,ehci-omap)
$(call AddDepends/usb)
$(eval $(call KernelPackage,usb2-omap))
+define KernelPackage/usb-bcma
+ TITLE:=Support for BCMA USB controllers
+ DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx||TARGET_bcm53xx
+ HIDDEN:=1
+ KCONFIG:=CONFIG_USB_HCD_BCMA
+ FILES:= \
+ $(if $(CONFIG_USB_HCD_BCMA),$(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko)
+ AUTOLOAD:=$(call AutoLoad,19,$(if $(CONFIG_USB_HCD_BCMA),bcma-hcd),1)
+ $(call AddDepends/usb)
+endef
+$(eval $(call KernelPackage,usb-bcma))
+
+define KernelPackage/usb-ssb
+ TITLE:=Support for SSB USB controllers
+ DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
+ HIDDEN:=1
+ KCONFIG:=CONFIG_USB_HCD_SSB
+ FILES:= \
+ $(if $(CONFIG_USB_HCD_SSB),$(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko)
+ AUTOLOAD:=$(call AutoLoad,19,$(if $(CONFIG_USB_HCD_SSB),ssb-hcd),1)
+ $(call AddDepends/usb)
+endef
+$(eval $(call KernelPackage,usb-ssb))
define KernelPackage/usb2
TITLE:=Support for USB2 controllers
DEPENDS:=\
- +TARGET_brcm47xx:kmod-usb-brcm47xx \
+ +TARGET_brcm47xx:kmod-usb-bcma \
+ +TARGET_brcm47xx:kmod-usb-ssb \
+ +TARGET_bcm53xx:kmod-usb-bcma \
+TARGET_mpc85xx:kmod-usb2-fsl
KCONFIG:=\
CONFIG_USB_EHCI_HCD \
define KernelPackage/usb-dwc2
TITLE:=DWC2 USB controller driver
- DEPENDS:=@!LINUX_3_10 +(TARGET_brcm2708||TARGET_at91||TARGET_brcm63xx||TARGET_mxs):kmod-usb-gadget
+ DEPENDS:=+(TARGET_brcm2708||TARGET_at91||TARGET_brcm63xx||TARGET_mxs||TARGET_imx6):kmod-usb-gadget
KCONFIG:= \
CONFIG_USB_DWC2 \
CONFIG_USB_DWC2_PCI \
$(eval $(call KernelPackage,usb2-oxnas))
+define KernelPackage/usb-dwc3
+ TITLE:=DWC3 USB controller driver
+ KCONFIG:= \
+ CONFIG_USB_DWC3 \
+ CONFIG_USB_DWC3_HOST=y \
+ CONFIG_USB_DWC3_GADGET=n \
+ CONFIG_USB_DWC3_DUAL_ROLE=n \
+ CONFIG_USB_DWC3_DEBUG=n \
+ CONFIG_USB_DWC3_VERBOSE=n
+ FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3.ko
+ AUTOLOAD:=$(call AutoLoad,54,dwc3,1)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/usb-dwc3/description
+ This driver provides support for the Dual Role SuperSpeed
+ USB Controller based on the Synopsys DesignWare USB3 IP Core
+endef
+
+$(eval $(call KernelPackage,usb-dwc3))
+
+
define KernelPackage/usb-acm
TITLE:=Support for modems/isdn controllers
KCONFIG:=CONFIG_USB_ACM
$(eval $(call KernelPackage,usb-serial-garmin))
+define KernelPackage/usb-serial-simple
+ TITLE:=USB Serial Simple (Motorola phone)
+ KCONFIG:=CONFIG_USB_SERIAL_SIMPLE
+ FILES:=$(LINUX_DIR)/drivers/usb/serial/usb-serial-simple.ko
+ AUTOLOAD:=$(call AutoProbe,usb-serial-simple)
+ $(call AddDepends/usb-serial)
+endef
+
+define KernelPackage/usb-serial-simple/description
+ Kernel support for "very simple devices".
+
+Specifically, it supports:
+ - Suunto ANT+ USB device.
+ - Medtronic CareLink USB device (3.18)
+ - Fundamental Software dongle.
+ - Google USB serial devices (3.19)
+ - HP4x calculators
+ - a number of Motorola phones
+ - Novatel Wireless GPS receivers (3.18)
+ - Siemens USB/MPI adapter.
+ - ViVOtech ViVOpay USB device.
+ - Infineon Modem Flashloader USB interface
+ - ZIO Motherboard USB serial interface
+endef
+
+$(eval $(call KernelPackage,usb-serial-simple))
+
+
define KernelPackage/usb-serial-ti-usb
TITLE:=Support for TI USB 3410/5052
KCONFIG:=CONFIG_USB_SERIAL_TI
TITLE:=Kernel modules for USB-to-Ethernet convertors
DEPENDS:=+kmod-mii
KCONFIG:=CONFIG_USB_USBNET \
- CONFIG_USB_NET_DRIVERS@ge3.18
+ CONFIG_USB_NET_DRIVERS
AUTOLOAD:=$(call AutoProbe,usbnet)
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
$(call AddDepends/usb)
KCONFIG:=CONFIG_USB_NET_HUAWEI_CDC_NCM
FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/huawei_cdc_ncm.ko
AUTOLOAD:=$(call AutoProbe,huawei_cdc_ncm)
- $(call AddDepends/usb-net,+kmod-usb-net-cdc-ncm +kmod-usb-wdm @!LINUX_3_10)
+ $(call AddDepends/usb-net,+kmod-usb-net-cdc-ncm +kmod-usb-wdm)
endef
define KernelPackage/usb-net-huawei-cdc-ncm/description