xref: /openbmc/linux/drivers/usb/phy/Kconfig (revision c1d45424)
1#
2# Physical Layer USB driver configuration
3#
4menuconfig USB_PHY
5	bool "USB Physical Layer drivers"
6	help
7	  Most USB controllers have the physical layer signalling part
8	  (commonly called a PHY) built in.  However, dual-role devices
9	  (a.k.a. USB on-the-go) which support being USB master or slave
10	  with the same connector often use an external PHY.
11
12	  The drivers in this submenu add support for such PHY devices.
13	  They are not needed for standard master-only (or the vast
14	  majority of slave-only) USB interfaces.
15
16	  If you're not sure if this applies to you, it probably doesn't;
17	  say N here.
18
19if USB_PHY
20
21#
22# USB Transceiver Drivers
23#
24config AB8500_USB
25	tristate "AB8500 USB Transceiver Driver"
26	depends on AB8500_CORE
27	help
28	  Enable this to support the USB OTG transceiver in AB8500 chip.
29	  This transceiver supports high and full speed devices plus,
30	  in host mode, low speed.
31
32config FSL_USB2_OTG
33	bool "Freescale USB OTG Transceiver Driver"
34	depends on USB_EHCI_FSL && USB_FSL_USB2 && PM_RUNTIME
35	select USB_OTG
36	help
37	  Enable this to support Freescale USB OTG transceiver.
38
39config ISP1301_OMAP
40	tristate "Philips ISP1301 with OMAP OTG"
41	depends on I2C && ARCH_OMAP_OTG
42	help
43	  If you say yes here you get support for the Philips ISP1301
44	  USB-On-The-Go transceiver working with the OMAP OTG controller.
45	  The ISP1301 is a full speed USB  transceiver which is used in
46	  products including H2, H3, and H4 development boards for Texas
47	  Instruments OMAP processors.
48
49	  This driver can also be built as a module.  If so, the module
50	  will be called isp1301_omap.
51
52config MV_U3D_PHY
53	bool "Marvell USB 3.0 PHY controller Driver"
54	depends on CPU_MMP3
55	help
56	  Enable this to support Marvell USB 3.0 phy controller for Marvell
57	  SoC.
58
59config NOP_USB_XCEIV
60	tristate "NOP USB Transceiver Driver"
61	help
62	  This driver is to be used by all the usb transceiver which are either
63	  built-in with usb ip or which are autonomous and doesn't require any
64	  phy programming such as ISP1x04 etc.
65
66config OMAP_CONTROL_USB
67	tristate "OMAP CONTROL USB Driver"
68	help
69	  Enable this to add support for the USB part present in the control
70	  module. This driver has API to power on the USB2 PHY and to write to
71	  the mailbox. The mailbox is present only in omap4 and the register to
72	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
73	  additional register to power on USB3 PHY.
74
75config OMAP_USB2
76	tristate "OMAP USB2 PHY Driver"
77	depends on ARCH_OMAP2PLUS
78	select OMAP_CONTROL_USB
79	help
80	  Enable this to support the transceiver that is part of SOC. This
81	  driver takes care of all the PHY functionality apart from comparator.
82	  The USB OTG controller communicates with the comparator using this
83	  driver.
84
85config OMAP_USB3
86	tristate "OMAP USB3 PHY Driver"
87	select OMAP_CONTROL_USB
88	help
89	  Enable this to support the USB3 PHY that is part of SOC. This
90	  driver takes care of all the PHY functionality apart from comparator.
91	  This driver interacts with the "OMAP Control USB Driver" to power
92	  on/off the PHY.
93
94config SAMSUNG_USBPHY
95	tristate
96	help
97	  Enable this to support Samsung USB phy helper driver for Samsung SoCs.
98	  This driver provides common interface to interact, for Samsung USB 2.0 PHY
99	  driver and later for Samsung USB 3.0 PHY driver.
100
101config SAMSUNG_USB2PHY
102	tristate "Samsung USB 2.0 PHY controller Driver"
103	select SAMSUNG_USBPHY
104	help
105	  Enable this to support Samsung USB 2.0 (High Speed) PHY controller
106	  driver for Samsung SoCs.
107
108config SAMSUNG_USB3PHY
109	tristate "Samsung USB 3.0 PHY controller Driver"
110	select SAMSUNG_USBPHY
111	help
112	  Enable this to support Samsung USB 3.0 (Super Speed) phy controller
113	  for samsung SoCs.
114
115config TWL4030_USB
116	tristate "TWL4030 USB Transceiver Driver"
117	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
118	help
119	  Enable this to support the USB OTG transceiver on TWL4030
120	  family chips (including the TWL5030 and TPS659x0 devices).
121	  This transceiver supports high and full speed devices plus,
122	  in host mode, low speed.
123
124config TWL6030_USB
125	tristate "TWL6030 USB Transceiver Driver"
126	depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
127	help
128	  Enable this to support the USB OTG transceiver on TWL6030
129	  family chips. This TWL6030 transceiver has the VBUS and ID GND
130	  and OTG SRP events capabilities. For all other transceiver functionality
131	  UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
132	  are hooked to this driver through platform_data structure.
133	  The definition of internal PHY APIs are in the mach-omap2 layer.
134
135config USB_GPIO_VBUS
136	tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
137	depends on GPIOLIB
138	help
139	  Provides simple GPIO VBUS sensing for controllers with an
140	  internal transceiver via the usb_phy interface, and
141	  optionally control of a D+ pullup GPIO as well as a VBUS
142	  current limit regulator.
143
144config USB_ISP1301
145	tristate "NXP ISP1301 USB transceiver support"
146	depends on USB || USB_GADGET
147	depends on I2C
148	help
149	  Say Y here to add support for the NXP ISP1301 USB transceiver driver.
150	  This chip is typically used as USB transceiver for USB host, gadget
151	  and OTG drivers (to be selected separately).
152
153	  To compile this driver as a module, choose M here: the
154	  module will be called isp1301.
155
156config USB_MSM_OTG
157	tristate "OTG support for Qualcomm on-chip USB controller"
158	depends on (USB || USB_GADGET) && ARCH_MSM
159	help
160	  Enable this to support the USB OTG transceiver on MSM chips. It
161	  handles PHY initialization, clock management, and workarounds
162	  required after resetting the hardware and power management.
163	  This driver is required even for peripheral only or host only
164	  mode configurations.
165	  This driver is not supported on boards like trout which
166	  has an external PHY.
167
168config USB_MV_OTG
169	tristate "Marvell USB OTG support"
170	depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
171	select USB_OTG
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	help
184	  Enable this to support the Freescale MXS USB PHY.
185
186	  MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
187
188config USB_RCAR_PHY
189	tristate "Renesas R-Car USB PHY support"
190	depends on USB || USB_GADGET
191	help
192	  Say Y here to add support for the Renesas R-Car USB common PHY driver.
193	  This chip is typically used as USB PHY for USB host, gadget.
194	  This driver supports R8A7778 and R8A7779.
195
196	  To compile this driver as a module, choose M here: the
197	  module will be called phy-rcar-usb.
198
199config USB_ULPI
200	bool "Generic ULPI Transceiver Driver"
201	depends on ARM
202	help
203	  Enable this to support ULPI connected USB OTG transceivers which
204	  are likely found on embedded boards.
205
206config USB_ULPI_VIEWPORT
207	bool
208	depends on USB_ULPI
209	help
210	  Provides read/write operations to the ULPI phy register set for
211	  controllers with a viewport register (e.g. Chipidea/ARC controllers).
212
213endif # USB_PHY
214