xref: /linux/drivers/usb/host/Kconfig (revision 91bc4d31e81b15aa6e2d075307b8727041f2e2d1)
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*91bc4d31SVladimir Barinov	depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX || ARCH_IXP4XX)
734d68c0beSStefan Roese	default y
74083522d7SBenjamin Herrenschmidt
756dbd682bSStefan Roeseconfig USB_EHCI_BIG_ENDIAN_DESC
766dbd682bSStefan Roese	bool
77*91bc4d31SVladimir Barinov	depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX)
784d68c0beSStefan Roese	default y
796dbd682bSStefan Roese
80ba02978aSLi Yangconfig USB_EHCI_FSL
81ba02978aSLi Yang	bool
82e057a35aSDavid Brownell	depends on USB_EHCI_HCD
83ba02978aSLi Yang	select USB_EHCI_ROOT_HUB_TT
84ba02978aSLi Yang	default y if MPC834x || PPC_MPC831x
85ba02978aSLi Yang	---help---
86ba02978aSLi Yang	  Variation of ARC USB block used in some Freescale chips.
87ba02978aSLi Yang
88da0e8fb0SValentine Barshakconfig USB_EHCI_HCD_PPC_OF
89da0e8fb0SValentine Barshak	bool "EHCI support for PPC USB controller on OF platform bus"
90da0e8fb0SValentine Barshak	depends on USB_EHCI_HCD && PPC_OF
91da0e8fb0SValentine Barshak	default y
92da0e8fb0SValentine Barshak	---help---
93da0e8fb0SValentine Barshak	  Enables support for the USB controller present on the PowerPC
94da0e8fb0SValentine Barshak	  OpenFirmware platform bus.
95da0e8fb0SValentine Barshak
964808a1c0SOlav Kongasconfig USB_ISP116X_HCD
974808a1c0SOlav Kongas	tristate "ISP116X HCD support"
984808a1c0SOlav Kongas	depends on USB
994808a1c0SOlav Kongas	---help---
1004808a1c0SOlav Kongas	  The ISP1160 and ISP1161 chips are USB host controllers. Enable this
1014808a1c0SOlav Kongas	  option if your board has this chip. If unsure, say N.
1024808a1c0SOlav Kongas
1034808a1c0SOlav Kongas	  This driver does not support isochronous transfers.
1044808a1c0SOlav Kongas
1054808a1c0SOlav Kongas	  To compile this driver as a module, choose M here: the
1064808a1c0SOlav Kongas	  module will be called isp116x-hcd.
1074808a1c0SOlav Kongas
1081da177e4SLinus Torvaldsconfig USB_OHCI_HCD
1091da177e4SLinus Torvalds	tristate "OHCI HCD support"
1101da177e4SLinus Torvalds	depends on USB && USB_ARCH_HAS_OHCI
1111da177e4SLinus Torvalds	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
11260bbfc84SVitaly Wool	select I2C if ARCH_PNX4008
1131da177e4SLinus Torvalds	---help---
1141da177e4SLinus Torvalds	  The Open Host Controller Interface (OHCI) is a standard for accessing
1151da177e4SLinus Torvalds	  USB 1.1 host controller hardware.  It does more in hardware than Intel's
1161da177e4SLinus Torvalds	  UHCI specification.  If your USB host controller follows the OHCI spec,
1171da177e4SLinus Torvalds	  say Y.  On most non-x86 systems, and on x86 hardware that's not using a
1181da177e4SLinus Torvalds	  USB controller from Intel or VIA, this is appropriate.  If your host
1191da177e4SLinus Torvalds	  controller doesn't use PCI, this is probably appropriate.  For a PCI
1201da177e4SLinus Torvalds	  based system where you're not sure, the "lspci -v" entry will list the
1211da177e4SLinus Torvalds	  right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
1221da177e4SLinus Torvalds
1231da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1241da177e4SLinus Torvalds	  module will be called ohci-hcd.
1251da177e4SLinus Torvalds
1261da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PPC_SOC
1271da177e4SLinus Torvalds	bool "OHCI support for on-chip PPC USB controller"
1281da177e4SLinus Torvalds	depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
1291da177e4SLinus Torvalds	default y
13011d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_DESC
13111d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_MMIO
1321da177e4SLinus Torvalds	---help---
1331da177e4SLinus Torvalds	  Enables support for the USB controller on the MPC52xx or
1341da177e4SLinus Torvalds	  STB03xxx processor chip.  If unsure, say Y.
1351da177e4SLinus Torvalds
136495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF
137495a678fSSylvain Munaut	bool "OHCI support for PPC USB controller on OF platform bus"
138495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PPC_OF
139495a678fSSylvain Munaut	default y
140495a678fSSylvain Munaut	---help---
141495a678fSSylvain Munaut	  Enables support for the USB controller PowerPC present on the
142495a678fSSylvain Munaut	  OpenFirmware platform bus.
143495a678fSSylvain Munaut
144495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_BE
145495a678fSSylvain Munaut	bool "Support big endian HC"
146495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
147495a678fSSylvain Munaut	default y
148495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_DESC
149495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_MMIO
150495a678fSSylvain Munaut
151495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_LE
152495a678fSSylvain Munaut	bool "Support little endian HC"
153495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
154495a678fSSylvain Munaut	default n
155495a678fSSylvain Munaut	select USB_OHCI_LITTLE_ENDIAN
156495a678fSSylvain Munaut
1571da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PCI
1581da177e4SLinus Torvalds	bool "OHCI support for PCI-bus USB controllers"
159495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF)
1601da177e4SLinus Torvalds	default y
1611da177e4SLinus Torvalds	select USB_OHCI_LITTLE_ENDIAN
1621da177e4SLinus Torvalds	---help---
1631da177e4SLinus Torvalds	  Enables support for PCI-bus plug-in USB controller cards.
1641da177e4SLinus Torvalds	  If unsure, say Y.
1651da177e4SLinus Torvalds
166c604e851SMichael Bueschconfig USB_OHCI_HCD_SSB
167c604e851SMichael Buesch	bool "OHCI support for Broadcom SSB OHCI core"
1681011b326SAdrian Bunk	depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
169c604e851SMichael Buesch	default n
170c604e851SMichael Buesch	---help---
171c604e851SMichael Buesch	  Support for the Sonics Silicon Backplane (SSB) attached
172c604e851SMichael Buesch	  Broadcom USB OHCI core.
173c604e851SMichael Buesch
174c604e851SMichael Buesch	  This device is present in some embedded devices with
175c604e851SMichael Buesch	  Broadcom based SSB bus.
176c604e851SMichael Buesch
177c604e851SMichael Buesch	  If unsure, say N.
178c604e851SMichael Buesch
17911d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_DESC
18011d1a4aaSBenjamin Herrenschmidt	bool
18111d1a4aaSBenjamin Herrenschmidt	depends on USB_OHCI_HCD
18211d1a4aaSBenjamin Herrenschmidt	default n
18311d1a4aaSBenjamin Herrenschmidt
18411d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_MMIO
1851da177e4SLinus Torvalds	bool
1861da177e4SLinus Torvalds	depends on USB_OHCI_HCD
1871da177e4SLinus Torvalds	default n
1881da177e4SLinus Torvalds
1891da177e4SLinus Torvaldsconfig USB_OHCI_LITTLE_ENDIAN
1901da177e4SLinus Torvalds	bool
1911da177e4SLinus Torvalds	depends on USB_OHCI_HCD
1921da177e4SLinus Torvalds	default n if STB03xxx || PPC_MPC52xx
1931da177e4SLinus Torvalds	default y
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvaldsconfig USB_UHCI_HCD
1961da177e4SLinus Torvalds	tristate "UHCI HCD (most Intel and VIA) support"
1971da177e4SLinus Torvalds	depends on USB && PCI
1981da177e4SLinus Torvalds	---help---
1991da177e4SLinus Torvalds	  The Universal Host Controller Interface is a standard by Intel for
2001da177e4SLinus Torvalds	  accessing the USB hardware in the PC (which is also called the USB
2011da177e4SLinus Torvalds	  host controller). If your USB host controller conforms to this
2021da177e4SLinus Torvalds	  standard, you may want to say Y, but see below. All recent boards
2031da177e4SLinus Torvalds	  with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
2041da177e4SLinus Torvalds	  i810, i820) conform to this standard. Also all VIA PCI chipsets
2051da177e4SLinus Torvalds	  (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
2061da177e4SLinus Torvalds	  133). If unsure, say Y.
2071da177e4SLinus Torvalds
2081da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2091da177e4SLinus Torvalds	  module will be called uhci-hcd.
2101da177e4SLinus Torvalds
211d774efeaSTony Olechconfig USB_U132_HCD
212d774efeaSTony Olech	tristate "Elan U132 Adapter Host Controller"
213d774efeaSTony Olech	depends on USB && USB_FTDI_ELAN
214d774efeaSTony Olech	default M
215d774efeaSTony Olech	help
216d774efeaSTony Olech	  The U132 adapter is a USB to CardBus adapter specifically designed
217d774efeaSTony Olech	  for PC cards that contain an OHCI host controller. Typical PC cards
218d774efeaSTony Olech	  are the Orange Mobile 3G Option GlobeTrotter Fusion card. The U132
219d774efeaSTony Olech	  adapter will *NOT* work with PC cards that do not contain an OHCI
220d774efeaSTony Olech	  controller.
221d774efeaSTony Olech
2223cb2fcccSMatt LaPlante	  For those PC cards that contain multiple OHCI controllers only the
223d774efeaSTony Olech	  first one is used.
224d774efeaSTony Olech
225d774efeaSTony Olech	  The driver consists of two modules, the "ftdi-elan" module is a
226d774efeaSTony Olech	  USB client driver that interfaces to the FTDI chip within ELAN's
227d774efeaSTony Olech	  USB-to-PCMCIA adapter, and this "u132-hcd" module is a USB host
228d774efeaSTony Olech	  controller driver that talks to the OHCI controller within the
229d774efeaSTony Olech	  CardBus cards that are inserted in the U132 adapter.
230d774efeaSTony Olech
231d774efeaSTony Olech	  This driver has been tested with a CardBus OHCI USB adapter, and
232d774efeaSTony Olech	  worked with a USB PEN Drive inserted into the first USB port of
233d774efeaSTony Olech	  the PCCARD. A rather pointless thing to do, but useful for testing.
234d774efeaSTony Olech
235d774efeaSTony Olech	  It is safe to say M here.
236d774efeaSTony Olech
237d774efeaSTony Olech	  See also <http://www.elandigitalsystems.com/support/ufaq/u132linux.php>
238d774efeaSTony Olech
2391da177e4SLinus Torvaldsconfig USB_SL811_HCD
2401da177e4SLinus Torvalds	tristate "SL811HS HCD support"
2411da177e4SLinus Torvalds	depends on USB
2421da177e4SLinus Torvalds	help
2431da177e4SLinus Torvalds	  The SL811HS is a single-port USB controller that supports either
2441da177e4SLinus Torvalds	  host side or peripheral side roles.  Enable this option if your
2451da177e4SLinus Torvalds	  board has this chip, and you want to use it as a host controller.
2461da177e4SLinus Torvalds	  If unsure, say N.
2471da177e4SLinus Torvalds
2481da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2491da177e4SLinus Torvalds	  module will be called sl811-hcd.
2501da177e4SLinus Torvalds
251c6de2b64SDavid Brownellconfig USB_SL811_CS
252c6de2b64SDavid Brownell	tristate "CF/PCMCIA support for SL811HS HCD"
253c6de2b64SDavid Brownell	depends on USB_SL811_HCD && PCMCIA
254c6de2b64SDavid Brownell	help
255c6de2b64SDavid Brownell	  Wraps a PCMCIA driver around the SL811HS HCD, supporting the RATOC
256c6de2b64SDavid Brownell	  REX-CFU1U CF card (often used with PDAs).  If unsure, say N.
257c6de2b64SDavid Brownell
258c6de2b64SDavid Brownell	  To compile this driver as a module, choose M here: the
259c6de2b64SDavid Brownell	  module will be called "sl811_cs".
260c6de2b64SDavid Brownell
2615d304358SYoshihiro Shimodaconfig USB_R8A66597_HCD
262fa0de2b6SM4rkusXXL	tristate "R8A66597 HCD support"
2635d304358SYoshihiro Shimoda	depends on USB
2645d304358SYoshihiro Shimoda	help
2655d304358SYoshihiro Shimoda	  The R8A66597 is a USB 2.0 host and peripheral controller.
2665d304358SYoshihiro Shimoda
2675d304358SYoshihiro Shimoda	  Enable this option if your board has this chip, and you want
2685d304358SYoshihiro Shimoda	  to use it as a host controller.  If unsure, say N.
2695d304358SYoshihiro Shimoda
2705d304358SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the
2715d304358SYoshihiro Shimoda	  module will be called r8a66597-hcd.
2725d304358SYoshihiro Shimoda
273