xref: /linux/drivers/usb/host/Kconfig (revision db11e47dd7b09b7f76c7eaa236277f23391331e7)
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_ROOT_HUB_TT
339ec249a6SRobert P. J. Day	bool "Root Hub Transaction Translators"
349ec249a6SRobert P. J. Day	depends on USB_EHCI_HCD
351da177e4SLinus Torvalds	---help---
361da177e4SLinus Torvalds	  Some EHCI chips have vendor-specific extensions to integrate
371da177e4SLinus Torvalds	  transaction translators, so that no OHCI or UHCI companion
381da177e4SLinus Torvalds	  controller is needed.  It's safe to say "y" even if your
391da177e4SLinus Torvalds	  controller doesn't support this feature.
401da177e4SLinus Torvalds
41ba47f66bSDan Streetman	  This supports the EHCI implementation that's originally
42ba47f66bSDan Streetman	  from ARC, and has since changed hands a few times.
43ba47f66bSDan Streetman
44ba47f66bSDan Streetmanconfig USB_EHCI_TT_NEWSCHED
45ba47f66bSDan Streetman	bool "Improved Transaction Translator scheduling (EXPERIMENTAL)"
46ba47f66bSDan Streetman	depends on USB_EHCI_HCD && EXPERIMENTAL
47ba47f66bSDan Streetman	---help---
48ba47f66bSDan Streetman	  This changes the periodic scheduling code to fill more of the low
49ba47f66bSDan Streetman	  and full speed bandwidth available from the Transaction Translator
50ba47f66bSDan Streetman	  (TT) in USB 2.0 hubs.  Without this, only one transfer will be
51ba47f66bSDan Streetman	  issued in each microframe, significantly reducing the number of
52ba47f66bSDan Streetman	  periodic low/fullspeed transfers possible.
53ba47f66bSDan Streetman
54ba47f66bSDan Streetman	  If you have multiple periodic low/fullspeed devices connected to a
55ba47f66bSDan Streetman	  highspeed USB hub which is connected to a highspeed USB Host
56ba47f66bSDan Streetman	  Controller, and some of those devices will not work correctly
57ba47f66bSDan Streetman	  (possibly due to "ENOSPC" or "-28" errors), say Y.
58ba47f66bSDan Streetman
59ba47f66bSDan Streetman	  If unsure, say N.
601da177e4SLinus Torvalds
61083522d7SBenjamin Herrenschmidtconfig USB_EHCI_BIG_ENDIAN_MMIO
62083522d7SBenjamin Herrenschmidt	bool
6391bc4d31SVladimir Barinov	depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX || ARCH_IXP4XX)
644d68c0beSStefan Roese	default y
65083522d7SBenjamin Herrenschmidt
666dbd682bSStefan Roeseconfig USB_EHCI_BIG_ENDIAN_DESC
676dbd682bSStefan Roese	bool
6891bc4d31SVladimir Barinov	depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX)
694d68c0beSStefan Roese	default y
706dbd682bSStefan Roese
71ba02978aSLi Yangconfig USB_EHCI_FSL
72b5937a41SAnton Vorontsov	bool "Support for Freescale on-chip EHCI USB controller"
73b5937a41SAnton Vorontsov	depends on USB_EHCI_HCD && FSL_SOC
74ba02978aSLi Yang	select USB_EHCI_ROOT_HUB_TT
75ba02978aSLi Yang	---help---
76ba02978aSLi Yang	  Variation of ARC USB block used in some Freescale chips.
77ba02978aSLi Yang
78da0e8fb0SValentine Barshakconfig USB_EHCI_HCD_PPC_OF
79da0e8fb0SValentine Barshak	bool "EHCI support for PPC USB controller on OF platform bus"
80da0e8fb0SValentine Barshak	depends on USB_EHCI_HCD && PPC_OF
81da0e8fb0SValentine Barshak	default y
82da0e8fb0SValentine Barshak	---help---
83da0e8fb0SValentine Barshak	  Enables support for the USB controller present on the PowerPC
84da0e8fb0SValentine Barshak	  OpenFirmware platform bus.
85da0e8fb0SValentine Barshak
864808a1c0SOlav Kongasconfig USB_ISP116X_HCD
874808a1c0SOlav Kongas	tristate "ISP116X HCD support"
884808a1c0SOlav Kongas	depends on USB
894808a1c0SOlav Kongas	---help---
904808a1c0SOlav Kongas	  The ISP1160 and ISP1161 chips are USB host controllers. Enable this
914808a1c0SOlav Kongas	  option if your board has this chip. If unsure, say N.
924808a1c0SOlav Kongas
934808a1c0SOlav Kongas	  This driver does not support isochronous transfers.
944808a1c0SOlav Kongas
954808a1c0SOlav Kongas	  To compile this driver as a module, choose M here: the
964808a1c0SOlav Kongas	  module will be called isp116x-hcd.
974808a1c0SOlav Kongas
98*db11e47dSSebastian Siewiorconfig USB_ISP1760_HCD
99*db11e47dSSebastian Siewior	tristate "ISP 1760 HCD support"
100*db11e47dSSebastian Siewior	depends on USB && EXPERIMENTAL
101*db11e47dSSebastian Siewior	---help---
102*db11e47dSSebastian Siewior	  The ISP1760 chip is a USB 2.0 host controller.
103*db11e47dSSebastian Siewior
104*db11e47dSSebastian Siewior	  This driver does not support isochronous transfers or OTG.
105*db11e47dSSebastian Siewior
106*db11e47dSSebastian Siewior	  To compile this driver as a module, choose M here: the
107*db11e47dSSebastian Siewior	  module will be called isp1760-hcd.
108*db11e47dSSebastian Siewior
109*db11e47dSSebastian Siewiorconfig USB_ISP1760_PCI
110*db11e47dSSebastian Siewior	bool "Support for the PCI bus"
111*db11e47dSSebastian Siewior	depends on USB_ISP1760_HCD && PCI
112*db11e47dSSebastian Siewior	---help---
113*db11e47dSSebastian Siewior	  Enables support for the device present on the PCI bus.
114*db11e47dSSebastian Siewior	  This should only be required if you happen to have the eval kit from
115*db11e47dSSebastian Siewior	  NXP and you are going to test it.
116*db11e47dSSebastian Siewior
117*db11e47dSSebastian Siewiorconfig USB_ISP1760_OF
118*db11e47dSSebastian Siewior	bool "Support for the OF platform bus"
119*db11e47dSSebastian Siewior	depends on USB_ISP1760_HCD && OF
120*db11e47dSSebastian Siewior	---help---
121*db11e47dSSebastian Siewior	  Enables support for the device present on the PowerPC
122*db11e47dSSebastian Siewior	  OpenFirmware platform bus.
123*db11e47dSSebastian Siewior
1241da177e4SLinus Torvaldsconfig USB_OHCI_HCD
1251da177e4SLinus Torvalds	tristate "OHCI HCD support"
1261da177e4SLinus Torvalds	depends on USB && USB_ARCH_HAS_OHCI
1271da177e4SLinus Torvalds	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
12860bbfc84SVitaly Wool	select I2C if ARCH_PNX4008
1291da177e4SLinus Torvalds	---help---
1301da177e4SLinus Torvalds	  The Open Host Controller Interface (OHCI) is a standard for accessing
1311da177e4SLinus Torvalds	  USB 1.1 host controller hardware.  It does more in hardware than Intel's
1321da177e4SLinus Torvalds	  UHCI specification.  If your USB host controller follows the OHCI spec,
1331da177e4SLinus Torvalds	  say Y.  On most non-x86 systems, and on x86 hardware that's not using a
1341da177e4SLinus Torvalds	  USB controller from Intel or VIA, this is appropriate.  If your host
1351da177e4SLinus Torvalds	  controller doesn't use PCI, this is probably appropriate.  For a PCI
1361da177e4SLinus Torvalds	  based system where you're not sure, the "lspci -v" entry will list the
1371da177e4SLinus Torvalds	  right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1401da177e4SLinus Torvalds	  module will be called ohci-hcd.
1411da177e4SLinus Torvalds
1421da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PPC_SOC
1431da177e4SLinus Torvalds	bool "OHCI support for on-chip PPC USB controller"
1441da177e4SLinus Torvalds	depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
1451da177e4SLinus Torvalds	default y
14611d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_DESC
14711d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_MMIO
1481da177e4SLinus Torvalds	---help---
1491da177e4SLinus Torvalds	  Enables support for the USB controller on the MPC52xx or
1501da177e4SLinus Torvalds	  STB03xxx processor chip.  If unsure, say Y.
1511da177e4SLinus Torvalds
152495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF
153495a678fSSylvain Munaut	bool "OHCI support for PPC USB controller on OF platform bus"
154495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PPC_OF
155495a678fSSylvain Munaut	default y
156495a678fSSylvain Munaut	---help---
157495a678fSSylvain Munaut	  Enables support for the USB controller PowerPC present on the
158495a678fSSylvain Munaut	  OpenFirmware platform bus.
159495a678fSSylvain Munaut
160495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_BE
161495a678fSSylvain Munaut	bool "Support big endian HC"
162495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
163495a678fSSylvain Munaut	default y
164495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_DESC
165495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_MMIO
166495a678fSSylvain Munaut
167495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_LE
168495a678fSSylvain Munaut	bool "Support little endian HC"
169495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
170495a678fSSylvain Munaut	default n
171495a678fSSylvain Munaut	select USB_OHCI_LITTLE_ENDIAN
172495a678fSSylvain Munaut
1731da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PCI
1741da177e4SLinus Torvalds	bool "OHCI support for PCI-bus USB controllers"
175495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF)
1761da177e4SLinus Torvalds	default y
1771da177e4SLinus Torvalds	select USB_OHCI_LITTLE_ENDIAN
1781da177e4SLinus Torvalds	---help---
1791da177e4SLinus Torvalds	  Enables support for PCI-bus plug-in USB controller cards.
1801da177e4SLinus Torvalds	  If unsure, say Y.
1811da177e4SLinus Torvalds
182c604e851SMichael Bueschconfig USB_OHCI_HCD_SSB
183c604e851SMichael Buesch	bool "OHCI support for Broadcom SSB OHCI core"
1841011b326SAdrian Bunk	depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
185c604e851SMichael Buesch	default n
186c604e851SMichael Buesch	---help---
187c604e851SMichael Buesch	  Support for the Sonics Silicon Backplane (SSB) attached
188c604e851SMichael Buesch	  Broadcom USB OHCI core.
189c604e851SMichael Buesch
190c604e851SMichael Buesch	  This device is present in some embedded devices with
191c604e851SMichael Buesch	  Broadcom based SSB bus.
192c604e851SMichael Buesch
193c604e851SMichael Buesch	  If unsure, say N.
194c604e851SMichael Buesch
19511d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_DESC
19611d1a4aaSBenjamin Herrenschmidt	bool
19711d1a4aaSBenjamin Herrenschmidt	depends on USB_OHCI_HCD
19811d1a4aaSBenjamin Herrenschmidt	default n
19911d1a4aaSBenjamin Herrenschmidt
20011d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_MMIO
2011da177e4SLinus Torvalds	bool
2021da177e4SLinus Torvalds	depends on USB_OHCI_HCD
2031da177e4SLinus Torvalds	default n
2041da177e4SLinus Torvalds
2051da177e4SLinus Torvaldsconfig USB_OHCI_LITTLE_ENDIAN
2061da177e4SLinus Torvalds	bool
2071da177e4SLinus Torvalds	depends on USB_OHCI_HCD
2081da177e4SLinus Torvalds	default n if STB03xxx || PPC_MPC52xx
2091da177e4SLinus Torvalds	default y
2101da177e4SLinus Torvalds
2111da177e4SLinus Torvaldsconfig USB_UHCI_HCD
2121da177e4SLinus Torvalds	tristate "UHCI HCD (most Intel and VIA) support"
2131da177e4SLinus Torvalds	depends on USB && PCI
2141da177e4SLinus Torvalds	---help---
2151da177e4SLinus Torvalds	  The Universal Host Controller Interface is a standard by Intel for
2161da177e4SLinus Torvalds	  accessing the USB hardware in the PC (which is also called the USB
2171da177e4SLinus Torvalds	  host controller). If your USB host controller conforms to this
2181da177e4SLinus Torvalds	  standard, you may want to say Y, but see below. All recent boards
2191da177e4SLinus Torvalds	  with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
2201da177e4SLinus Torvalds	  i810, i820) conform to this standard. Also all VIA PCI chipsets
2211da177e4SLinus Torvalds	  (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
2221da177e4SLinus Torvalds	  133). If unsure, say Y.
2231da177e4SLinus Torvalds
2241da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2251da177e4SLinus Torvalds	  module will be called uhci-hcd.
2261da177e4SLinus Torvalds
227d774efeaSTony Olechconfig USB_U132_HCD
228d774efeaSTony Olech	tristate "Elan U132 Adapter Host Controller"
229d774efeaSTony Olech	depends on USB && USB_FTDI_ELAN
230d774efeaSTony Olech	default M
231d774efeaSTony Olech	help
232d774efeaSTony Olech	  The U132 adapter is a USB to CardBus adapter specifically designed
233d774efeaSTony Olech	  for PC cards that contain an OHCI host controller. Typical PC cards
234d774efeaSTony Olech	  are the Orange Mobile 3G Option GlobeTrotter Fusion card. The U132
235d774efeaSTony Olech	  adapter will *NOT* work with PC cards that do not contain an OHCI
236d774efeaSTony Olech	  controller.
237d774efeaSTony Olech
2383cb2fcccSMatt LaPlante	  For those PC cards that contain multiple OHCI controllers only the
239d774efeaSTony Olech	  first one is used.
240d774efeaSTony Olech
241d774efeaSTony Olech	  The driver consists of two modules, the "ftdi-elan" module is a
242d774efeaSTony Olech	  USB client driver that interfaces to the FTDI chip within ELAN's
243d774efeaSTony Olech	  USB-to-PCMCIA adapter, and this "u132-hcd" module is a USB host
244d774efeaSTony Olech	  controller driver that talks to the OHCI controller within the
245d774efeaSTony Olech	  CardBus cards that are inserted in the U132 adapter.
246d774efeaSTony Olech
247d774efeaSTony Olech	  This driver has been tested with a CardBus OHCI USB adapter, and
248d774efeaSTony Olech	  worked with a USB PEN Drive inserted into the first USB port of
249d774efeaSTony Olech	  the PCCARD. A rather pointless thing to do, but useful for testing.
250d774efeaSTony Olech
251d774efeaSTony Olech	  It is safe to say M here.
252d774efeaSTony Olech
253d774efeaSTony Olech	  See also <http://www.elandigitalsystems.com/support/ufaq/u132linux.php>
254d774efeaSTony Olech
2551da177e4SLinus Torvaldsconfig USB_SL811_HCD
2561da177e4SLinus Torvalds	tristate "SL811HS HCD support"
2571da177e4SLinus Torvalds	depends on USB
2581da177e4SLinus Torvalds	help
2591da177e4SLinus Torvalds	  The SL811HS is a single-port USB controller that supports either
2601da177e4SLinus Torvalds	  host side or peripheral side roles.  Enable this option if your
2611da177e4SLinus Torvalds	  board has this chip, and you want to use it as a host controller.
2621da177e4SLinus Torvalds	  If unsure, say N.
2631da177e4SLinus Torvalds
2641da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2651da177e4SLinus Torvalds	  module will be called sl811-hcd.
2661da177e4SLinus Torvalds
267c6de2b64SDavid Brownellconfig USB_SL811_CS
268c6de2b64SDavid Brownell	tristate "CF/PCMCIA support for SL811HS HCD"
269c6de2b64SDavid Brownell	depends on USB_SL811_HCD && PCMCIA
270c6de2b64SDavid Brownell	help
271c6de2b64SDavid Brownell	  Wraps a PCMCIA driver around the SL811HS HCD, supporting the RATOC
272c6de2b64SDavid Brownell	  REX-CFU1U CF card (often used with PDAs).  If unsure, say N.
273c6de2b64SDavid Brownell
274c6de2b64SDavid Brownell	  To compile this driver as a module, choose M here: the
275c6de2b64SDavid Brownell	  module will be called "sl811_cs".
276c6de2b64SDavid Brownell
2775d304358SYoshihiro Shimodaconfig USB_R8A66597_HCD
278fa0de2b6SM4rkusXXL	tristate "R8A66597 HCD support"
2795d304358SYoshihiro Shimoda	depends on USB
2805d304358SYoshihiro Shimoda	help
2815d304358SYoshihiro Shimoda	  The R8A66597 is a USB 2.0 host and peripheral controller.
2825d304358SYoshihiro Shimoda
2835d304358SYoshihiro Shimoda	  Enable this option if your board has this chip, and you want
2845d304358SYoshihiro Shimoda	  to use it as a host controller.  If unsure, say N.
2855d304358SYoshihiro Shimoda
2865d304358SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the
2875d304358SYoshihiro Shimoda	  module will be called r8a66597-hcd.
2885d304358SYoshihiro Shimoda
2899424ea29SYoshihiro Shimodaconfig SUPERH_ON_CHIP_R8A66597
2909424ea29SYoshihiro Shimoda	boolean "Enable SuperH on-chip USB like the R8A66597"
2919424ea29SYoshihiro Shimoda	depends on USB_R8A66597_HCD && CPU_SUBTYPE_SH7366
2929424ea29SYoshihiro Shimoda	help
2939424ea29SYoshihiro Shimoda	   Renesas SuperH processor has USB like the R8A66597.
2949424ea29SYoshihiro Shimoda	   This driver supported processor is SH7366.
295