Kconfig 6 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2 3 4
#
# Physical Layer USB driver configuration
#
5
menu "USB Physical Layer drivers"
6

7
config USB_PHY
8
	select EXTCON
9
	def_bool n
10

11 12 13 14 15 16
#
# USB Transceiver Drivers
#
config AB8500_USB
	tristate "AB8500 USB Transceiver Driver"
	depends on AB8500_CORE
17
	select USB_PHY
18 19 20 21 22 23
	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
24
	tristate "Freescale USB OTG Transceiver Driver"
Anders Roxell's avatar
Anders Roxell committed
25
	depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM=y && PM
26
	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
27
	select USB_PHY
28 29 30 31 32
	help
	  Enable this to support Freescale USB OTG transceiver.

config ISP1301_OMAP
	tristate "Philips ISP1301 with OMAP OTG"
33 34
	depends on I2C
	depends on ARCH_OMAP_OTG || (ARM && COMPILE_TEST)
35
	depends on USB
36
	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
37
	select USB_PHY
38 39 40 41 42 43 44 45
	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
46
	  will be called phy-isp1301-omap.
47

48 49 50
config KEYSTONE_USB_PHY
	tristate "Keystone USB PHY Driver"
	depends on ARCH_KEYSTONE || COMPILE_TEST
51
	depends on NOP_USB_XCEIV
52 53 54 55 56
	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.

57 58
config NOP_USB_XCEIV
	tristate "NOP USB Transceiver Driver"
59
	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, NOP can't be built-in
60
	select USB_PHY
61 62 63 64 65
	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.

66 67 68 69 70
config AM335X_CONTROL_USB
	tristate

config AM335X_PHY_USB
	tristate "AM335x USB PHY Driver"
71
	depends on ARM || COMPILE_TEST
72
	depends on NOP_USB_XCEIV
73 74
	select USB_PHY
	select AM335X_CONTROL_USB
75
	select USB_COMMON
76 77 78 79
	help
	  This driver provides PHY support for that phy which part for the
	  AM335x SoC.

80 81 82
config TWL6030_USB
	tristate "TWL6030 USB Transceiver Driver"
	depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
83
	depends on OF
84 85 86 87 88 89 90 91 92 93
	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'"
94
	depends on GPIOLIB || COMPILE_TEST
95
	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
96
	select USB_PHY
97 98 99 100 101
	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.
102

103 104 105 106 107 108 109 110
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
111
	  will be called phy-omap-otg.
112

113 114
config TAHVO_USB
	tristate "Tahvo USB transceiver driver"
115
	depends on MFD_RETU
116
	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
117 118 119 120 121 122 123
	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
124
	bool "Device in USB host mode by default"
125 126 127 128
	help
	  Say Y here, if you want the device to enter USB host mode
	  by default on bootup.

129 130
config USB_ISP1301
	tristate "NXP ISP1301 USB transceiver support"
131
	depends on USB || USB_GADGET
132
	depends on I2C
133
	select USB_PHY
134 135 136 137 138 139
	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
140
	  module will be called phy-isp1301.
141

142 143
config USB_MV_OTG
	tristate "Marvell USB OTG support"
144
	depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG
145
	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
146
	select USB_PHY
147
	help
148
	  Say Y here if you want to build Marvell USB OTG transceiver
149 150 151 152 153 154 155 156 157
	  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
158
	select USB_PHY
159 160 161 162
	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.
163

164 165
config USB_TEGRA_PHY
	tristate "NVIDIA Tegra USB PHY Driver"
166
	depends on ARCH_TEGRA || COMPILE_TEST
167
	select USB_COMMON
168 169 170 171 172 173
	select USB_PHY
	select USB_ULPI
	help
	  This driver provides PHY support for the USB controllers found
	  on NVIDIA Tegra SoC's.

174 175
config USB_ULPI
	bool "Generic ULPI Transceiver Driver"
176
	depends on ARM || ARM64 || COMPILE_TEST
177
	select USB_ULPI_VIEWPORT
178
	help
179 180 181 182 183
	  Enable this to support ULPI connected USB OTG transceivers which
	  are likely found on embedded boards.

config USB_ULPI_VIEWPORT
	bool
184
	help
185 186 187
	  Provides read/write operations to the ULPI phy register set for
	  controllers with a viewport register (e.g. Chipidea/ARC controllers).

188
config JZ4770_PHY
189
	tristate "Ingenic SoCs Transceiver Driver"
190 191 192 193
	depends on MIPS || COMPILE_TEST
	select USB_PHY
	help
	  This driver provides PHY support for the USB controller found
194
	  on the JZ-series and X-series SoCs from Ingenic.
195

196
endmenu