Kconfig 8.1 KB
Newer Older
1 2 3
#
# Physical Layer USB driver configuration
#
4
menu "USB Physical Layer drivers"
5

6 7
config USB_PHY
	def_bool n
8

9 10 11 12 13 14 15 16
config USB_OTG_FSM
	bool "USB 2.0 OTG FSM implementation"
	select USB_OTG
	select USB_PHY
	help
	  Implements OTG Final State Machine as specified in On-The-Go
	  and Embedded Host Supplement to the USB Revision 2.0 Specification.

17 18 19 20 21 22
#
# USB Transceiver Drivers
#
config AB8500_USB
	tristate "AB8500 USB Transceiver Driver"
	depends on AB8500_CORE
23
	select USB_PHY
24 25 26 27 28 29 30
	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"
31
	depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME
32
	select USB_OTG
33
	select USB_PHY
34 35 36 37 38 39
	help
	  Enable this to support Freescale USB OTG transceiver.

config ISP1301_OMAP
	tristate "Philips ISP1301 with OMAP OTG"
	depends on I2C && ARCH_OMAP_OTG
40
	select USB_PHY
41 42 43 44 45 46 47 48 49 50
	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.

51 52 53 54 55 56 57 58 59
config KEYSTONE_USB_PHY
	tristate "Keystone USB PHY Driver"
	depends on ARCH_KEYSTONE || COMPILE_TEST
	select NOP_USB_XCEIV
	help
	  Enable this to support Keystone USB phy. This driver provides
	  interface to interact with USB 2.0 and USB 3.0 PHY that is part
	  of the Keystone SOC.

60 61
config MV_U3D_PHY
	bool "Marvell USB 3.0 PHY controller Driver"
62
	depends on CPU_MMP3
63
	select USB_PHY
64 65 66 67 68 69
	help
	  Enable this to support Marvell USB 3.0 phy controller for Marvell
	  SoC.

config NOP_USB_XCEIV
	tristate "NOP USB Transceiver Driver"
70
	select USB_PHY
71 72 73 74 75 76 77
	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"
78
	depends on ARCH_OMAP2PLUS || COMPILE_TEST
79 80 81 82 83 84
	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.
85

86 87
config OMAP_USB3
	tristate "OMAP USB3 PHY Driver"
88
	depends on ARCH_OMAP2PLUS || COMPILE_TEST
89
	select OMAP_CONTROL_USB
90
	select USB_PHY
91 92 93 94 95 96
	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.

97 98 99 100 101
config AM335X_CONTROL_USB
	tristate

config AM335X_PHY_USB
	tristate "AM335x USB PHY Driver"
102
	depends on ARM || COMPILE_TEST
103 104 105 106 107 108 109
	select USB_PHY
	select AM335X_CONTROL_USB
	select NOP_USB_XCEIV
	help
	  This driver provides PHY support for that phy which part for the
	  AM335x SoC.

110
config SAMSUNG_USBPHY
111
	tristate
112
	help
113 114 115 116 117 118 119
	  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
120
	select USB_PHY
121 122 123
	help
	  Enable this to support Samsung USB 2.0 (High Speed) PHY controller
	  driver for Samsung SoCs.
124

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

133 134 135 136 137 138 139 140 141 142 143 144 145
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'"
146
	depends on GPIOLIB
147
	select USB_PHY
148 149 150 151 152
	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.
153

A
Aaro Koskinen 已提交
154 155 156 157 158 159 160 161 162 163
config OMAP_OTG
	tristate "OMAP USB OTG controller driver"
	depends on ARCH_OMAP_OTG && 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 omap-otg.

164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
config TAHVO_USB
	tristate "Tahvo USB transceiver driver"
	depends on MFD_RETU && EXTCON
	select USB_PHY
	help
	  Enable this to support USB transceiver on Tahvo. This is used
	  at least on Nokia 770.

config TAHVO_USB_HOST_BY_DEFAULT
	depends on TAHVO_USB
	boolean "Device in USB host mode by default"
	help
	  Say Y here, if you want the device to enter USB host mode
	  by default on bootup.

179 180
config USB_ISP1301
	tristate "NXP ISP1301 USB transceiver support"
181
	depends on USB || USB_GADGET
182
	depends on I2C
183
	select USB_PHY
184 185 186 187 188 189 190
	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.
191

192 193 194
config USB_MSM_OTG
	tristate "OTG support for Qualcomm on-chip USB controller"
	depends on (USB || USB_GADGET) && ARCH_MSM
195
	select USB_PHY
196
	help
197 198 199 200 201 202 203 204 205 206
	  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"
207
	depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
208
	select USB_OTG
209
	select USB_PHY
210 211 212 213 214 215 216 217 218 219 220
	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
221
	select USB_PHY
222 223 224 225
	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.
226 227

config USB_RCAR_PHY
228
	tristate "Renesas R-Car USB PHY support"
229
	depends on USB || USB_GADGET
230
	select USB_PHY
231
	help
232 233 234
	  Say Y here to add support for the Renesas R-Car USB common PHY driver.
	  This chip is typically used as USB PHY for USB host, gadget.
	  This driver supports R8A7778 and R8A7779.
235 236

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

239 240 241 242 243 244 245 246 247 248 249 250 251
config USB_RCAR_GEN2_PHY
	tristate "Renesas R-Car Gen2 USB PHY support"
	depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
	select USB_PHY
	help
	  Say Y here to add support for the Renesas R-Car Gen2 USB PHY driver.
	  It is typically used to control internal USB PHY for USBHS,
	  and to configure shared USB channels 0 and 2.
	  This driver supports R8A7790 and R8A7791.

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

252 253 254
config USB_ULPI
	bool "Generic ULPI Transceiver Driver"
	depends on ARM
255
	help
256 257 258 259 260 261
	  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
262
	help
263 264 265
	  Provides read/write operations to the ULPI phy register set for
	  controllers with a viewport register (e.g. Chipidea/ARC controllers).

266
endmenu