Kconfig 5.4 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#
# USB device configuration
#

J
Jan Engelhardt 已提交
5 6
menuconfig USB_SUPPORT
	bool "USB support"
7
	depends on HAS_IOMEM
8
	default y
9 10 11
	---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.
J
Jan Engelhardt 已提交
12

L
Linus Torvalds 已提交
13 14 15 16 17 18
# many non-PCI SOC chips embed OHCI
config USB_ARCH_HAS_OHCI
	boolean
	# ARM:
	default y if SA1111
	default y if ARCH_OMAP
19
	default y if ARCH_S3C2410
L
Linus Torvalds 已提交
20
	default y if PXA27x
21
	default y if PXA3xx
22
	default y if ARCH_EP93XX
23
	default y if ARCH_AT91
24 25
	default y if ARCH_PNX4008 && I2C
	default y if MFD_TC6393XB
26
	default y if ARCH_W90X900
27
	default y if ARCH_DAVINCI_DA8XX
28
	default y if ARCH_CNS3XXX
29
	default y if PLAT_SPEAR
J
Jingoo Han 已提交
30
	default y if ARCH_EXYNOS
L
Linus Torvalds 已提交
31 32 33 34
	# PPC:
	default y if STB03xxx
	default y if PPC_MPC52xx
	# MIPS:
35
	default y if MIPS_ALCHEMY
36
	default y if MACH_JZ4740
L
Linus Torvalds 已提交
37 38 39
	# more:
	default PCI

J
Jordan Crouse 已提交
40 41 42
# some non-PCI hcds implement EHCI
config USB_ARCH_HAS_EHCI
	boolean
43
	default y if FSL_SOC
44
	default y if PPC_MPC512x
V
Vladimir Barinov 已提交
45
	default y if ARCH_IXP4XX
46
	default y if ARCH_W90X900
47
	default y if ARCH_AT91SAM9G45
48
	default y if ARCH_MXC
49
	default y if ARCH_OMAP3
50
	default y if ARCH_CNS3XXX
51
	default y if ARCH_VT8500
52
	default y if PLAT_SPEAR
53
	default y if PLAT_S5P
54
	default y if ARCH_MSM
55
	default y if MICROBLAZE
56
	default y if SPARC_LEON
57
	default y if ARCH_MMP
58
	default y if MACH_LOONGSON1
J
Jordan Crouse 已提交
59 60
	default PCI

61 62 63 64 65
# some non-PCI HCDs implement xHCI
config USB_ARCH_HAS_XHCI
	boolean
	default PCI

66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
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

L
Linus Torvalds 已提交
87 88 89 90
# 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
91
	select NLS  # for UTF-8 strings
L
Linus Torvalds 已提交
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
	---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"

126 127
source "drivers/usb/dwc3/Kconfig"

128 129
source "drivers/usb/mon/Kconfig"

130 131
source "drivers/usb/wusbcore/Kconfig"

L
Linus Torvalds 已提交
132 133
source "drivers/usb/host/Kconfig"

F
Felipe Balbi 已提交
134 135
source "drivers/usb/musb/Kconfig"

136 137
source "drivers/usb/renesas_usbhs/Kconfig"

L
Linus Torvalds 已提交
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
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"

source "drivers/usb/atm/Kconfig"

source "drivers/usb/gadget/Kconfig"

184 185
source "drivers/usb/otg/Kconfig"

J
Jan Engelhardt 已提交
186
endif # USB_SUPPORT