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

#
# Physical Layer CONFIG_USB driver configuration
#
menu "USB Physical Layer drivers"

config CONFIG_USB_PHY
	def_bool n

#
# CONFIG_USB Transceiver Drivers
#
config CONFIG_AB8500_USB
	tristate "AB8500 USB Transceiver Driver"
	depends on CONFIG_AB8500_CORE
	select CONFIG_USB_PHY
	help
	  Enable this to support the CONFIG_USB OTG transceiver in AB8500 chip.
	  This transceiver supports high and full speed devices plus,
	  in host mode, low speed.

config CONFIG_FSL_USB2_OTG
	bool "Freescale USB OTG Transceiver Driver"
	depends on CONFIG_USB_EHCI_FSL && CONFIG_USB_FSL_USB2 && CONFIG_USB_OTG_FSM && CONFIG_PM
	depends on CONFIG_USB_GADGET || !CONFIG_USB_GADGET # if CONFIG_USB_GADGET=m, this can't be 'y'
	select CONFIG_USB_PHY
	help
	  Enable this to support Freescale CONFIG_USB OTG transceiver.

config CONFIG_ISP1301_OMAP
	tristate "Philips ISP1301 with OMAP OTG"
	depends on CONFIG_I2C && CONFIG_ARCH_OMAP_OTG
	depends on CONFIG_USB
	depends on CONFIG_USB_GADGET || !CONFIG_USB_GADGET # if CONFIG_USB_GADGET=m, this can't be 'y'
	select CONFIG_USB_PHY
	help
	  If you say yes here you get support for the Philips ISP1301
	  CONFIG_USB-On-The-Go transceiver working with the OMAP OTG controller.
	  The ISP1301 is a full speed CONFIG_USB  transceiver which is used in
	  products including H2, H3, and H4 development boards for Texas
	  Instruments OMAP processors.

	  This driver can also be built as a module.  If so, the module
	  will be called phy-isp1301-omap.

config CONFIG_KEYSTONE_USB_PHY
	tristate "Keystone USB PHY Driver"
	depends on CONFIG_ARCH_KEYSTONE || CONFIG_COMPILE_TEST
	depends on CONFIG_NOP_USB_XCEIV
	help
	  Enable this to support Keystone CONFIG_USB phy. This driver provides
	  interface to interact with CONFIG_USB 2.0 and CONFIG_USB 3.0 PHY that is part
	  of the Keystone SOC.

config CONFIG_NOP_USB_XCEIV
	tristate "NOP USB Transceiver Driver"
	depends on CONFIG_USB_GADGET || !CONFIG_USB_GADGET # if CONFIG_USB_GADGET=m, NOP can't be built-in
	select CONFIG_USB_PHY
	help
	  This driver is to be used by all the usb transceiver which are either
	  built-in with usb ip or which are autonomous and doesn't require any
	  phy programming such as ISP1x04 etc.

config CONFIG_AM335X_CONTROL_USB
	tristate

config CONFIG_AM335X_PHY_USB
	tristate "AM335x USB PHY Driver"
	depends on CONFIG_ARM || CONFIG_COMPILE_TEST
	depends on CONFIG_NOP_USB_XCEIV
	select CONFIG_USB_PHY
	select CONFIG_AM335X_CONTROL_USB
	select CONFIG_USB_COMMON
	help
	  This driver provides PHY support for that phy which part for the
	  AM335x SoC.

config CONFIG_SAMSUNG_USBPHY
	tristate
	help
	  Enable this to support Samsung CONFIG_USB phy helper driver for Samsung SoCs.
	  This driver provides common interface to interact, for Samsung CONFIG_USB 2.0 PHY
	  driver and later for Samsung CONFIG_USB 3.0 PHY driver.

config CONFIG_TWL6030_USB
	tristate "TWL6030 USB Transceiver Driver"
	depends on CONFIG_TWL4030_CORE && CONFIG_OMAP_USB2 && CONFIG_USB_MUSB_OMAP2PLUS
	depends on CONFIG_OF
	help
	  Enable this to support the CONFIG_USB OTG transceiver on TWL6030
	  family chips. This TWL6030 transceiver has the VBUS and ID GND
	  and OTG SRP events capabilities. For all other transceiver functionality
	  UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
	  are hooked to this driver through platform_data structure.
	  The definition of internal PHY APIs are in the mach-omap2 layer.

config CONFIG_USB_GPIO_VBUS
	tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
	depends on CONFIG_GPIOLIB || CONFIG_COMPILE_TEST
	depends on CONFIG_USB_GADGET || !CONFIG_USB_GADGET # if CONFIG_USB_GADGET=m, this can't be 'y'
	select CONFIG_USB_PHY
	help
	  Provides simple GPIO VBUS sensing for controllers with an
	  internal transceiver via the usb_phy interface, and
	  optionally control of a CONFIG_D+ pullup GPIO as well as a VBUS
	  current limit regulator.

