diff options
author | Li Yang <leoli@freescale.com> | 2007-04-23 13:54:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 16:28:43 -0400 |
commit | b504882da539c17ce6fee9da2a97f2fafabd495d (patch) | |
tree | f4eb4bcc2ea778947a78bba22b8ec99ecfb508db /drivers/usb/gadget/Kconfig | |
parent | 33f73e56198457c38789e08c47d2af47174c1d8f (diff) |
USB: add Freescale high-speed USB SOC device controller driver
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 <leoli@freescale.com>
Signed-off-by: Jiang Bo <tanya.jiang@freescale.com>
Signed-off-by: Bruce Schmid <duck@freescale.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index e081f3ebfb6f..8065f2b53701 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -68,6 +68,27 @@ choice | |||
68 | Many controller drivers are platform-specific; these | 68 | Many controller drivers are platform-specific; these |
69 | often need board-specific hooks. | 69 | often need board-specific hooks. |
70 | 70 | ||
71 | config USB_GADGET_FSL_USB2 | ||
72 | boolean "Freescale Highspeed USB DR Peripheral Controller" | ||
73 | depends on MPC834x || PPC_MPC831x | ||
74 | select USB_GADGET_DUALSPEED | ||
75 | help | ||
76 | Some of Freescale PowerPC processors have a High Speed | ||
77 | Dual-Role(DR) USB controller, which supports device mode. | ||
78 | |||
79 | The number of programmable endpoints is different through | ||
80 | SOC revisions. | ||
81 | |||
82 | Say "y" to link the driver statically, or "m" to build a | ||
83 | dynamically linked module called "fsl_usb2_udc" and force | ||
84 | all gadget drivers to also be dynamically linked. | ||
85 | |||
86 | config USB_FSL_USB2 | ||
87 | tristate | ||
88 | depends on USB_GADGET_FSL_USB2 | ||
89 | default USB_GADGET | ||
90 | select USB_GADGET_SELECTED | ||
91 | |||
71 | config USB_GADGET_NET2280 | 92 | config USB_GADGET_NET2280 |
72 | boolean "NetChip 228x" | 93 | boolean "NetChip 228x" |
73 | depends on PCI | 94 | depends on PCI |