aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2008-09-02 07:58:10 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 17:40:54 -0400
commit3948f0e0c999a6201e9898bb8fbe3c6cc1199276 (patch)
treec05ea6720321899326095cf1a74e2a4749b1c91e /drivers/usb/gadget/Kconfig
parentbedf0883cbe3015d21aec5ed47ddffb429f6cca7 (diff)
usb: add Freescale QE/CPM USB peripheral controller driver
Some of Freescale SoC chips have a QE or CPM co-processor which supports full speed USB. The driver adds device mode support of both QE and CPM USB controller to Linux USB gadget. The driver is tested with MPC8360 and MPC8272, and should work with other models having QE/CPM given minor tweaks. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com> Signed-off-by: Li Yang <leoli@freescale.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 80a7c02dc951..c0dfd9be3115 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -341,6 +341,25 @@ config USB_AMD5536UDC
341 default USB_GADGET 341 default USB_GADGET
342 select USB_GADGET_SELECTED 342 select USB_GADGET_SELECTED
343 343
344config USB_GADGET_FSL_QE
345 boolean "Freescale QE/CPM USB Device Controller"
346 depends on FSL_SOC && (QUICC_ENGINE || CPM)
347 help
348 Some of Freescale PowerPC processors have a Full Speed
349 QE/CPM2 USB controller, which support device mode with 4
350 programmable endpoints. This driver supports the
351 controller in the MPC8360 and MPC8272, and should work with
352 controllers having QE or CPM2, given minor tweaks.
353
354 Set CONFIG_USB_GADGET to "m" to build this driver as a
355 dynmically linked module called "fsl_qe_udc".
356
357config USB_FSL_QE
358 tristate
359 depends on USB_GADGET_FSL_QE
360 default USB_GADGET
361 select USB_GADGET_SELECTED
362
344config USB_GADGET_NET2280 363config USB_GADGET_NET2280
345 boolean "NetChip 228x" 364 boolean "NetChip 228x"
346 depends on PCI 365 depends on PCI