#
# Physical Layer USB driver configuration
#
comment "USB Physical Layer drivers"
	depends on USB || USB_GADGET

config OMAP_USB2
	tristate "OMAP USB2 PHY Driver"
	depends on ARCH_OMAP2PLUS
	select USB_OTG_UTILS
	select OMAP_CONTROL_USB
	help
	  Enable this to support the transceiver that is part of SOC. This
	  driver takes care of all the PHY functionality apart from comparator.
	  The USB OTG controller communicates with the comparator using this
	  driver.

config OMAP_USB3
	tristate "OMAP USB3 PHY Driver"
	select USB_OTG_UTILS
	select OMAP_CONTROL_USB
	help
	  Enable this to support the USB3 PHY that is part of SOC. This
	  driver takes care of all the PHY functionality apart from comparator.
	  This driver interacts with the "OMAP Control USB Driver" to power
	  on/off the PHY.

config OMAP_CONTROL_USB
	tristate "OMAP CONTROL USB Driver"
	depends on ARCH_OMAP2PLUS
	help
	  Enable this to add support for the USB part present in the control
	  module. This driver has API to power on the USB2 PHY and to write to
	  the mailbox. The mailbox is present only in omap4 and the register to
	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
	  additional register to power on USB3 PHY.

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

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

config MV_U3D_PHY
	bool "Marvell USB 3.0 PHY controller Driver"
	depends on USB_MV_U3D
	select USB_OTG_UTILS
	help
	  Enable this to support Marvell USB 3.0 phy controller for Marvell
	  SoC.

config USB_RCAR_PHY
	tristate "Renesas R-Car USB phy support"
	depends on USB || USB_GADGET
	select USB_OTG_UTILS
	help
	  Say Y here to add support for the Renesas R-Car USB phy driver.
	  This chip is typically used as USB phy for USB host, gadget.
	  This driver supports: R8A7779

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

config SAMSUNG_USBPHY
	bool "Samsung USB PHY controller Driver"
	depends on USB_S3C_HSOTG || USB_EHCI_S5P || USB_OHCI_EXYNOS
	select USB_OTG_UTILS
	help
	  Enable this to support Samsung USB phy controller for samsung
	  SoCs.