config CONFIG_OMAP_OTG
	tristate "OMAP USB OTG controller driver"
	depends on CONFIG_ARCH_OMAP_OTG && CONFIG_EXTCON
	help
	  Enable this to support some transceivers on OMAP1 platforms. OTG
	  controller is needed to switch between host and peripheral modes.

	  This driver can also be built as a module. If so, the module
	  will be called phy-omap-otg.

config CONFIG_TAHVO_USB
	tristate "Tahvo USB transceiver driver"
	depends on CONFIG_MFD_RETU && CONFIG_EXTCON
	depends on CONFIG_USB_GADGET || !CONFIG_USB_GADGET # if CONFIG_USB_GADGET=m, this can't be 'y'
	select CONFIG_USB_PHY
	help
	  Enable this to support CONFIG_USB transceiver on Tahvo. This is used
	  at least on Nokia 770.

config CONFIG_TAHVO_USB_HOST_BY_DEFAULT
	depends on CONFIG_TAHVO_USB
	bool "Device in USB host mode by default"
	help
	  Say Y here, if you want the device to enter CONFIG_USB host mode
	  by default on bootup.

config CONFIG_USB_ISP1301
	tristate "NXP ISP1301 USB transceiver support"
	depends on CONFIG_USB || CONFIG_USB_GADGET
	depends on CONFIG_I2C
	select CONFIG_USB_PHY
	help
	  Say Y here to add support for the NXP ISP1301 CONFIG_USB transceiver driver.
	  This chip is typically used as CONFIG_USB transceiver for CONFIG_USB host, gadget
	  and OTG drivers (to be selected separately).

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

config CONFIG_USB_MSM_OTG
	tristate "Qualcomm on-chip USB OTG controller support"
	depends on (CONFIG_USB || CONFIG_USB_GADGET) && (CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST)
	depends on CONFIG_USB_GADGET || !CONFIG_USB_GADGET # if CONFIG_USB_GADGET=m, this can't be 'y'
	depends on CONFIG_RESET_CONTROLLER
	depends on CONFIG_EXTCON
	select CONFIG_USB_PHY
	help
	  Enable this to support the CONFIG_USB OTG transceiver on Qualcomm chips. It
	  handles PHY initialization, clock management, and workarounds
	  required after resetting the hardware and power management.
	  This driver is required even for peripheral only or host only
	  mode configurations.
	  This driver is not supported on boards like trout which
	  has an external PHY.

config CONFIG_USB_QCOM_8X16_PHY
	tristate "Qualcomm APQ8016/MSM8916 on-chip USB PHY controller support"
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	depends on CONFIG_RESET_CONTROLLER && CONFIG_EXTCON
	select CONFIG_USB_PHY
	select CONFIG_USB_ULPI_VIEWPORT
	help
	  Enable this to support the CONFIG_USB transceiver on Qualcomm 8x16 chipsets.
	  It handles PHY initialization, clock management, power management,
	  and workarounds required after resetting the hardware.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called phy-qcom-8x16-usb.

config CONFIG_USB_MV_OTG
	tristate "Marvell USB OTG support"
	depends on CONFIG_USB_EHCI_MV && CONFIG_USB_MV_UDC && CONFIG_PM && CONFIG_USB_OTG
	depends on CONFIG_USB_GADGET || !CONFIG_USB_GADGET # if CONFIG_USB_GADGET=m, this can't be 'y'
	select CONFIG_USB_PHY
	help
	  Say Y here if you want to build Marvell CONFIG_USB OTG transciever
	  driver in kernel (including PXA and MMP series). This driver
	  implements role switch between EHCI host driver and gadget driver.

	  To compile this driver as a module, choose CONFIG_M here.

config CONFIG_USB_MXS_PHY
	tristate "Freescale MXS USB PHY support"
	depends on CONFIG_ARCH_MXC || CONFIG_ARCH_MXS
	select CONFIG_STMP_DEVICE
	select CONFIG_USB_PHY
	help
	  Enable this to support the Freescale MXS CONFIG_USB PHY.

	  MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.

config CONFIG_USB_ULPI
	bool "Generic ULPI Transceiver Driver"
	depends on CONFIG_ARM || CONFIG_ARM64
	select CONFIG_USB_ULPI_VIEWPORT
	help
	  Enable this to support ULPI connected CONFIG_USB OTG transceivers which
	  are likely found on embedded boards.

config CONFIG_USB_ULPI_VIEWPORT
	bool
	help
	  Provides read/write operations to the ULPI phy register set for
	  controllers with a viewport register (e.g. Chipidea/CONFIG_ARC controllers).

endmenu