xref: /linux/drivers/usb/host/Kconfig (revision 4d68c0be69b65aa260448cea9fb1c555ae90d268)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# USB Host Controller Drivers
31da177e4SLinus Torvalds#
41da177e4SLinus Torvaldscomment "USB Host Controller Drivers"
51da177e4SLinus Torvalds	depends on USB
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsconfig USB_EHCI_HCD
81da177e4SLinus Torvalds	tristate "EHCI HCD (USB 2.0) support"
976fa9a24SJordan Crouse	depends on USB && USB_ARCH_HAS_EHCI
101da177e4SLinus Torvalds	---help---
111da177e4SLinus Torvalds	  The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
121da177e4SLinus Torvalds	  "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
131da177e4SLinus Torvalds	  If your USB host controller supports USB 2.0, you will likely want to
14b3c29d85SJesper Juhl	  configure this Host Controller Driver.  At the time of this writing,
15b3c29d85SJesper Juhl	  the primary implementation of EHCI is a chip from NEC, widely available
16b3c29d85SJesper Juhl	  in add-on PCI cards, but implementations are in the works from other
17b3c29d85SJesper Juhl	  vendors including Intel and Philips.  Motherboard support is appearing.
181da177e4SLinus Torvalds
191da177e4SLinus Torvalds	  EHCI controllers are packaged with "companion" host controllers (OHCI
201da177e4SLinus Torvalds	  or UHCI) to handle USB 1.1 devices connected to root hub ports.  Ports
21b3c29d85SJesper Juhl	  will connect to EHCI if the device is high speed, otherwise they
221da177e4SLinus Torvalds	  connect to a companion controller.  If you configure EHCI, you should
231da177e4SLinus Torvalds	  probably configure the OHCI (for NEC and some other vendors) USB Host
241da177e4SLinus Torvalds	  Controller Driver or UHCI (for Via motherboards) Host Controller
251da177e4SLinus Torvalds	  Driver too.
261da177e4SLinus Torvalds
271da177e4SLinus Torvalds	  You may want to read <file:Documentation/usb/ehci.txt>.
281da177e4SLinus Torvalds
291da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
301da177e4SLinus Torvalds	  module will be called ehci-hcd.
311da177e4SLinus Torvalds
321da177e4SLinus Torvaldsconfig USB_EHCI_SPLIT_ISO
331da177e4SLinus Torvalds	bool "Full speed ISO transactions (EXPERIMENTAL)"
341da177e4SLinus Torvalds	depends on USB_EHCI_HCD && EXPERIMENTAL
351da177e4SLinus Torvalds	default n
361da177e4SLinus Torvalds	---help---
371da177e4SLinus Torvalds	  This code is new and hasn't been used with many different
381da177e4SLinus Torvalds	  EHCI or USB 2.0 transaction translator implementations.
391da177e4SLinus Torvalds	  It should work for ISO-OUT transfers, like audio.
401da177e4SLinus Torvalds
411da177e4SLinus Torvaldsconfig USB_EHCI_ROOT_HUB_TT
421da177e4SLinus Torvalds	bool "Root Hub Transaction Translators (EXPERIMENTAL)"
431da177e4SLinus Torvalds	depends on USB_EHCI_HCD && EXPERIMENTAL
441da177e4SLinus Torvalds	---help---
451da177e4SLinus Torvalds	  Some EHCI chips have vendor-specific extensions to integrate
461da177e4SLinus Torvalds	  transaction translators, so that no OHCI or UHCI companion
471da177e4SLinus Torvalds	  controller is needed.  It's safe to say "y" even if your
481da177e4SLinus Torvalds	  controller doesn't support this feature.
491da177e4SLinus Torvalds
50ba47f66bSDan Streetman	  This supports the EHCI implementation that's originally
51ba47f66bSDan Streetman	  from ARC, and has since changed hands a few times.
52ba47f66bSDan Streetman
53ba47f66bSDan Streetmanconfig USB_EHCI_TT_NEWSCHED
54ba47f66bSDan Streetman	bool "Improved Transaction Translator scheduling (EXPERIMENTAL)"
55ba47f66bSDan Streetman	depends on USB_EHCI_HCD && EXPERIMENTAL
56ba47f66bSDan Streetman	---help---
57ba47f66bSDan Streetman	  This changes the periodic scheduling code to fill more of the low
58ba47f66bSDan Streetman	  and full speed bandwidth available from the Transaction Translator
59ba47f66bSDan Streetman	  (TT) in USB 2.0 hubs.  Without this, only one transfer will be
60ba47f66bSDan Streetman	  issued in each microframe, significantly reducing the number of
61ba47f66bSDan Streetman	  periodic low/fullspeed transfers possible.
62ba47f66bSDan Streetman
63ba47f66bSDan Streetman	  If you have multiple periodic low/fullspeed devices connected to a
64ba47f66bSDan Streetman	  highspeed USB hub which is connected to a highspeed USB Host
65ba47f66bSDan Streetman	  Controller, and some of those devices will not work correctly
66ba47f66bSDan Streetman	  (possibly due to "ENOSPC" or "-28" errors), say Y.
67ba47f66bSDan Streetman
68ba47f66bSDan Streetman	  If unsure, say N.
691da177e4SLinus Torvalds
70083522d7SBenjamin Herrenschmidtconfig USB_EHCI_BIG_ENDIAN_MMIO
71083522d7SBenjamin Herrenschmidt	bool
72*4d68c0beSStefan Roese	depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX)
73*4d68c0beSStefan Roese	default y
74083522d7SBenjamin Herrenschmidt
756dbd682bSStefan Roeseconfig USB_EHCI_BIG_ENDIAN_DESC
766dbd682bSStefan Roese	bool
77*4d68c0beSStefan Roese	depends on USB_EHCI_HCD && 440EPX
78*4d68c0beSStefan Roese	default y
796dbd682bSStefan Roese
804808a1c0SOlav Kongasconfig USB_ISP116X_HCD
814808a1c0SOlav Kongas	tristate "ISP116X HCD support"
824808a1c0SOlav Kongas	depends on USB
834808a1c0SOlav Kongas	---help---
844808a1c0SOlav Kongas	  The ISP1160 and ISP1161 chips are USB host controllers. Enable this
854808a1c0SOlav Kongas	  option if your board has this chip. If unsure, say N.
864808a1c0SOlav Kongas
874808a1c0SOlav Kongas	  This driver does not support isochronous transfers.
884808a1c0SOlav Kongas
894808a1c0SOlav Kongas	  To compile this driver as a module, choose M here: the
904808a1c0SOlav Kongas	  module will be called isp116x-hcd.
914808a1c0SOlav Kongas
921da177e4SLinus Torvaldsconfig USB_OHCI_HCD
931da177e4SLinus Torvalds	tristate "OHCI HCD support"
941da177e4SLinus Torvalds	depends on USB && USB_ARCH_HAS_OHCI
951da177e4SLinus Torvalds	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
9660bbfc84SVitaly Wool	select I2C if ARCH_PNX4008
971da177e4SLinus Torvalds	---help---
981da177e4SLinus Torvalds	  The Open Host Controller Interface (OHCI) is a standard for accessing
991da177e4SLinus Torvalds	  USB 1.1 host controller hardware.  It does more in hardware than Intel's
1001da177e4SLinus Torvalds	  UHCI specification.  If your USB host controller follows the OHCI spec,
1011da177e4SLinus Torvalds	  say Y.  On most non-x86 systems, and on x86 hardware that's not using a
1021da177e4SLinus Torvalds	  USB controller from Intel or VIA, this is appropriate.  If your host
1031da177e4SLinus Torvalds	  controller doesn't use PCI, this is probably appropriate.  For a PCI
1041da177e4SLinus Torvalds	  based system where you're not sure, the "lspci -v" entry will list the
1051da177e4SLinus Torvalds	  right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1081da177e4SLinus Torvalds	  module will be called ohci-hcd.
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PPC_SOC
1111da177e4SLinus Torvalds	bool "OHCI support for on-chip PPC USB controller"
1121da177e4SLinus Torvalds	depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
1131da177e4SLinus Torvalds	default y
11411d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_DESC
11511d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_MMIO
1161da177e4SLinus Torvalds	---help---
1171da177e4SLinus Torvalds	  Enables support for the USB controller on the MPC52xx or
1181da177e4SLinus Torvalds	  STB03xxx processor chip.  If unsure, say Y.
1191da177e4SLinus Torvalds
120495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF
121495a678fSSylvain Munaut	bool "OHCI support for PPC USB controller on OF platform bus"
122495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PPC_OF
123495a678fSSylvain Munaut	default y
124495a678fSSylvain Munaut	---help---
125495a678fSSylvain Munaut	  Enables support for the USB controller PowerPC present on the
126495a678fSSylvain Munaut	  OpenFirmware platform bus.
127495a678fSSylvain Munaut
128495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_BE
129495a678fSSylvain Munaut	bool "Support big endian HC"
130495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
131495a678fSSylvain Munaut	default y
132495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_DESC
133495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_MMIO
134495a678fSSylvain Munaut
135495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_LE
136495a678fSSylvain Munaut	bool "Support little endian HC"
137495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
138495a678fSSylvain Munaut	default n
139495a678fSSylvain Munaut	select USB_OHCI_LITTLE_ENDIAN
140495a678fSSylvain Munaut
1411da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PCI
1421da177e4SLinus Torvalds	bool "OHCI support for PCI-bus USB controllers"
143495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF)
1441da177e4SLinus Torvalds	default y
1451da177e4SLinus Torvalds	select USB_OHCI_LITTLE_ENDIAN
1461da177e4SLinus Torvalds	---help---
1471da177e4SLinus Torvalds	  Enables support for PCI-bus plug-in USB controller cards.
1481da177e4SLinus Torvalds	  If unsure, say Y.
1491da177e4SLinus Torvalds
15011d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_DESC
15111d1a4aaSBenjamin Herrenschmidt	bool
15211d1a4aaSBenjamin Herrenschmidt	depends on USB_OHCI_HCD
15311d1a4aaSBenjamin Herrenschmidt	default n
15411d1a4aaSBenjamin Herrenschmidt
15511d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_MMIO
1561da177e4SLinus Torvalds	bool
1571da177e4SLinus Torvalds	depends on USB_OHCI_HCD
1581da177e4SLinus Torvalds	default n
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvaldsconfig USB_OHCI_LITTLE_ENDIAN
1611da177e4SLinus Torvalds	bool
1621da177e4SLinus Torvalds	depends on USB_OHCI_HCD
1631da177e4SLinus Torvalds	default n if STB03xxx || PPC_MPC52xx
1641da177e4SLinus Torvalds	default y
1651da177e4SLinus Torvalds
1661da177e4SLinus Torvaldsconfig USB_UHCI_HCD
1671da177e4SLinus Torvalds	tristate "UHCI HCD (most Intel and VIA) support"
1681da177e4SLinus Torvalds	depends on USB && PCI
1691da177e4SLinus Torvalds	---help---
1701da177e4SLinus Torvalds	  The Universal Host Controller Interface is a standard by Intel for
1711da177e4SLinus Torvalds	  accessing the USB hardware in the PC (which is also called the USB
1721da177e4SLinus Torvalds	  host controller). If your USB host controller conforms to this
1731da177e4SLinus Torvalds	  standard, you may want to say Y, but see below. All recent boards
1741da177e4SLinus Torvalds	  with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
1751da177e4SLinus Torvalds	  i810, i820) conform to this standard. Also all VIA PCI chipsets
1761da177e4SLinus Torvalds	  (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
1771da177e4SLinus Torvalds	  133). If unsure, say Y.
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1801da177e4SLinus Torvalds	  module will be called uhci-hcd.
1811da177e4SLinus Torvalds
182d774efeaSTony Olechconfig USB_U132_HCD
183d774efeaSTony Olech	tristate "Elan U132 Adapter Host Controller"
184d774efeaSTony Olech	depends on USB && USB_FTDI_ELAN
185d774efeaSTony Olech	default M
186d774efeaSTony Olech	help
187d774efeaSTony Olech	  The U132 adapter is a USB to CardBus adapter specifically designed
188d774efeaSTony Olech	  for PC cards that contain an OHCI host controller. Typical PC cards
189d774efeaSTony Olech	  are the Orange Mobile 3G Option GlobeTrotter Fusion card. The U132
190d774efeaSTony Olech	  adapter will *NOT* work with PC cards that do not contain an OHCI
191d774efeaSTony Olech	  controller.
192d774efeaSTony Olech
1933cb2fcccSMatt LaPlante	  For those PC cards that contain multiple OHCI controllers only the
194d774efeaSTony Olech	  first one is used.
195d774efeaSTony Olech
196d774efeaSTony Olech	  The driver consists of two modules, the "ftdi-elan" module is a
197d774efeaSTony Olech	  USB client driver that interfaces to the FTDI chip within ELAN's
198d774efeaSTony Olech	  USB-to-PCMCIA adapter, and this "u132-hcd" module is a USB host
199d774efeaSTony Olech	  controller driver that talks to the OHCI controller within the
200d774efeaSTony Olech	  CardBus cards that are inserted in the U132 adapter.
201d774efeaSTony Olech
202d774efeaSTony Olech	  This driver has been tested with a CardBus OHCI USB adapter, and
203d774efeaSTony Olech	  worked with a USB PEN Drive inserted into the first USB port of
204d774efeaSTony Olech	  the PCCARD. A rather pointless thing to do, but useful for testing.
205d774efeaSTony Olech
206d774efeaSTony Olech	  It is safe to say M here.
207d774efeaSTony Olech
208d774efeaSTony Olech	  See also <http://www.elandigitalsystems.com/support/ufaq/u132linux.php>
209d774efeaSTony Olech
2101da177e4SLinus Torvaldsconfig USB_SL811_HCD
2111da177e4SLinus Torvalds	tristate "SL811HS HCD support"
2121da177e4SLinus Torvalds	depends on USB
2131da177e4SLinus Torvalds	help
2141da177e4SLinus Torvalds	  The SL811HS is a single-port USB controller that supports either
2151da177e4SLinus Torvalds	  host side or peripheral side roles.  Enable this option if your
2161da177e4SLinus Torvalds	  board has this chip, and you want to use it as a host controller.
2171da177e4SLinus Torvalds	  If unsure, say N.
2181da177e4SLinus Torvalds
2191da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2201da177e4SLinus Torvalds	  module will be called sl811-hcd.
2211da177e4SLinus Torvalds
222c6de2b64SDavid Brownellconfig USB_SL811_CS
223c6de2b64SDavid Brownell	tristate "CF/PCMCIA support for SL811HS HCD"
224c6de2b64SDavid Brownell	depends on USB_SL811_HCD && PCMCIA
225c6de2b64SDavid Brownell	help
226c6de2b64SDavid Brownell	  Wraps a PCMCIA driver around the SL811HS HCD, supporting the RATOC
227c6de2b64SDavid Brownell	  REX-CFU1U CF card (often used with PDAs).  If unsure, say N.
228c6de2b64SDavid Brownell
229c6de2b64SDavid Brownell	  To compile this driver as a module, choose M here: the
230c6de2b64SDavid Brownell	  module will be called "sl811_cs".
231c6de2b64SDavid Brownell
2325d304358SYoshihiro Shimodaconfig USB_R8A66597_HCD
2335d304358SYoshihiro Shimoda	tristate "R8A66597 HCD suppoort"
2345d304358SYoshihiro Shimoda	depends on USB
2355d304358SYoshihiro Shimoda	help
2365d304358SYoshihiro Shimoda	  The R8A66597 is a USB 2.0 host and peripheral controller.
2375d304358SYoshihiro Shimoda
2385d304358SYoshihiro Shimoda	  Enable this option if your board has this chip, and you want
2395d304358SYoshihiro Shimoda	  to use it as a host controller.  If unsure, say N.
2405d304358SYoshihiro Shimoda
2415d304358SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the
2425d304358SYoshihiro Shimoda	  module will be called r8a66597-hcd.
2435d304358SYoshihiro Shimoda
244