xref: /openbmc/linux/drivers/usb/phy/Kconfig (revision abfbd895)
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_PHY
25	help
26	  Enable this to support Freescale USB OTG transceiver.
27
28config ISP1301_OMAP
29	tristate "Philips ISP1301 with OMAP OTG"
30	depends on I2C && ARCH_OMAP_OTG
31	depends on USB
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 phy-isp1301-omap.
42
43config KEYSTONE_USB_PHY
44	tristate "Keystone USB PHY Driver"
45	depends on ARCH_KEYSTONE || COMPILE_TEST
46	select NOP_USB_XCEIV
47	help
48	  Enable this to support Keystone USB phy. This driver provides
49	  interface to interact with USB 2.0 and USB 3.0 PHY that is part
50	  of the Keystone SOC.
51
52config NOP_USB_XCEIV
53	tristate "NOP USB Transceiver Driver"
54	select USB_PHY
55	help
56	  This driver is to be used by all the usb transceiver which are either
57	  built-in with usb ip or which are autonomous and doesn't require any
58	  phy programming such as ISP1x04 etc.
59
60config AM335X_CONTROL_USB
61	tristate
62
63config AM335X_PHY_USB
64	tristate "AM335x USB PHY Driver"
65	depends on ARM || COMPILE_TEST
66	select USB_PHY
67	select AM335X_CONTROL_USB
68	select NOP_USB_XCEIV
69	help
70	  This driver provides PHY support for that phy which part for the
71	  AM335x SoC.
72
73config SAMSUNG_USBPHY
74	tristate
75	help
76	  Enable this to support Samsung USB phy helper driver for Samsung SoCs.
77	  This driver provides common interface to interact, for Samsung USB 2.0 PHY
78	  driver and later for Samsung USB 3.0 PHY driver.
79
80config TWL6030_USB
81	tristate "TWL6030 USB Transceiver Driver"
82	depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
83	help
84	  Enable this to support the USB OTG transceiver on TWL6030
85	  family chips. This TWL6030 transceiver has the VBUS and ID GND
86	  and OTG SRP events capabilities. For all other transceiver functionality
87	  UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
88	  are hooked to this driver through platform_data structure.
89	  The definition of internal PHY APIs are in the mach-omap2 layer.
90
91config USB_GPIO_VBUS
92	tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
93	depends on GPIOLIB || COMPILE_TEST
94	select USB_PHY
95	help
96	  Provides simple GPIO VBUS sensing for controllers with an
97	  internal transceiver via the usb_phy interface, and
98	  optionally control of a D+ pullup GPIO as well as a VBUS
99	  current limit regulator.
100
101config OMAP_OTG
102	tristate "OMAP USB OTG controller driver"
103	depends on ARCH_OMAP_OTG && EXTCON
104	help
105	  Enable this to support some transceivers on OMAP1 platforms. OTG
106	  controller is needed to switch between host and peripheral modes.
107
108	  This driver can also be built as a module. If so, the module
109	  will be called phy-omap-otg.
110
111config TAHVO_USB
112	tristate "Tahvo USB transceiver driver"
113	depends on MFD_RETU && EXTCON
114	select USB_PHY
115	help
116	  Enable this to support USB transceiver on Tahvo. This is used
117	  at least on Nokia 770.
118
119config TAHVO_USB_HOST_BY_DEFAULT
120	depends on TAHVO_USB
121	bool "Device in USB host mode by default"
122	help
123	  Say Y here, if you want the device to enter USB host mode
124	  by default on bootup.
125
126config USB_ISP1301
127	tristate "NXP ISP1301 USB transceiver support"
128	depends on USB || USB_GADGET
129	depends on I2C
130	select USB_PHY
131	help
132	  Say Y here to add support for the NXP ISP1301 USB transceiver driver.
133	  This chip is typically used as USB transceiver for USB host, gadget
134	  and OTG drivers (to be selected separately).
135
136	  To compile this driver as a module, choose M here: the
137	  module will be called phy-isp1301.
138
139config USB_MSM_OTG
140	tristate "Qualcomm on-chip USB OTG controller support"
141	depends on (USB || USB_GADGET) && (ARCH_QCOM || COMPILE_TEST)
142	depends on RESET_CONTROLLER
143	depends on EXTCON
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_QCOM_8X16_PHY
155	tristate "Qualcomm APQ8016/MSM8916 on-chip USB PHY controller support"
156	depends on ARCH_QCOM || COMPILE_TEST
157	depends on RESET_CONTROLLER && EXTCON
158	select USB_PHY
159	select USB_ULPI_VIEWPORT
160	help
161	  Enable this to support the USB transceiver on Qualcomm 8x16 chipsets.
162	  It handles PHY initialization, clock management, power management,
163	  and workarounds required after resetting the hardware.
164
165	  To compile this driver as a module, choose M here: the
166	  module will be called phy-qcom-8x16-usb.
167
168config USB_MV_OTG
169	tristate "Marvell USB OTG support"
170	depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG
171	select USB_PHY
172	help
173	  Say Y here if you want to build Marvell USB OTG transciever
174	  driver in kernel (including PXA and MMP series). This driver
175	  implements role switch between EHCI host driver and gadget driver.
176
177	  To compile this driver as a module, choose M here.
178
179config USB_MXS_PHY
180	tristate "Freescale MXS USB PHY support"
181	depends on ARCH_MXC || ARCH_MXS
182	select STMP_DEVICE
183	select USB_PHY
184	help
185	  Enable this to support the Freescale MXS USB PHY.
186
187	  MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
188
189config USB_RCAR_PHY
190	tristate "Renesas R-Car USB PHY support"
191	depends on USB || USB_GADGET
192	depends on ARCH_R8A7778 || ARCH_R8A7779 || COMPILE_TEST
193	select USB_PHY
194	help
195	  Say Y here to add support for the Renesas R-Car USB common PHY driver.
196	  This chip is typically used as USB PHY for USB host, gadget.
197	  This driver supports R8A7778 and R8A7779.
198
199	  To compile this driver as a module, choose M here: the
200	  module will be called phy-rcar-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