Kconfig 7.55 KB
Newer Older
1 2 3
#
# Physical Layer USB driver configuration
#
4
menuconfig USB_PHY
5
	bool "USB Physical Layer drivers"
6
	help
7 8 9 10
	  Most USB controllers have the physical layer signalling part
	  (commonly called a PHY) built in.  However, dual-role devices
	  (a.k.a. USB on-the-go) which support being USB master or slave
	  with the same connector often use an external PHY.
11

12 13 14 15 16 17
	  The drivers in this submenu add support for such PHY devices.
	  They are not needed for standard master-only (or the vast
	  majority of slave-only) USB interfaces.

	  If you're not sure if this applies to you, it probably doesn't;
	  say N here.
18

Mauro Ribeiro's avatar
Mauro Ribeiro committed
19 20 21 22 23 24 25 26
config USB_OTG_WAKELOCK
	bool "Hold a wakelock when USB connected"
	depends on WAKELOCK
	select USB_OTG_UTILS
	help
	  Select this to automatically hold a wakelock when USB is
	  connected, preventing suspend.

27
if USB_PHY
28

29 30 31 32 33 34 35 36 37 38 39 40 41
#
# USB Transceiver Drivers
#
config AB8500_USB
	tristate "AB8500 USB Transceiver Driver"
	depends on AB8500_CORE
	help
	  Enable this to support the USB OTG transceiver in AB8500 chip.
	  This transceiver supports high and full speed devices plus,
	  in host mode, low speed.

config FSL_USB2_OTG
	bool "Freescale USB OTG Transceiver Driver"
42
	depends on USB_EHCI_FSL && USB_FSL_USB2 && PM_RUNTIME
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
	select USB_OTG
	help
	  Enable this to support Freescale USB OTG transceiver.

config ISP1301_OMAP
	tristate "Philips ISP1301 with OMAP OTG"
	depends on I2C && ARCH_OMAP_OTG
	help
	  If you say yes here you get support for the Philips ISP1301
	  USB-On-The-Go transceiver working with the OMAP OTG controller.
	  The ISP1301 is a full speed 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 isp1301_omap.

config MV_U3D_PHY
	bool "Marvell USB 3.0 PHY controller Driver"
62
	depends on CPU_MMP3
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
	help
	  Enable this to support Marvell USB 3.0 phy controller for Marvell
	  SoC.

config NOP_USB_XCEIV
	tristate "NOP USB Transceiver Driver"
	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 OMAP_CONTROL_USB
	tristate "OMAP CONTROL USB Driver"
	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.
82

83 84
config OMAP_USB2
	tristate "OMAP USB2 PHY Driver"
85
	depends on ARCH_OMAP2PLUS
86
	select OMAP_CONTROL_USB
87 88 89 90 91 92
	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.

93 94 95 96 97 98 99 100 101
config OMAP_USB3
	tristate "OMAP USB3 PHY Driver"
	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.

102
config SAMSUNG_USBPHY
103
	tristate "Samsung USB PHY Driver"
104
	help
105 106 107 108 109 110 111 112 113 114
	  Enable this to support Samsung USB phy helper driver for Samsung SoCs.
	  This driver provides common interface to interact, for Samsung USB 2.0 PHY
	  driver and later for Samsung USB 3.0 PHY driver.

config SAMSUNG_USB2PHY
	tristate "Samsung USB 2.0 PHY controller Driver"
	select SAMSUNG_USBPHY
	help
	  Enable this to support Samsung USB 2.0 (High Speed) PHY controller
	  driver for Samsung SoCs.
115

Mauro Ribeiro's avatar
Mauro Ribeiro committed
116 117 118 119 120 121 122 123
config SAMSUNG_USB2PHY_DUMMY
	tristate "Samsung USB 2.0 PHY controller dummy Driver"
	select SAMSUNG_USBPHY
	help
	  Enable this not to use controller driver of USB 2.0 (High Speed) PHY
	  connected to USB 3.0 DRD for Samsung SoCs. It is used for the USB DRD 3.0
	  is only connected to USB 3.0 PHY, not USB 2.0 PHY.

124 125 126 127 128 129 130
config SAMSUNG_USB3PHY
	tristate "Samsung USB 3.0 PHY controller Driver"
	select SAMSUNG_USBPHY
	help
	  Enable this to support Samsung USB 3.0 (Super Speed) phy controller
	  for samsung SoCs.

131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
config TWL4030_USB
	tristate "TWL4030 USB Transceiver Driver"
	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
	help
	  Enable this to support the USB OTG transceiver on TWL4030
	  family chips (including the TWL5030 and TPS659x0 devices).
	  This transceiver supports high and full speed devices plus,
	  in host mode, low speed.

config TWL6030_USB
	tristate "TWL6030 USB Transceiver Driver"
	depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
	help
	  Enable this to support the 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 USB_GPIO_VBUS
	tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
153
	depends on GPIOLIB
154 155 156 157 158
	help
	  Provides simple GPIO VBUS sensing for controllers with an
	  internal transceiver via the usb_phy interface, and
	  optionally control of a D+ pullup GPIO as well as a VBUS
	  current limit regulator.
159

160 161
config USB_ISP1301
	tristate "NXP ISP1301 USB transceiver support"
162
	depends on USB || USB_GADGET
163 164 165 166 167 168 169 170
	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.
171

172 173 174
config USB_MSM_OTG
	tristate "OTG support for Qualcomm on-chip USB controller"
	depends on (USB || USB_GADGET) && ARCH_MSM
175
	help
176 177 178 179 180 181 182 183 184 185
	  Enable this to support the USB OTG transceiver on MSM 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 USB_MV_OTG
	tristate "Marvell USB OTG support"
186
	depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
	select USB_OTG
	help
	  Say Y here if you want to build Marvell 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 M here.

config USB_MXS_PHY
	tristate "Freescale MXS USB PHY support"
	depends on ARCH_MXC || ARCH_MXS
	select STMP_DEVICE
	help
	  Enable this to support the Freescale MXS USB PHY.

	  MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
203 204 205 206 207 208 209 210 211 212 213

config USB_RCAR_PHY
	tristate "Renesas R-Car USB phy support"
	depends on USB || USB_GADGET
	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.
214

215 216 217
config USB_ULPI
	bool "Generic ULPI Transceiver Driver"
	depends on ARM
218
	help
219 220 221 222 223 224
	  Enable this to support ULPI connected USB OTG transceivers which
	  are likely found on embedded boards.

config USB_ULPI_VIEWPORT
	bool
	depends on USB_ULPI
225
	help
226 227 228
	  Provides read/write operations to the ULPI phy register set for
	  controllers with a viewport register (e.g. Chipidea/ARC controllers).

229
endif # USB_PHY