Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#
# CONFIG_USB device configuration
#

config CONFIG_USB_OHCI_BIG_ENDIAN_DESC
	bool

config CONFIG_USB_OHCI_BIG_ENDIAN_MMIO
	bool

config CONFIG_USB_OHCI_LITTLE_ENDIAN
	bool
	default n if CONFIG_STB03xxx || CONFIG_PPC_MPC52xx
	default y

config CONFIG_USB_EHCI_BIG_ENDIAN_MMIO
	bool

config CONFIG_USB_EHCI_BIG_ENDIAN_DESC
	bool

menuconfig CONFIG_USB_SUPPORT
	bool "USB support"
	depends on CONFIG_HAS_IOMEM
	default y
	---help---
	  This option adds core support for Universal Serial Bus (CONFIG_USB).
	  You will also need drivers from the following menu to make use of it.

if CONFIG_USB_SUPPORT

config CONFIG_USB_COMMON
	tristate

config CONFIG_USB_ARCH_HAS_HCD
	def_bool y

# CONFIG_ARM CONFIG_SA1111 chips have a non-CONFIG_PCI based "OHCI-compatible" CONFIG_USB host interface.
config CONFIG_USB
	tristate "Support for Host-side USB"
	depends on CONFIG_USB_ARCH_HAS_HCD
	select CONFIG_USB_COMMON
	select CONFIG_NLS  # for UTF-8 strings
	---help---
	  Universal Serial Bus (CONFIG_USB) is a specification for a serial bus
	  subsystem which offers higher speeds and more features than the
	  traditional PC serial port.  The bus supplies power to peripherals
	  and allows for hot swapping.  Up to 127 CONFIG_USB peripherals can be
	  connected to a single CONFIG_USB host in a tree structure.
	  
	  The CONFIG_USB host is the root of the tree, the peripherals are the
	  leaves and the inner nodes are special CONFIG_USB devices called hubs.
	  Most PCs now have CONFIG_USB host ports, used to connect peripherals
	  such as scanners, keyboards, mice, modems, cameras, disks,
	  flash memory, network links, and printers to the PC.

	  Say Y here if your computer has a host-side CONFIG_USB port and you want
	  to use CONFIG_USB devices.  You then need to say Y to at least one of the
	  Host Controller Driver (HCD) options below.  Choose a CONFIG_USB 1.1
	  controller, such as "UHCI HCD support" or "OHCI HCD support",
	  and "EHCI HCD (USB 2.0) support" except for older systems that
	  do not have CONFIG_USB 2.0 support.  It doesn't normally hurt to select
	  them all if you are not certain.

	  If your system has a device-side CONFIG_USB port, used in the peripheral
	  side of the CONFIG_USB protocol, see the "USB Gadget" framework instead.

	  After choosing your HCD, then select drivers for the CONFIG_USB peripherals
	  you'll be using.  You may want to check out the information provided
	  in <file:Documentation/usb/> and especially the links given in
	  <file:Documentation/usb/usb-help.txt>.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called usbcore.

if CONFIG_USB

source "drivers/usb/core/Kconfig"

source "drivers/usb/mon/Kconfig"

source "drivers/usb/wusbcore/Kconfig"

source "drivers/usb/host/Kconfig"

source "drivers/usb/renesas_usbhs/Kconfig"

source "drivers/usb/class/Kconfig"

source "drivers/usb/storage/Kconfig"

source "drivers/usb/image/Kconfig"

source "drivers/usb/usbip/Kconfig"

endif

source "drivers/usb/mtu3/Kconfig"

source "drivers/usb/musb/Kconfig"

source "drivers/usb/dwc3/Kconfig"

source "drivers/usb/dwc2/Kconfig"

source "drivers/usb/chipidea/Kconfig"

source "drivers/usb/isp1760/Kconfig"

comment "USB port drivers"

if CONFIG_USB

config CONFIG_USB_USS720
	tristate "USS720 parport driver"
	depends on CONFIG_PARPORT
	select CONFIG_PARPORT_NOT_PC
	---help---
	  This driver is for CONFIG_USB parallel port adapters that use the Lucent
	  Technologies USS-720 chip. These cables are plugged into your CONFIG_USB
	  port and provide CONFIG_USB compatibility to peripherals designed with
	  parallel port interfaces.

	  The chip has two modes: automatic mode and manual mode. In automatic
	  mode, it looks to the computer like a standard CONFIG_USB printer. Only
	  printers may be connected to the USS-720 in this mode. The generic
	  CONFIG_USB printer driver ("USB Printer support", above) may be used in
	  that mode, and you can say N here if you want to use the chip only
	  in this mode.

	  Manual mode is not limited to printers, any parallel port
	  device should work. This driver utilizes manual mode.
	  Note however that some operations are three orders of magnitude
	  slower than on a CONFIG_PCI/CONFIG_ISA Parallel Port, so timing critical
	  applications might not work.

	  Say Y here if you own an USS-720 CONFIG_USB->Parport cable and intend to
	  connect anything other than a printer to it.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called uss720.

source "drivers/usb/serial/Kconfig"

source "drivers/usb/misc/Kconfig"

source "drivers/usb/atm/Kconfig"

endif # CONFIG_USB

source "drivers/usb/phy/Kconfig"

source "drivers/usb/gadget/Kconfig"

config CONFIG_USB_LED_TRIG
	bool "USB LED Triggers"
	depends on CONFIG_LEDS_CLASS && CONFIG_LEDS_TRIGGERS
	select CONFIG_USB_COMMON
	help
	  This option adds LED triggers for CONFIG_USB host and/or gadget activity.

	  Say Y here if you are working on a system with led-class supported
	  LEDs and you want to use them as activity indicators for CONFIG_USB host or
	  gadget.

config CONFIG_USB_ULPI_BUS
	tristate "USB ULPI PHY interface support"
	select CONFIG_USB_COMMON
	help
	  UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
	  CONFIG_USB 2.0 PHY interface. The ULPI specification defines a standard set
	  of registers that can be used to detect the vendor and product which
	  allows ULPI to be handled as a bus. This module is the driver for that
	  bus.

	  The ULPI interfaces (the buses) are registered by the drivers for CONFIG_USB
	  controllers which support ULPI register access and have ULPI PHY
	  attached to them. The ULPI PHY drivers themselves are normal PHY
	  drivers.

	  ULPI PHYs provide often functions such as ADP sensing/probing (OTG
	  protocol) and CONFIG_USB charger detection.

	  To compile this driver as a module, choose CONFIG_M here: the module will
	  be called ulpi.

endif # CONFIG_USB_SUPPORT