xref: /openbmc/linux/drivers/usb/Kconfig (revision 60bbfc84)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# USB device configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "USB support"
61da177e4SLinus Torvalds
71da177e4SLinus Torvalds# Host-side USB depends on having a host controller
81da177e4SLinus Torvalds# NOTE:  dummy_hcd is always an option, but it's ignored here ...
91da177e4SLinus Torvalds# NOTE:  SL-811 option should be board-specific ...
101da177e4SLinus Torvaldsconfig USB_ARCH_HAS_HCD
111da177e4SLinus Torvalds	boolean
121da177e4SLinus Torvalds	default y if USB_ARCH_HAS_OHCI
1376fa9a24SJordan Crouse	default y if USB_ARCH_HAS_EHCI
141da177e4SLinus Torvalds	default y if ARM				# SL-811
151da177e4SLinus Torvalds	default PCI
161da177e4SLinus Torvalds
171da177e4SLinus Torvalds# many non-PCI SOC chips embed OHCI
181da177e4SLinus Torvaldsconfig USB_ARCH_HAS_OHCI
191da177e4SLinus Torvalds	boolean
201da177e4SLinus Torvalds	# ARM:
211da177e4SLinus Torvalds	default y if SA1111
221da177e4SLinus Torvalds	default y if ARCH_OMAP
231da177e4SLinus Torvalds	default y if ARCH_LH7A404
243eb0c5f4SBen Dooks	default y if ARCH_S3C2410
251da177e4SLinus Torvalds	default y if PXA27x
26a5b7474aSLennert Buytenhek	default y if ARCH_EP93XX
270365ee0aSDavid Brownell	default y if (ARCH_AT91RM9200 || ARCH_AT91SAM9261)
2860bbfc84SVitaly Wool	default y if ARCH_PNX4008
291da177e4SLinus Torvalds	# PPC:
301da177e4SLinus Torvalds	default y if STB03xxx
311da177e4SLinus Torvalds	default y if PPC_MPC52xx
321da177e4SLinus Torvalds	# MIPS:
331da177e4SLinus Torvalds	default y if SOC_AU1X00
341da177e4SLinus Torvalds	# more:
351da177e4SLinus Torvalds	default PCI
361da177e4SLinus Torvalds
3776fa9a24SJordan Crouse# some non-PCI hcds implement EHCI
3876fa9a24SJordan Crouseconfig USB_ARCH_HAS_EHCI
3976fa9a24SJordan Crouse	boolean
4076fa9a24SJordan Crouse	default y if PPC_83xx
4176fa9a24SJordan Crouse	default y if SOC_AU1200
4276fa9a24SJordan Crouse	default PCI
4376fa9a24SJordan Crouse
441da177e4SLinus Torvalds# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
451da177e4SLinus Torvaldsconfig USB
461da177e4SLinus Torvalds	tristate "Support for Host-side USB"
471da177e4SLinus Torvalds	depends on USB_ARCH_HAS_HCD
481da177e4SLinus Torvalds	---help---
491da177e4SLinus Torvalds	  Universal Serial Bus (USB) is a specification for a serial bus
501da177e4SLinus Torvalds	  subsystem which offers higher speeds and more features than the
511da177e4SLinus Torvalds	  traditional PC serial port.  The bus supplies power to peripherals
521da177e4SLinus Torvalds	  and allows for hot swapping.  Up to 127 USB peripherals can be
531da177e4SLinus Torvalds	  connected to a single USB host in a tree structure.
541da177e4SLinus Torvalds
551da177e4SLinus Torvalds	  The USB host is the root of the tree, the peripherals are the
561da177e4SLinus Torvalds	  leaves and the inner nodes are special USB devices called hubs.
571da177e4SLinus Torvalds	  Most PCs now have USB host ports, used to connect peripherals
581da177e4SLinus Torvalds	  such as scanners, keyboards, mice, modems, cameras, disks,
591da177e4SLinus Torvalds	  flash memory, network links, and printers to the PC.
601da177e4SLinus Torvalds
611da177e4SLinus Torvalds	  Say Y here if your computer has a host-side USB port and you want
621da177e4SLinus Torvalds	  to use USB devices.  You then need to say Y to at least one of the
631da177e4SLinus Torvalds	  Host Controller Driver (HCD) options below.  Choose a USB 1.1
641da177e4SLinus Torvalds	  controller, such as "UHCI HCD support" or "OHCI HCD support",
651da177e4SLinus Torvalds	  and "EHCI HCD (USB 2.0) support" except for older systems that
661da177e4SLinus Torvalds	  do not have USB 2.0 support.  It doesn't normally hurt to select
671da177e4SLinus Torvalds	  them all if you are not certain.
681da177e4SLinus Torvalds
691da177e4SLinus Torvalds	  If your system has a device-side USB port, used in the peripheral
701da177e4SLinus Torvalds	  side of the USB protocol, see the "USB Gadget" framework instead.
711da177e4SLinus Torvalds
721da177e4SLinus Torvalds	  After choosing your HCD, then select drivers for the USB peripherals
731da177e4SLinus Torvalds	  you'll be using.  You may want to check out the information provided
741da177e4SLinus Torvalds	  in <file:Documentation/usb/> and especially the links given in
751da177e4SLinus Torvalds	  <file:Documentation/usb/usb-help.txt>.
761da177e4SLinus Torvalds
771da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
781da177e4SLinus Torvalds	  module will be called usbcore.
791da177e4SLinus Torvalds
801da177e4SLinus Torvaldssource "drivers/usb/core/Kconfig"
811da177e4SLinus Torvalds
821da177e4SLinus Torvaldssource "drivers/usb/host/Kconfig"
831da177e4SLinus Torvalds
841da177e4SLinus Torvaldssource "drivers/usb/class/Kconfig"
851da177e4SLinus Torvalds
861da177e4SLinus Torvaldssource "drivers/usb/storage/Kconfig"
871da177e4SLinus Torvalds
881da177e4SLinus Torvaldssource "drivers/usb/input/Kconfig"
891da177e4SLinus Torvalds
901da177e4SLinus Torvaldssource "drivers/usb/image/Kconfig"
911da177e4SLinus Torvalds
921da177e4SLinus Torvaldssource "drivers/usb/net/Kconfig"
931da177e4SLinus Torvalds
941da177e4SLinus Torvaldssource "drivers/usb/mon/Kconfig"
951da177e4SLinus Torvalds
961da177e4SLinus Torvaldscomment "USB port drivers"
971da177e4SLinus Torvalds	depends on USB
981da177e4SLinus Torvalds
991da177e4SLinus Torvaldsconfig USB_USS720
1001da177e4SLinus Torvalds	tristate "USS720 parport driver"
1011da177e4SLinus Torvalds	depends on USB && PARPORT
1021da177e4SLinus Torvalds	select PARPORT_NOT_PC
1031da177e4SLinus Torvalds	---help---
1041da177e4SLinus Torvalds	  This driver is for USB parallel port adapters that use the Lucent
1051da177e4SLinus Torvalds	  Technologies USS-720 chip. These cables are plugged into your USB
1061da177e4SLinus Torvalds	  port and provide USB compatibility to peripherals designed with
1071da177e4SLinus Torvalds	  parallel port interfaces.
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvalds	  The chip has two modes: automatic mode and manual mode. In automatic
1101da177e4SLinus Torvalds	  mode, it looks to the computer like a standard USB printer. Only
1111da177e4SLinus Torvalds	  printers may be connected to the USS-720 in this mode. The generic
1121da177e4SLinus Torvalds	  USB printer driver ("USB Printer support", above) may be used in
1131da177e4SLinus Torvalds	  that mode, and you can say N here if you want to use the chip only
1141da177e4SLinus Torvalds	  in this mode.
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvalds	  Manual mode is not limited to printers, any parallel port
1171da177e4SLinus Torvalds	  device should work. This driver utilizes manual mode.
1181da177e4SLinus Torvalds	  Note however that some operations are three orders of magnitude
1191da177e4SLinus Torvalds	  slower than on a PCI/ISA Parallel Port, so timing critical
1201da177e4SLinus Torvalds	  applications might not work.
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvalds	  Say Y here if you own an USS-720 USB->Parport cable and intend to
1231da177e4SLinus Torvalds	  connect anything other than a printer to it.
1241da177e4SLinus Torvalds
1251da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1261da177e4SLinus Torvalds	  module will be called uss720.
1271da177e4SLinus Torvalds
1281da177e4SLinus Torvaldssource "drivers/usb/serial/Kconfig"
1291da177e4SLinus Torvalds
1301da177e4SLinus Torvaldssource "drivers/usb/misc/Kconfig"
1311da177e4SLinus Torvalds
1321da177e4SLinus Torvaldssource "drivers/usb/atm/Kconfig"
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvaldssource "drivers/usb/gadget/Kconfig"
1351da177e4SLinus Torvalds
1361da177e4SLinus Torvaldsendmenu
1371da177e4SLinus Torvalds
138