xref: /linux/drivers/usb/host/Kconfig (revision fa0de2b614ca89d14d046e6756ba020fd386ff71)
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
724d68c0beSStefan Roese	depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX)
734d68c0beSStefan Roese	default y
74083522d7SBenjamin Herrenschmidt
756dbd682bSStefan Roeseconfig USB_EHCI_BIG_ENDIAN_DESC
766dbd682bSStefan Roese	bool
774d68c0beSStefan Roese	depends on USB_EHCI_HCD && 440EPX
784d68c0beSStefan Roese	default y
796dbd682bSStefan Roese
80ba02978aSLi Yangconfig USB_EHCI_FSL
81ba02978aSLi Yang	bool
82ba02978aSLi Yang	select USB_EHCI_ROOT_HUB_TT
83ba02978aSLi Yang	default y if MPC834x || PPC_MPC831x
84ba02978aSLi Yang	---help---
85ba02978aSLi Yang	  Variation of ARC USB block used in some Freescale chips.
86ba02978aSLi Yang
874808a1c0SOlav Kongasconfig USB_ISP116X_HCD
884808a1c0SOlav Kongas	tristate "ISP116X HCD support"
894808a1c0SOlav Kongas	depends on USB
904808a1c0SOlav Kongas	---help---
914808a1c0SOlav Kongas	  The ISP1160 and ISP1161 chips are USB host controllers. Enable this
924808a1c0SOlav Kongas	  option if your board has this chip. If unsure, say N.
934808a1c0SOlav Kongas
944808a1c0SOlav Kongas	  This driver does not support isochronous transfers.
954808a1c0SOlav Kongas
964808a1c0SOlav Kongas	  To compile this driver as a module, choose M here: the
974808a1c0SOlav Kongas	  module will be called isp116x-hcd.
984808a1c0SOlav Kongas
991da177e4SLinus Torvaldsconfig USB_OHCI_HCD
1001da177e4SLinus Torvalds	tristate "OHCI HCD support"
1011da177e4SLinus Torvalds	depends on USB && USB_ARCH_HAS_OHCI
1021da177e4SLinus Torvalds	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
10360bbfc84SVitaly Wool	select I2C if ARCH_PNX4008
1041da177e4SLinus Torvalds	---help---
1051da177e4SLinus Torvalds	  The Open Host Controller Interface (OHCI) is a standard for accessing
1061da177e4SLinus Torvalds	  USB 1.1 host controller hardware.  It does more in hardware than Intel's
1071da177e4SLinus Torvalds	  UHCI specification.  If your USB host controller follows the OHCI spec,
1081da177e4SLinus Torvalds	  say Y.  On most non-x86 systems, and on x86 hardware that's not using a
1091da177e4SLinus Torvalds	  USB controller from Intel or VIA, this is appropriate.  If your host
1101da177e4SLinus Torvalds	  controller doesn't use PCI, this is probably appropriate.  For a PCI
1111da177e4SLinus Torvalds	  based system where you're not sure, the "lspci -v" entry will list the
1121da177e4SLinus Torvalds	  right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1151da177e4SLinus Torvalds	  module will be called ohci-hcd.
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PPC_SOC
1181da177e4SLinus Torvalds	bool "OHCI support for on-chip PPC USB controller"
1191da177e4SLinus Torvalds	depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
1201da177e4SLinus Torvalds	default y
12111d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_DESC
12211d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_MMIO
1231da177e4SLinus Torvalds	---help---
1241da177e4SLinus Torvalds	  Enables support for the USB controller on the MPC52xx or
1251da177e4SLinus Torvalds	  STB03xxx processor chip.  If unsure, say Y.
1261da177e4SLinus Torvalds
127495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF
128495a678fSSylvain Munaut	bool "OHCI support for PPC USB controller on OF platform bus"
129495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PPC_OF
130495a678fSSylvain Munaut	default y
131495a678fSSylvain Munaut	---help---
132495a678fSSylvain Munaut	  Enables support for the USB controller PowerPC present on the
133495a678fSSylvain Munaut	  OpenFirmware platform bus.
134495a678fSSylvain Munaut
135495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_BE
136495a678fSSylvain Munaut	bool "Support big endian HC"
137495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
138495a678fSSylvain Munaut	default y
139495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_DESC
140495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_MMIO
141495a678fSSylvain Munaut
142495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_LE
143495a678fSSylvain Munaut	bool "Support little endian HC"
144495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
145495a678fSSylvain Munaut	default n
146495a678fSSylvain Munaut	select USB_OHCI_LITTLE_ENDIAN
147495a678fSSylvain Munaut
1481da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PCI
1491da177e4SLinus Torvalds	bool "OHCI support for PCI-bus USB controllers"
150495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF)
1511da177e4SLinus Torvalds	default y
1521da177e4SLinus Torvalds	select USB_OHCI_LITTLE_ENDIAN
1531da177e4SLinus Torvalds	---help---
1541da177e4SLinus Torvalds	  Enables support for PCI-bus plug-in USB controller cards.
1551da177e4SLinus Torvalds	  If unsure, say Y.
1561da177e4SLinus Torvalds
15711d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_DESC
15811d1a4aaSBenjamin Herrenschmidt	bool
15911d1a4aaSBenjamin Herrenschmidt	depends on USB_OHCI_HCD
16011d1a4aaSBenjamin Herrenschmidt	default n
16111d1a4aaSBenjamin Herrenschmidt
16211d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_MMIO
1631da177e4SLinus Torvalds	bool
1641da177e4SLinus Torvalds	depends on USB_OHCI_HCD
1651da177e4SLinus Torvalds	default n
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvaldsconfig USB_OHCI_LITTLE_ENDIAN
1681da177e4SLinus Torvalds	bool
1691da177e4SLinus Torvalds	depends on USB_OHCI_HCD
1701da177e4SLinus Torvalds	default n if STB03xxx || PPC_MPC52xx
1711da177e4SLinus Torvalds	default y
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvaldsconfig USB_UHCI_HCD
1741da177e4SLinus Torvalds	tristate "UHCI HCD (most Intel and VIA) support"
1751da177e4SLinus Torvalds	depends on USB && PCI
1761da177e4SLinus Torvalds	---help---
1771da177e4SLinus Torvalds	  The Universal Host Controller Interface is a standard by Intel for
1781da177e4SLinus Torvalds	  accessing the USB hardware in the PC (which is also called the USB
1791da177e4SLinus Torvalds	  host controller). If your USB host controller conforms to this
1801da177e4SLinus Torvalds	  standard, you may want to say Y, but see below. All recent boards
1811da177e4SLinus Torvalds	  with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
1821da177e4SLinus Torvalds	  i810, i820) conform to this standard. Also all VIA PCI chipsets
1831da177e4SLinus Torvalds	  (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
1841da177e4SLinus Torvalds	  133). If unsure, say Y.
1851da177e4SLinus Torvalds
1861da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1871da177e4SLinus Torvalds	  module will be called uhci-hcd.
1881da177e4SLinus Torvalds
189d774efeaSTony Olechconfig USB_U132_HCD
190d774efeaSTony Olech	tristate "Elan U132 Adapter Host Controller"
191d774efeaSTony Olech	depends on USB && USB_FTDI_ELAN
192d774efeaSTony Olech	default M
193d774efeaSTony Olech	help
194d774efeaSTony Olech	  The U132 adapter is a USB to CardBus adapter specifically designed
195d774efeaSTony Olech	  for PC cards that contain an OHCI host controller. Typical PC cards
196d774efeaSTony Olech	  are the Orange Mobile 3G Option GlobeTrotter Fusion card. The U132
197d774efeaSTony Olech	  adapter will *NOT* work with PC cards that do not contain an OHCI
198d774efeaSTony Olech	  controller.
199d774efeaSTony Olech
2003cb2fcccSMatt LaPlante	  For those PC cards that contain multiple OHCI controllers only the
201d774efeaSTony Olech	  first one is used.
202d774efeaSTony Olech
203d774efeaSTony Olech	  The driver consists of two modules, the "ftdi-elan" module is a
204d774efeaSTony Olech	  USB client driver that interfaces to the FTDI chip within ELAN's
205d774efeaSTony Olech	  USB-to-PCMCIA adapter, and this "u132-hcd" module is a USB host
206d774efeaSTony Olech	  controller driver that talks to the OHCI controller within the
207d774efeaSTony Olech	  CardBus cards that are inserted in the U132 adapter.
208d774efeaSTony Olech
209d774efeaSTony Olech	  This driver has been tested with a CardBus OHCI USB adapter, and
210d774efeaSTony Olech	  worked with a USB PEN Drive inserted into the first USB port of
211d774efeaSTony Olech	  the PCCARD. A rather pointless thing to do, but useful for testing.
212d774efeaSTony Olech
213d774efeaSTony Olech	  It is safe to say M here.
214d774efeaSTony Olech
215d774efeaSTony Olech	  See also <http://www.elandigitalsystems.com/support/ufaq/u132linux.php>
216d774efeaSTony Olech
2171da177e4SLinus Torvaldsconfig USB_SL811_HCD
2181da177e4SLinus Torvalds	tristate "SL811HS HCD support"
2191da177e4SLinus Torvalds	depends on USB
2201da177e4SLinus Torvalds	help
2211da177e4SLinus Torvalds	  The SL811HS is a single-port USB controller that supports either
2221da177e4SLinus Torvalds	  host side or peripheral side roles.  Enable this option if your
2231da177e4SLinus Torvalds	  board has this chip, and you want to use it as a host controller.
2241da177e4SLinus Torvalds	  If unsure, say N.
2251da177e4SLinus Torvalds
2261da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2271da177e4SLinus Torvalds	  module will be called sl811-hcd.
2281da177e4SLinus Torvalds
229c6de2b64SDavid Brownellconfig USB_SL811_CS
230c6de2b64SDavid Brownell	tristate "CF/PCMCIA support for SL811HS HCD"
231c6de2b64SDavid Brownell	depends on USB_SL811_HCD && PCMCIA
232c6de2b64SDavid Brownell	help
233c6de2b64SDavid Brownell	  Wraps a PCMCIA driver around the SL811HS HCD, supporting the RATOC
234c6de2b64SDavid Brownell	  REX-CFU1U CF card (often used with PDAs).  If unsure, say N.
235c6de2b64SDavid Brownell
236c6de2b64SDavid Brownell	  To compile this driver as a module, choose M here: the
237c6de2b64SDavid Brownell	  module will be called "sl811_cs".
238c6de2b64SDavid Brownell
2395d304358SYoshihiro Shimodaconfig USB_R8A66597_HCD
240*fa0de2b6SM4rkusXXL	tristate "R8A66597 HCD support"
2415d304358SYoshihiro Shimoda	depends on USB
2425d304358SYoshihiro Shimoda	help
2435d304358SYoshihiro Shimoda	  The R8A66597 is a USB 2.0 host and peripheral controller.
2445d304358SYoshihiro Shimoda
2455d304358SYoshihiro Shimoda	  Enable this option if your board has this chip, and you want
2465d304358SYoshihiro Shimoda	  to use it as a host controller.  If unsure, say N.
2475d304358SYoshihiro Shimoda
2485d304358SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the
2495d304358SYoshihiro Shimoda	  module will be called r8a66597-hcd.
2505d304358SYoshihiro Shimoda
251