xref: /openbmc/linux/drivers/usb/phy/Kconfig (revision b34081f1)
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 && PM_RUNTIME
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	select USB_PHY
33	help
34	  If you say yes here you get support for the Philips ISP1301
35	  USB-On-The-Go transceiver working with the OMAP OTG controller.
36	  The ISP1301 is a full speed USB  transceiver which is used in
37	  products including H2, H3, and H4 development boards for Texas
38	  Instruments OMAP processors.
39
40	  This driver can also be built as a module.  If so, the module
41	  will be called isp1301_omap.
42
43config MV_U3D_PHY
44	bool "Marvell USB 3.0 PHY controller Driver"
45	depends on CPU_MMP3
46	select USB_PHY
47	help
48	  Enable this to support Marvell USB 3.0 phy controller for Marvell
49	  SoC.
50
51config NOP_USB_XCEIV
52	tristate "NOP USB Transceiver Driver"
53	select USB_PHY
54	help
55	  This driver is to be used by all the usb transceiver which are either
56	  built-in with usb ip or which are autonomous and doesn't require any
57	  phy programming such as ISP1x04 etc.
58
59config OMAP_CONTROL_USB
60	tristate "OMAP CONTROL USB Driver"
61	depends on ARCH_OMAP2PLUS || COMPILE_TEST
62	help
63	  Enable this to add support for the USB part present in the control
64	  module. This driver has API to power on the USB2 PHY and to write to
65	  the mailbox. The mailbox is present only in omap4 and the register to
66	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
67	  additional register to power on USB3 PHY.
68
69config OMAP_USB2
70	tristate "OMAP USB2 PHY Driver"
71	depends on ARCH_OMAP2PLUS
72	select OMAP_CONTROL_USB
73	select USB_PHY
74	help
75	  Enable this to support the transceiver that is part of SOC. This
76	  driver takes care of all the PHY functionality apart from comparator.
77	  The USB OTG controller communicates with the comparator using this
78	  driver.
79
80config OMAP_USB3
81	tristate "OMAP USB3 PHY Driver"
82	depends on ARCH_OMAP2PLUS || COMPILE_TEST
83	select OMAP_CONTROL_USB
84	select USB_PHY
85	help
86	  Enable this to support the USB3 PHY that is part of SOC. This
87	  driver takes care of all the PHY functionality apart from comparator.
88	  This driver interacts with the "OMAP Control USB Driver" to power
89	  on/off the PHY.
90
91config AM335X_CONTROL_USB
92	tristate
93
94config AM335X_PHY_USB
95	tristate "AM335x USB PHY Driver"
96	select USB_PHY
97	select AM335X_CONTROL_USB
98	select NOP_USB_XCEIV
99	help
100	  This driver provides PHY support for that phy which part for the
101	  AM335x SoC.
102
103config SAMSUNG_USBPHY
104	tristate
105	help
106	  Enable this to support Samsung USB phy helper driver for Samsung SoCs.
107	  This driver provides common interface to interact, for Samsung USB 2.0 PHY
108	  driver and later for Samsung USB 3.0 PHY driver.
109
110config SAMSUNG_USB2PHY
111	tristate "Samsung USB 2.0 PHY controller Driver"
112	select SAMSUNG_USBPHY
113	select USB_PHY
114	help
115	  Enable this to support Samsung USB 2.0 (High Speed) PHY controller
116	  driver for Samsung SoCs.
117
118config SAMSUNG_USB3PHY
119	tristate "Samsung USB 3.0 PHY controller Driver"
120	select SAMSUNG_USBPHY
121	select USB_PHY
122	help
123	  Enable this to support Samsung USB 3.0 (Super Speed) phy controller
124	  for samsung SoCs.
125
126config TWL4030_USB
127	tristate "TWL4030 USB Transceiver Driver"
128	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
129	select USB_PHY
130	help
131	  Enable this to support the USB OTG transceiver on TWL4030
132	  family chips (including the TWL5030 and TPS659x0 devices).
133	  This transceiver supports high and full speed devices plus,
134	  in host mode, low speed.
135
136config TWL6030_USB
137	tristate "TWL6030 USB Transceiver Driver"
138	depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
139	help
140	  Enable this to support the USB OTG transceiver on TWL6030
141	  family chips. This TWL6030 transceiver has the VBUS and ID GND
142	  and OTG SRP events capabilities. For all other transceiver functionality
143	  UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
144	  are hooked to this driver through platform_data structure.
145	  The definition of internal PHY APIs are in the mach-omap2 layer.
146
147config USB_GPIO_VBUS
148	tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
149	depends on GPIOLIB
150	select USB_PHY
151	help
152	  Provides simple GPIO VBUS sensing for controllers with an
153	  internal transceiver via the usb_phy interface, and
154	  optionally control of a D+ pullup GPIO as well as a VBUS
155	  current limit regulator.
156
157config USB_ISP1301
158	tristate "NXP ISP1301 USB transceiver support"
159	depends on USB || USB_GADGET
160	depends on I2C
161	select USB_PHY
162	help
163	  Say Y here to add support for the NXP ISP1301 USB transceiver driver.
164	  This chip is typically used as USB transceiver for USB host, gadget
165	  and OTG drivers (to be selected separately).
166
167	  To compile this driver as a module, choose M here: the
168	  module will be called isp1301.
169
170config USB_MSM_OTG
171	tristate "OTG support for Qualcomm on-chip USB controller"
172	depends on (USB || USB_GADGET) && ARCH_MSM
173	select USB_PHY
174	help
175	  Enable this to support the USB OTG transceiver on MSM chips. It
176	  handles PHY initialization, clock management, and workarounds
177	  required after resetting the hardware and power management.
178	  This driver is required even for peripheral only or host only
179	  mode configurations.
180	  This driver is not supported on boards like trout which
181	  has an external PHY.
182
183config USB_MV_OTG
184	tristate "Marvell USB OTG support"
185	depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
186	select USB_OTG
187	select USB_PHY
188	help
189	  Say Y here if you want to build Marvell USB OTG transciever
190	  driver in kernel (including PXA and MMP series). This driver
191	  implements role switch between EHCI host driver and gadget driver.
192
193	  To compile this driver as a module, choose M here.
194
195config USB_MXS_PHY
196	tristate "Freescale MXS USB PHY support"
197	depends on ARCH_MXC || ARCH_MXS
198	select STMP_DEVICE
199	select USB_PHY
200	help
201	  Enable this to support the Freescale MXS USB PHY.
202
203	  MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
204
205config USB_RCAR_PHY
206	tristate "Renesas R-Car USB PHY support"
207	depends on USB || USB_GADGET
208	select USB_PHY
209	help
210	  Say Y here to add support for the Renesas R-Car USB common PHY driver.
211	  This chip is typically used as USB PHY for USB host, gadget.
212	  This driver supports R8A7778 and R8A7779.
213
214	  To compile this driver as a module, choose M here: the
215	  module will be called phy-rcar-usb.
216
217config USB_ULPI
218	bool "Generic ULPI Transceiver Driver"
219	depends on ARM
220	help
221	  Enable this to support ULPI connected USB OTG transceivers which
222	  are likely found on embedded boards.
223
224config USB_ULPI_VIEWPORT
225	bool
226	depends on USB_ULPI
227	help
228	  Provides read/write operations to the ULPI phy register set for
229	  controllers with a viewport register (e.g. Chipidea/ARC controllers).
230
231endmenu
232