-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC
This patch adds a UDC driver for Broadcom's USB3.0 Peripheral core named BDC. BDC supports control traffic on ep0 and bulk/Int/Isoch traffic on all other endpoints. [ balbi@ti.com : fix build error on randconfig due to lack of <linux/dmapool.h> ] Signed-off-by: Ashwini Pahuja <ashwini.linux@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
- Loading branch information
Ashwini Pahuja
authored and
Felipe Balbi
committed
Nov 18, 2014
1 parent
5ee8070
commit efed421
Showing
14 changed files
with
4,384 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
config USB_BDC_UDC | ||
tristate "Broadcom USB3.0 device controller IP driver(BDC)" | ||
depends on USB_GADGET && HAS_DMA | ||
|
||
help | ||
BDC is Broadcom's USB3.0 device controller IP. If your SOC has a BDC IP | ||
then select this driver. | ||
|
||
Say "y" here to link the driver statically, or "m" to build a dynamically | ||
linked module called "bdc". | ||
|
||
if USB_BDC_UDC | ||
|
||
comment "Platform Support" | ||
config USB_BDC_PCI | ||
tristate "BDC support for PCIe based platforms" | ||
depends on PCI | ||
default USB_BDC_UDC | ||
help | ||
Enable support for platforms which have BDC connected through PCIe, such as Lego3 FPGA platform. | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
obj-$(CONFIG_USB_BDC_UDC) += bdc.o | ||
bdc-y := bdc_core.o bdc_cmd.o bdc_ep.o bdc_udc.o | ||
|
||
ifneq ($(CONFIG_USB_GADGET_VERBOSE),) | ||
bdc-y += bdc_dbg.o | ||
endif | ||
|
||
obj-$(CONFIG_USB_BDC_PCI) += bdc_pci.o |
Oops, something went wrong.