Blame view

drivers/usb/Kconfig 4.79 KB
cae8dc3b6   Greg Kroah-Hartman   USB: add missing ...
1
  # SPDX-License-Identifier: GPL-2.0
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
  #
  # USB device configuration
  #
900e06212   David Daney   usb: Move definit...
5
6
7
8
9
10
11
12
13
14
  config USB_OHCI_BIG_ENDIAN_DESC
  	bool
  
  config USB_OHCI_BIG_ENDIAN_MMIO
  	bool
  
  config USB_OHCI_LITTLE_ENDIAN
  	bool
  	default n if STB03xxx || PPC_MPC52xx
  	default y
900e06212   David Daney   usb: Move definit...
15
16
17
18
19
  config USB_EHCI_BIG_ENDIAN_MMIO
  	bool
  
  config USB_EHCI_BIG_ENDIAN_DESC
  	bool
ec897569a   James Hogan   usb: Move USB_UHC...
20
21
  config USB_UHCI_BIG_ENDIAN_MMIO
  	bool
ec897569a   James Hogan   usb: Move USB_UHC...
22
23
24
  
  config USB_UHCI_BIG_ENDIAN_DESC
  	bool
ec897569a   James Hogan   usb: Move USB_UHC...
25

a8edc42a1   David Daney   usb: Put USB Kcon...
26
27
28
29
30
31
32
  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.
53c6bc24f   David Daney   usb: Don't make U...
33
  if USB_SUPPORT
12b591bcc   Chunfeng Yun   usb: common: crea...
34
  source "drivers/usb/common/Kconfig"
53c6bc24f   David Daney   usb: Don't make U...
35

53c6bc24f   David Daney   usb: Don't make U...
36
  config USB_ARCH_HAS_HCD
d9ea21a77   Arnd Bergmann   usb: host: make U...
37
  	def_bool y
53c6bc24f   David Daney   usb: Don't make U...
38

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
39
40
41
  config USB
  	tristate "Support for Host-side USB"
  	depends on USB_ARCH_HAS_HCD
b0310c2f0   Laurentiu Tudor   USB: use genalloc...
42
  	select GENERIC_ALLOCATOR
badf6d47f   Arnd Bergmann   usb: common: rewo...
43
  	select USB_COMMON
a853a3d4e   Clemens Ladisch   usb: return devic...
44
  	select NLS  # for UTF-8 strings
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
  	---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
ecefae6db   Mauro Carvalho Chehab   docs: usb: rename...
72
  	  <file:Documentation/usb/usb-help.rst>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
73
74
75
  
  	  To compile this driver as a module, choose M here: the
  	  module will be called usbcore.
2c93e790e   yuan linyu   usb: add CONFIG_U...
76
77
78
79
80
  config USB_PCI
  	bool "PCI based USB host interface"
  	depends on PCI
  	default y
  	---help---
2bb80de74   Chris Mayo   usb: Kconfig: cla...
81
82
83
  	  Many embedded system SOCs (e.g. freescale T2080) have both
  	  PCI and USB modules with the USB module directly controlled by
  	  registers and having no relationship to the PCI module.
2c93e790e   yuan linyu   usb: add CONFIG_U...
84

2bb80de74   Chris Mayo   usb: Kconfig: cla...
85
86
  	  If you have such a device you may say N here and PCI related code
  	  will not be built in the USB driver.
2c93e790e   yuan linyu   usb: add CONFIG_U...
87

25e11ec4f   Florian Fainelli   USB: regroup all ...
88
  if USB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
89

25e11ec4f   Florian Fainelli   USB: regroup all ...
90
  source "drivers/usb/core/Kconfig"
72246da40   Felipe Balbi   usb: Introduce De...
91

3bea302d6   Simon Arlott   USB: Move usb/mon...
92
  source "drivers/usb/mon/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
93
  source "drivers/usb/host/Kconfig"
f1407d5c6   Kuninori Morimoto   usb: renesas_usbh...
94
  source "drivers/usb/renesas_usbhs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
95
96
97
  source "drivers/usb/class/Kconfig"
  
  source "drivers/usb/storage/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
98
  source "drivers/usb/image/Kconfig"
96c273771   Valentina Manea   usbip: move usbip...
99
  source "drivers/usb/usbip/Kconfig"
25e11ec4f   Florian Fainelli   USB: regroup all ...
100
  endif
7733f6c32   Pawel Laszczak   usb: cdns3: Add C...
101
  source "drivers/usb/cdns3/Kconfig"
df2069acb   Chunfeng Yun   usb: Add MediaTek...
102
  source "drivers/usb/mtu3/Kconfig"
845c071b7   Ezequiel Garcia   usb: musb: Rework...
103
  source "drivers/usb/musb/Kconfig"
25e11ec4f   Florian Fainelli   USB: regroup all ...
104
  source "drivers/usb/dwc3/Kconfig"
197ba5f40   Paul Zimmerman   Move DWC2 driver ...
105
  source "drivers/usb/dwc2/Kconfig"
25e11ec4f   Florian Fainelli   USB: regroup all ...
106
  source "drivers/usb/chipidea/Kconfig"
7ef077a8a   Laurent Pinchart   usb: isp1760: Mov...
107
  source "drivers/usb/isp1760/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
108
  comment "USB port drivers"
25e11ec4f   Florian Fainelli   USB: regroup all ...
109
110
  
  if USB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
111
112
113
  
  config USB_USS720
  	tristate "USS720 parport driver"
25e11ec4f   Florian Fainelli   USB: regroup all ...
114
  	depends on PARPORT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
  	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"
25e11ec4f   Florian Fainelli   USB: regroup all ...
146
147
148
  endif # USB
  
  source "drivers/usb/phy/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
149
  source "drivers/usb/gadget/Kconfig"
fab928842   Heikki Krogerus   usb: USB Type-C c...
150
  source "drivers/usb/typec/Kconfig"
f6fb9ec02   Hans de Goede   usb: roles: Add I...
151
  source "drivers/usb/roles/Kconfig"
04d06ad0f   Jan Engelhardt   USB: Use menuconf...
152
  endif # USB_SUPPORT