1#
2# Physical Layer USB driver configuration
3#
4menu "USB Physical Layer drivers"
5
6config USB_PHY
7	def_bool n
8
9#
10# USB Transceiver Drivers
11#
12config AB8500_USB
13	tristate "AB8500 USB Transceiver Driver"
14	depends on AB8500_CORE
15	select USB_PHY
16	help
17	  Enable this to support the USB OTG transceiver in AB8500 chip.
18	  This transceiver supports high and full speed devices plus,
19	  in host mode, low speed.
20
21config FSL_USB2_OTG
22	bool "Freescale USB OTG Transceiver Driver"
23	depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM
24	select USB_OTG
25	select USB_PHY
26	help
27	  Enable this to support Freescale USB OTG transceiver.
28
29config ISP1301_OMAP
30	tristate "Philips ISP1301 with OMAP OTG"
31	depends on I2C && ARCH_OMAP_OTG
32	depends on USB
33	select USB_PHY
34	help
35	  If you say yes here you get support for the Philips ISP1301
36	  USB-On-The-Go transceiver working with the OMAP OTG controller.
37	  The ISP1301 is a full speed USB  transceiver which is used in
38	  products including H2, H3, and H4 development boards for Texas
39	  Instruments OMAP processors.
40
41	  This driver can also be built as a module.  If so, the module
42	  will be called phy-isp1301-omap.
43
44config KEYSTONE_USB_PHY
45	tristate "Keystone USB PHY Driver"
46	depends on ARCH_KEYSTONE || COMPILE_TEST
47	select NOP_USB_XCEIV
48	help
49	  Enable this to support Keystone USB phy. This driver provides
50	  interface to interact with USB 2.0 and USB 3.0 PHY that is part
51	  of the Keystone SOC.
52
53config NOP_USB_XCEIV
54	tristate "NOP USB Transceiver Driver"
55	select USB_PHY
56	help
57	  This driver is to be used by all the usb transceiver which are either
58	  built-in with usb ip or which are autonomous and doesn't require any
59	  phy programming such as ISP1x04 etc.
60
61config AM335X_CONTROL_USB
62	tristate
63
64config AM335X_PHY_USB
65	tristate "AM335x USB PHY Driver"
66	depends on ARM || COMPILE_TEST
67	select USB_PHY
68	select AM335X_CONTROL_USB
69	select NOP_USB_XCEIV
70	help
71	  This driver provides PHY support for that phy which part for the
72	  AM335x SoC.
73
74config SAMSUNG_USBPHY
75	tristate
76	help
77	  Enable this to support Samsung USB phy helper driver for Samsung SoCs.
78	  This driver provides common interface to interact, for Samsung USB 2.0 PHY
79	  driver and later for Samsung USB 3.0 PHY driver.
80
81config TWL6030_USB
82	tristate "TWL6030 USB Transceiver Driver"
83	depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
84	help
85	  Enable this to support the USB OTG transceiver on TWL6030
86	  family chips. This TWL6030 transceiver has the VBUS and ID GND
87	  and OTG SRP events capabilities. For all other transceiver functionality
88	  UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
89	  are hooked to this driver through platform_data structure.
90	  The definition of internal PHY APIs are in the mach-omap2 layer.
91
92config USB_GPIO_VBUS
93	tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
94	depends on GPIOLIB
95	select USB_PHY
96	help
97	  Provides simple GPIO VBUS sensing for controllers with an
98	  internal transceiver via the usb_phy interface, and
99	  optionally control of a D+ pullup GPIO as well as a VBUS
100	  current limit regulator.
101
102config OMAP_OTG
103	tristate "OMAP USB OTG controller driver"
104	depends on ARCH_OMAP_OTG && EXTCON
105	help
106	  Enable this to support some transceivers on OMAP1 platforms. OTG
107	  controller is needed to switch between host and peripheral modes.
108
109	  This driver can also be built as a module. If so, the module
110	  will be called phy-omap-otg.
111
112config TAHVO_USB
113	tristate "Tahvo USB transceiver driver"
114	depends on MFD_RETU && EXTCON
115	select USB_PHY
116	help
117	  Enable this to support USB transceiver on Tahvo. This is used
118	  at least on Nokia 770.
119
120config TAHVO_USB_HOST_BY_DEFAULT
121	depends on TAHVO_USB
122	bool "Device in USB host mode by default"
123	help
124	  Say Y here, if you want the device to enter USB host mode
125	  by default on bootup.
126
127config USB_ISP1301
128	tristate "NXP ISP1301 USB transceiver support"
129	depends on USB || USB_GADGET
130	depends on I2C
131	select USB_PHY
132	help
133	  Say Y here to add support for the NXP ISP1301 USB transceiver driver.
134	  This chip is typically used as USB transceiver for USB host, gadget
135	  and OTG drivers (to be selected separately).
136
137	  To compile this driver as a module, choose M here: the
138	  module will be called phy-isp1301.
139
140config USB_MSM_OTG
141	tristate "Qualcomm on-chip USB OTG controller support"
142	depends on (USB || USB_GADGET) && (ARCH_QCOM || COMPILE_TEST)
143	depends on RESET_CONTROLLER
144	select USB_PHY
145	help
146	  Enable this to support the USB OTG transceiver on Qualcomm chips. It
147	  handles PHY initialization, clock management, and workarounds
148	  required after resetting the hardware and power management.
149	  This driver is required even for peripheral only or host only
150	  mode configurations.
151	  This driver is not supported on boards like trout which
152	  has an external PHY.
153
154config USB_MV_OTG
155	tristate "Marvell USB OTG support"
156	depends on USB_EHCI_MV && USB_MV_UDC && PM
157	select USB_OTG
158	select USB_PHY
159	help
160	  Say Y here if you want to build Marvell USB OTG transciever
161	  driver in kernel (including PXA and MMP series). This driver
162	  implements role switch between EHCI host driver and gadget driver.
163
164	  To compile this driver as a module, choose M here.
165
166config USB_MXS_PHY
167	tristate "Freescale MXS USB PHY support"
168	depends on ARCH_MXC || ARCH_MXS
169	select STMP_DEVICE
170	select USB_PHY
171	help
172	  Enable this to support the Freescale MXS USB PHY.
173
174	  MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
175
176config USB_RCAR_PHY
177	tristate "Renesas R-Car USB PHY support"
178	depends on USB || USB_GADGET
179	depends on ARCH_R8A7778 || ARCH_R8A7779 || COMPILE_TEST
180	select USB_PHY
181	help
182	  Say Y here to add support for the Renesas R-Car USB common PHY driver.
183	  This chip is typically used as USB PHY for USB host, gadget.
184	  This driver supports R8A7778 and R8A7779.
185
186	  To compile this driver as a module, choose M here: the
187	  module will be called phy-rcar-usb.
188
189config USB_RCAR_GEN2_PHY
190	tristate "Renesas R-Car Gen2 USB PHY support"
191	depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
192	select USB_PHY
193	help
194	  Say Y here to add support for the Renesas R-Car Gen2 USB PHY driver.
195	  It is typically used to control internal USB PHY for USBHS,
196	  and to configure shared USB channels 0 and 2.
197	  This driver supports R8A7790 and R8A7791.
198
199	  To compile this driver as a module, choose M here: the
200	  module will be called phy-rcar-gen2-usb.
201
202config USB_ULPI
203	bool "Generic ULPI Transceiver Driver"
204	depends on ARM || ARM64
205	select USB_ULPI_VIEWPORT
206	help
207	  Enable this to support ULPI connected USB OTG transceivers which
208	  are likely found on embedded boards.
209
210config USB_ULPI_VIEWPORT
211	bool
212	help
213	  Provides read/write operations to the ULPI phy register set for
214	  controllers with a viewport register (e.g. Chipidea/ARC controllers).
215
216endmenu
217