Skip to content

Commit

Permalink
USB: add Freescale high-speed USB SOC device controller driver
Browse files Browse the repository at this point in the history
Freescale high-speed USB SOC can be found on some Freescale processors
among different architectures.  It supports both host and device functions.
This driver adds its device support for Linux USB Gadget layer.
It is tested on MPC8349 and MPC8313, but should work on other platforms
with minor tweaks.  The driver passed USBCV 1.3 compliance tests.  Note
that this driver doesn't yet include OTG support.

Signed-off-by: Li Yang <[email protected]>
Signed-off-by: Jiang Bo <[email protected]>
Signed-off-by: Bruce Schmid <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Li Yang authored and gregkh committed Apr 27, 2007
1 parent 33f73e5 commit b504882
Show file tree
Hide file tree
Showing 4 changed files with 3,101 additions and 0 deletions.
21 changes: 21 additions & 0 deletions drivers/usb/gadget/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,27 @@ choice
Many controller drivers are platform-specific; these
often need board-specific hooks.

config USB_GADGET_FSL_USB2
boolean "Freescale Highspeed USB DR Peripheral Controller"
depends on MPC834x || PPC_MPC831x
select USB_GADGET_DUALSPEED
help
Some of Freescale PowerPC processors have a High Speed
Dual-Role(DR) USB controller, which supports device mode.

The number of programmable endpoints is different through
SOC revisions.

Say "y" to link the driver statically, or "m" to build a
dynamically linked module called "fsl_usb2_udc" and force
all gadget drivers to also be dynamically linked.

config USB_FSL_USB2
tristate
depends on USB_GADGET_FSL_USB2
default USB_GADGET
select USB_GADGET_SELECTED

config USB_GADGET_NET2280
boolean "NetChip 228x"
depends on PCI
Expand Down
1 change: 1 addition & 0 deletions drivers/usb/gadget/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ obj-$(CONFIG_USB_GOKU) += goku_udc.o
obj-$(CONFIG_USB_OMAP) += omap_udc.o
obj-$(CONFIG_USB_LH7A40X) += lh7a40x_udc.o
obj-$(CONFIG_USB_AT91) += at91_udc.o
obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o

#
# USB gadget drivers
Expand Down
Loading

0 comments on commit b504882

Please sign in to comment.