xref: /linux/drivers/usb/host/Kconfig (revision 9424ea29658ce5bcdcf527ddf9617b9507ddf1aa)
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
981da177e4SLinus Torvaldsconfig USB_OHCI_HCD
991da177e4SLinus Torvalds	tristate "OHCI HCD support"
1001da177e4SLinus Torvalds	depends on USB && USB_ARCH_HAS_OHCI
1011da177e4SLinus Torvalds	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
10260bbfc84SVitaly Wool	select I2C if ARCH_PNX4008
1031da177e4SLinus Torvalds	---help---
1041da177e4SLinus Torvalds	  The Open Host Controller Interface (OHCI) is a standard for accessing
1051da177e4SLinus Torvalds	  USB 1.1 host controller hardware.  It does more in hardware than Intel's
1061da177e4SLinus Torvalds	  UHCI specification.  If your USB host controller follows the OHCI spec,
1071da177e4SLinus Torvalds	  say Y.  On most non-x86 systems, and on x86 hardware that's not using a
1081da177e4SLinus Torvalds	  USB controller from Intel or VIA, this is appropriate.  If your host
1091da177e4SLinus Torvalds	  controller doesn't use PCI, this is probably appropriate.  For a PCI
1101da177e4SLinus Torvalds	  based system where you're not sure, the "lspci -v" entry will list the
1111da177e4SLinus Torvalds	  right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1141da177e4SLinus Torvalds	  module will be called ohci-hcd.
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PPC_SOC
1171da177e4SLinus Torvalds	bool "OHCI support for on-chip PPC USB controller"
1181da177e4SLinus Torvalds	depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
1191da177e4SLinus Torvalds	default y
12011d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_DESC
12111d1a4aaSBenjamin Herrenschmidt	select USB_OHCI_BIG_ENDIAN_MMIO
1221da177e4SLinus Torvalds	---help---
1231da177e4SLinus Torvalds	  Enables support for the USB controller on the MPC52xx or
1241da177e4SLinus Torvalds	  STB03xxx processor chip.  If unsure, say Y.
1251da177e4SLinus Torvalds
126495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF
127495a678fSSylvain Munaut	bool "OHCI support for PPC USB controller on OF platform bus"
128495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PPC_OF
129495a678fSSylvain Munaut	default y
130495a678fSSylvain Munaut	---help---
131495a678fSSylvain Munaut	  Enables support for the USB controller PowerPC present on the
132495a678fSSylvain Munaut	  OpenFirmware platform bus.
133495a678fSSylvain Munaut
134495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_BE
135495a678fSSylvain Munaut	bool "Support big endian HC"
136495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
137495a678fSSylvain Munaut	default y
138495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_DESC
139495a678fSSylvain Munaut	select USB_OHCI_BIG_ENDIAN_MMIO
140495a678fSSylvain Munaut
141495a678fSSylvain Munautconfig USB_OHCI_HCD_PPC_OF_LE
142495a678fSSylvain Munaut	bool "Support little endian HC"
143495a678fSSylvain Munaut	depends on USB_OHCI_HCD_PPC_OF
144495a678fSSylvain Munaut	default n
145495a678fSSylvain Munaut	select USB_OHCI_LITTLE_ENDIAN
146495a678fSSylvain Munaut
1471da177e4SLinus Torvaldsconfig USB_OHCI_HCD_PCI
1481da177e4SLinus Torvalds	bool "OHCI support for PCI-bus USB controllers"
149495a678fSSylvain Munaut	depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF)
1501da177e4SLinus Torvalds	default y
1511da177e4SLinus Torvalds	select USB_OHCI_LITTLE_ENDIAN
1521da177e4SLinus Torvalds	---help---
1531da177e4SLinus Torvalds	  Enables support for PCI-bus plug-in USB controller cards.
1541da177e4SLinus Torvalds	  If unsure, say Y.
1551da177e4SLinus Torvalds
156c604e851SMichael Bueschconfig USB_OHCI_HCD_SSB
157c604e851SMichael Buesch	bool "OHCI support for Broadcom SSB OHCI core"
1581011b326SAdrian Bunk	depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
159c604e851SMichael Buesch	default n
160c604e851SMichael Buesch	---help---
161c604e851SMichael Buesch	  Support for the Sonics Silicon Backplane (SSB) attached
162c604e851SMichael Buesch	  Broadcom USB OHCI core.
163c604e851SMichael Buesch
164c604e851SMichael Buesch	  This device is present in some embedded devices with
165c604e851SMichael Buesch	  Broadcom based SSB bus.
166c604e851SMichael Buesch
167c604e851SMichael Buesch	  If unsure, say N.
168c604e851SMichael Buesch
16911d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_DESC
17011d1a4aaSBenjamin Herrenschmidt	bool
17111d1a4aaSBenjamin Herrenschmidt	depends on USB_OHCI_HCD
17211d1a4aaSBenjamin Herrenschmidt	default n
17311d1a4aaSBenjamin Herrenschmidt
17411d1a4aaSBenjamin Herrenschmidtconfig USB_OHCI_BIG_ENDIAN_MMIO
1751da177e4SLinus Torvalds	bool
1761da177e4SLinus Torvalds	depends on USB_OHCI_HCD
1771da177e4SLinus Torvalds	default n
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvaldsconfig USB_OHCI_LITTLE_ENDIAN
1801da177e4SLinus Torvalds	bool
1811da177e4SLinus Torvalds	depends on USB_OHCI_HCD
1821da177e4SLinus Torvalds	default n if STB03xxx || PPC_MPC52xx
1831da177e4SLinus Torvalds	default y
1841da177e4SLinus Torvalds
1851da177e4SLinus Torvaldsconfig USB_UHCI_HCD
1861da177e4SLinus Torvalds	tristate "UHCI HCD (most Intel and VIA) support"
1871da177e4SLinus Torvalds	depends on USB && PCI
1881da177e4SLinus Torvalds	---help---
1891da177e4SLinus Torvalds	  The Universal Host Controller Interface is a standard by Intel for
1901da177e4SLinus Torvalds	  accessing the USB hardware in the PC (which is also called the USB
1911da177e4SLinus Torvalds	  host controller). If your USB host controller conforms to this
1921da177e4SLinus Torvalds	  standard, you may want to say Y, but see below. All recent boards
1931da177e4SLinus Torvalds	  with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
1941da177e4SLinus Torvalds	  i810, i820) conform to this standard. Also all VIA PCI chipsets
1951da177e4SLinus Torvalds	  (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
1961da177e4SLinus Torvalds	  133). If unsure, say Y.
1971da177e4SLinus Torvalds
1981da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1991da177e4SLinus Torvalds	  module will be called uhci-hcd.
2001da177e4SLinus Torvalds
201d774efeaSTony Olechconfig USB_U132_HCD
202d774efeaSTony Olech	tristate "Elan U132 Adapter Host Controller"
203d774efeaSTony Olech	depends on USB && USB_FTDI_ELAN
204d774efeaSTony Olech	default M
205d774efeaSTony Olech	help
206d774efeaSTony Olech	  The U132 adapter is a USB to CardBus adapter specifically designed
207d774efeaSTony Olech	  for PC cards that contain an OHCI host controller. Typical PC cards
208d774efeaSTony Olech	  are the Orange Mobile 3G Option GlobeTrotter Fusion card. The U132
209d774efeaSTony Olech	  adapter will *NOT* work with PC cards that do not contain an OHCI
210d774efeaSTony Olech	  controller.
211d774efeaSTony Olech
2123cb2fcccSMatt LaPlante	  For those PC cards that contain multiple OHCI controllers only the
213d774efeaSTony Olech	  first one is used.
214d774efeaSTony Olech
215d774efeaSTony Olech	  The driver consists of two modules, the "ftdi-elan" module is a
216d774efeaSTony Olech	  USB client driver that interfaces to the FTDI chip within ELAN's
217d774efeaSTony Olech	  USB-to-PCMCIA adapter, and this "u132-hcd" module is a USB host
218d774efeaSTony Olech	  controller driver that talks to the OHCI controller within the
219d774efeaSTony Olech	  CardBus cards that are inserted in the U132 adapter.
220d774efeaSTony Olech
221d774efeaSTony Olech	  This driver has been tested with a CardBus OHCI USB adapter, and
222d774efeaSTony Olech	  worked with a USB PEN Drive inserted into the first USB port of
223d774efeaSTony Olech	  the PCCARD. A rather pointless thing to do, but useful for testing.
224d774efeaSTony Olech
225d774efeaSTony Olech	  It is safe to say M here.
226d774efeaSTony Olech
227d774efeaSTony Olech	  See also <http://www.elandigitalsystems.com/support/ufaq/u132linux.php>
228d774efeaSTony Olech
2291da177e4SLinus Torvaldsconfig USB_SL811_HCD
2301da177e4SLinus Torvalds	tristate "SL811HS HCD support"
2311da177e4SLinus Torvalds	depends on USB
2321da177e4SLinus Torvalds	help
2331da177e4SLinus Torvalds	  The SL811HS is a single-port USB controller that supports either
2341da177e4SLinus Torvalds	  host side or peripheral side roles.  Enable this option if your
2351da177e4SLinus Torvalds	  board has this chip, and you want to use it as a host controller.
2361da177e4SLinus Torvalds	  If unsure, say N.
2371da177e4SLinus Torvalds
2381da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2391da177e4SLinus Torvalds	  module will be called sl811-hcd.
2401da177e4SLinus Torvalds
241c6de2b64SDavid Brownellconfig USB_SL811_CS
242c6de2b64SDavid Brownell	tristate "CF/PCMCIA support for SL811HS HCD"
243c6de2b64SDavid Brownell	depends on USB_SL811_HCD && PCMCIA
244c6de2b64SDavid Brownell	help
245c6de2b64SDavid Brownell	  Wraps a PCMCIA driver around the SL811HS HCD, supporting the RATOC
246c6de2b64SDavid Brownell	  REX-CFU1U CF card (often used with PDAs).  If unsure, say N.
247c6de2b64SDavid Brownell
248c6de2b64SDavid Brownell	  To compile this driver as a module, choose M here: the
249c6de2b64SDavid Brownell	  module will be called "sl811_cs".
250c6de2b64SDavid Brownell
2515d304358SYoshihiro Shimodaconfig USB_R8A66597_HCD
252fa0de2b6SM4rkusXXL	tristate "R8A66597 HCD support"
2535d304358SYoshihiro Shimoda	depends on USB
2545d304358SYoshihiro Shimoda	help
2555d304358SYoshihiro Shimoda	  The R8A66597 is a USB 2.0 host and peripheral controller.
2565d304358SYoshihiro Shimoda
2575d304358SYoshihiro Shimoda	  Enable this option if your board has this chip, and you want
2585d304358SYoshihiro Shimoda	  to use it as a host controller.  If unsure, say N.
2595d304358SYoshihiro Shimoda
2605d304358SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the
2615d304358SYoshihiro Shimoda	  module will be called r8a66597-hcd.
2625d304358SYoshihiro Shimoda
263*9424ea29SYoshihiro Shimodaconfig SUPERH_ON_CHIP_R8A66597
264*9424ea29SYoshihiro Shimoda	boolean "Enable SuperH on-chip USB like the R8A66597"
265*9424ea29SYoshihiro Shimoda	depends on USB_R8A66597_HCD && CPU_SUBTYPE_SH7366
266*9424ea29SYoshihiro Shimoda	help
267*9424ea29SYoshihiro Shimoda	   Renesas SuperH processor has USB like the R8A66597.
268*9424ea29SYoshihiro Shimoda	   This driver supported processor is SH7366.
269