2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# USB device configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
# many non-PCI SOC chips embed OHCI
|
|
|
|
config USB_ARCH_HAS_OHCI
|
|
|
|
boolean
|
|
|
|
# ARM:
|
|
|
|
default y if SA1111
|
|
|
|
default y if ARCH_OMAP
|
2012-02-03 13:29:23 +08:00
|
|
|
default y if ARCH_S3C24XX
|
2005-04-17 06:20:36 +08:00
|
|
|
default y if PXA27x
|
2007-12-12 09:07:47 +08:00
|
|
|
default y if PXA3xx
|
2006-06-24 05:02:01 +08:00
|
|
|
default y if ARCH_EP93XX
|
2006-12-01 21:51:13 +08:00
|
|
|
default y if ARCH_AT91
|
2012-08-21 02:23:16 +08:00
|
|
|
default y if ARCH_PNX4008
|
2008-10-08 20:14:23 +08:00
|
|
|
default y if MFD_TC6393XB
|
2009-06-13 09:14:28 +08:00
|
|
|
default y if ARCH_W90X900
|
2010-02-13 03:52:34 +08:00
|
|
|
default y if ARCH_DAVINCI_DA8XX
|
2010-11-25 23:58:00 +08:00
|
|
|
default y if ARCH_CNS3XXX
|
2010-11-10 17:03:18 +08:00
|
|
|
default y if PLAT_SPEAR
|
2011-12-23 10:20:54 +08:00
|
|
|
default y if ARCH_EXYNOS
|
2005-04-17 06:20:36 +08:00
|
|
|
# PPC:
|
|
|
|
default y if STB03xxx
|
|
|
|
default y if PPC_MPC52xx
|
|
|
|
# MIPS:
|
2010-07-16 03:45:04 +08:00
|
|
|
default y if MIPS_ALCHEMY
|
2010-06-19 12:08:24 +08:00
|
|
|
default y if MACH_JZ4740
|
2005-04-17 06:20:36 +08:00
|
|
|
# more:
|
|
|
|
default PCI
|
|
|
|
|
2006-01-21 06:06:09 +08:00
|
|
|
# some non-PCI hcds implement EHCI
|
|
|
|
config USB_ARCH_HAS_EHCI
|
|
|
|
boolean
|
2011-10-15 04:35:10 +08:00
|
|
|
default y if FSL_SOC
|
2010-09-29 02:55:21 +08:00
|
|
|
default y if PPC_MPC512x
|
2007-12-31 07:21:11 +08:00
|
|
|
default y if ARCH_IXP4XX
|
2009-06-13 09:14:28 +08:00
|
|
|
default y if ARCH_W90X900
|
2011-11-22 12:11:13 +08:00
|
|
|
default y if ARCH_AT91
|
2009-10-28 08:14:59 +08:00
|
|
|
default y if ARCH_MXC
|
2010-02-13 04:26:48 +08:00
|
|
|
default y if ARCH_OMAP3
|
2010-11-25 23:58:00 +08:00
|
|
|
default y if ARCH_CNS3XXX
|
2010-11-08 00:28:55 +08:00
|
|
|
default y if ARCH_VT8500
|
2010-11-10 17:03:18 +08:00
|
|
|
default y if PLAT_SPEAR
|
2011-04-08 13:08:50 +08:00
|
|
|
default y if PLAT_S5P
|
2010-12-07 20:23:56 +08:00
|
|
|
default y if ARCH_MSM
|
2011-04-04 17:35:05 +08:00
|
|
|
default y if MICROBLAZE
|
2011-05-04 02:11:58 +08:00
|
|
|
default y if SPARC_LEON
|
2011-07-20 12:30:58 +08:00
|
|
|
default y if ARCH_MMP
|
2012-01-18 14:41:16 +08:00
|
|
|
default y if MACH_LOONGSON1
|
2012-09-04 02:21:15 +08:00
|
|
|
default y if PLAT_ORION
|
2006-01-21 06:06:09 +08:00
|
|
|
default PCI
|
|
|
|
|
2011-09-24 05:19:56 +08:00
|
|
|
# some non-PCI HCDs implement xHCI
|
|
|
|
config USB_ARCH_HAS_XHCI
|
|
|
|
boolean
|
|
|
|
default PCI
|
|
|
|
|
2012-03-23 05:01:07 +08:00
|
|
|
menuconfig USB_SUPPORT
|
|
|
|
bool "USB support"
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
This option adds core support for Universal Serial Bus (USB).
|
|
|
|
You will also need drivers from the following menu to make use of it.
|
|
|
|
|
2012-03-14 06:58:05 +08:00
|
|
|
if USB_SUPPORT
|
|
|
|
|
|
|
|
config USB_COMMON
|
|
|
|
tristate
|
|
|
|
default y
|
|
|
|
depends on USB || USB_GADGET
|
|
|
|
|
|
|
|
# Host-side USB depends on having a host controller
|
|
|
|
# NOTE: dummy_hcd is always an option, but it's ignored here ...
|
|
|
|
# NOTE: SL-811 option should be board-specific ...
|
|
|
|
config USB_ARCH_HAS_HCD
|
|
|
|
boolean
|
|
|
|
default y if USB_ARCH_HAS_OHCI
|
|
|
|
default y if USB_ARCH_HAS_EHCI
|
|
|
|
default y if USB_ARCH_HAS_XHCI
|
|
|
|
default y if PCMCIA && !M32R # sl811_cs
|
|
|
|
default y if ARM # SL-811
|
|
|
|
default y if BLACKFIN # SL-811
|
|
|
|
default y if SUPERH # r8a66597-hcd
|
|
|
|
default PCI
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
|
|
|
|
config USB
|
|
|
|
tristate "Support for Host-side USB"
|
|
|
|
depends on USB_ARCH_HAS_HCD
|
2009-04-24 16:12:18 +08:00
|
|
|
select NLS # for UTF-8 strings
|
2005-04-17 06:20:36 +08:00
|
|
|
---help---
|
|
|
|
Universal Serial Bus (USB) is a specification for a serial bus
|
|
|
|
subsystem which offers higher speeds and more features than the
|
|
|
|
traditional PC serial port. The bus supplies power to peripherals
|
|
|
|
and allows for hot swapping. Up to 127 USB peripherals can be
|
|
|
|
connected to a single USB host in a tree structure.
|
|
|
|
|
|
|
|
The USB host is the root of the tree, the peripherals are the
|
|
|
|
leaves and the inner nodes are special USB devices called hubs.
|
|
|
|
Most PCs now have USB host ports, used to connect peripherals
|
|
|
|
such as scanners, keyboards, mice, modems, cameras, disks,
|
|
|
|
flash memory, network links, and printers to the PC.
|
|
|
|
|
|
|
|
Say Y here if your computer has a host-side USB port and you want
|
|
|
|
to use USB devices. You then need to say Y to at least one of the
|
|
|
|
Host Controller Driver (HCD) options below. Choose a USB 1.1
|
|
|
|
controller, such as "UHCI HCD support" or "OHCI HCD support",
|
|
|
|
and "EHCI HCD (USB 2.0) support" except for older systems that
|
|
|
|
do not have USB 2.0 support. It doesn't normally hurt to select
|
|
|
|
them all if you are not certain.
|
|
|
|
|
|
|
|
If your system has a device-side USB port, used in the peripheral
|
|
|
|
side of the USB protocol, see the "USB Gadget" framework instead.
|
|
|
|
|
|
|
|
After choosing your HCD, then select drivers for the USB peripherals
|
|
|
|
you'll be using. You may want to check out the information provided
|
|
|
|
in <file:Documentation/usb/> and especially the links given in
|
|
|
|
<file:Documentation/usb/usb-help.txt>.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called usbcore.
|
|
|
|
|
|
|
|
source "drivers/usb/core/Kconfig"
|
|
|
|
|
usb: Introduce DesignWare USB3 DRD Driver
The DesignWare USB3 is a highly
configurable IP Core which can be
instantiated as Dual-Role Device (DRD),
Peripheral Only and Host Only (XHCI)
configurations.
Several other parameters can be configured
like amount of FIFO space, amount of TX and
RX endpoints, amount of Host Interrupters,
etc.
The current driver has been validated with
a virtual model of version 1.73a of that core
and with an FPGA burned with version 1.83a
of the DRD core. We have support for PCIe
bus, which is used on FPGA prototyping, and
for the OMAP5, more adaptation (or glue)
layers can be easily added and the driver
is half prepared to handle any possible
configuration the HW engineer has chosen
considering we have the information on
one of the GHWPARAMS registers to do
runtime checking of certain features.
More runtime checks can, and should, be added
in order to make this driver even more flexible
with regards to number of endpoints, FIFO sizes,
transfer types, etc.
While this supports only the device side, for
now, we will add support for Host side (xHCI -
see the updated series Sebastian has sent [1])
and OTG after we have it all stabilized.
[1] http://marc.info/?l=linux-usb&m=131341992020339&w=2
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-19 23:10:58 +08:00
|
|
|
source "drivers/usb/dwc3/Kconfig"
|
|
|
|
|
2008-07-22 03:44:50 +08:00
|
|
|
source "drivers/usb/mon/Kconfig"
|
|
|
|
|
2008-09-17 23:34:26 +08:00
|
|
|
source "drivers/usb/wusbcore/Kconfig"
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
source "drivers/usb/host/Kconfig"
|
|
|
|
|
2008-07-24 17:27:36 +08:00
|
|
|
source "drivers/usb/musb/Kconfig"
|
|
|
|
|
2012-05-11 22:25:45 +08:00
|
|
|
source "drivers/usb/chipidea/Kconfig"
|
|
|
|
|
2011-04-04 12:44:59 +08:00
|
|
|
source "drivers/usb/renesas_usbhs/Kconfig"
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
source "drivers/usb/class/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/usb/storage/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/usb/image/Kconfig"
|
|
|
|
|
|
|
|
comment "USB port drivers"
|
|
|
|
depends on USB
|
|
|
|
|
|
|
|
config USB_USS720
|
|
|
|
tristate "USS720 parport driver"
|
|
|
|
depends on USB && PARPORT
|
|
|
|
select PARPORT_NOT_PC
|
|
|
|
---help---
|
|
|
|
This driver is for USB parallel port adapters that use the Lucent
|
|
|
|
Technologies USS-720 chip. These cables are plugged into your USB
|
|
|
|
port and provide USB compatibility to peripherals designed with
|
|
|
|
parallel port interfaces.
|
|
|
|
|
|
|
|
The chip has two modes: automatic mode and manual mode. In automatic
|
|
|
|
mode, it looks to the computer like a standard USB printer. Only
|
|
|
|
printers may be connected to the USS-720 in this mode. The generic
|
|
|
|
USB printer driver ("USB Printer support", above) may be used in
|
|
|
|
that mode, and you can say N here if you want to use the chip only
|
|
|
|
in this mode.
|
|
|
|
|
|
|
|
Manual mode is not limited to printers, any parallel port
|
|
|
|
device should work. This driver utilizes manual mode.
|
|
|
|
Note however that some operations are three orders of magnitude
|
|
|
|
slower than on a PCI/ISA Parallel Port, so timing critical
|
|
|
|
applications might not work.
|
|
|
|
|
|
|
|
Say Y here if you own an USS-720 USB->Parport cable and intend to
|
|
|
|
connect anything other than a printer to it.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called uss720.
|
|
|
|
|
|
|
|
source "drivers/usb/serial/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/usb/misc/Kconfig"
|
|
|
|
|
2012-04-29 22:47:04 +08:00
|
|
|
source "drivers/usb/phy/Kconfig"
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
source "drivers/usb/atm/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/usb/gadget/Kconfig"
|
|
|
|
|
2008-11-25 03:53:35 +08:00
|
|
|
source "drivers/usb/otg/Kconfig"
|
|
|
|
|
2007-05-11 14:04:13 +08:00
|
|
|
endif # USB_SUPPORT
|