blob: 0dbab6f5c2d4f2f95fd3213893f3a514ebc4d916 [file] [log] [blame]
Roland Stigge8b7c3b62012-04-29 16:47:04 +02001#
2# Physical Layer USB driver configuration
3#
Roger Quadros052a11d2013-06-14 12:51:41 +03004menu "USB Physical Layer drivers"
Kishon Vijay Abraham I657b3062012-09-06 20:27:06 +05305
Roger Quadros052a11d2013-06-14 12:51:41 +03006config USB_PHY
7 def_bool n
Roland Stigge8b7c3b62012-04-29 16:47:04 +02008
Anton Tikhomirove1d2e312013-11-26 11:47:53 +09009config USB_OTG_FSM
10 bool "USB 2.0 OTG FSM implementation"
11 select USB_OTG
12 select USB_PHY
13 help
14 Implements OTG Final State Machine as specified in On-The-Go
15 and Embedded Host Supplement to the USB Revision 2.0 Specification.
16
Felipe Balbia0e63122013-03-07 11:01:15 +020017#
18# USB Transceiver Drivers
19#
20config AB8500_USB
21 tristate "AB8500 USB Transceiver Driver"
22 depends on AB8500_CORE
Roger Quadros052a11d2013-06-14 12:51:41 +030023 select USB_PHY
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053024 help
Felipe Balbia0e63122013-03-07 11:01:15 +020025 Enable this to support the USB OTG transceiver in AB8500 chip.
26 This transceiver supports high and full speed devices plus,
27 in host mode, low speed.
28
29config FSL_USB2_OTG
30 bool "Freescale USB OTG Transceiver Driver"
Anton Tikhomirove1d2e312013-11-26 11:47:53 +090031 depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME
Felipe Balbia0e63122013-03-07 11:01:15 +020032 select USB_OTG
Roger Quadros052a11d2013-06-14 12:51:41 +030033 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020034 help
35 Enable this to support Freescale USB OTG transceiver.
36
37config ISP1301_OMAP
38 tristate "Philips ISP1301 with OMAP OTG"
39 depends on I2C && ARCH_OMAP_OTG
Roger Quadros052a11d2013-06-14 12:51:41 +030040 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020041 help
42 If you say yes here you get support for the Philips ISP1301
43 USB-On-The-Go transceiver working with the OMAP OTG controller.
44 The ISP1301 is a full speed USB transceiver which is used in
45 products including H2, H3, and H4 development boards for Texas
46 Instruments OMAP processors.
47
48 This driver can also be built as a module. If so, the module
49 will be called isp1301_omap.
50
51config MV_U3D_PHY
52 bool "Marvell USB 3.0 PHY controller Driver"
Felipe Balbi60630c22013-03-22 09:15:45 +020053 depends on CPU_MMP3
Roger Quadros052a11d2013-06-14 12:51:41 +030054 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020055 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"
Roger Quadros052a11d2013-06-14 12:51:41 +030061 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020062 help
63 This driver is to be used by all the usb transceiver which are either
64 built-in with usb ip or which are autonomous and doesn't require any
65 phy programming such as ISP1x04 etc.
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053066
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +053067config OMAP_CONTROL_USB
68 tristate "OMAP CONTROL USB Driver"
Paul Gortmaker4e682bb2013-07-04 01:39:10 -040069 depends on ARCH_OMAP2PLUS || COMPILE_TEST
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +053070 help
71 Enable this to add support for the USB part present in the control
72 module. This driver has API to power on the USB2 PHY and to write to
73 the mailbox. The mailbox is present only in omap4 and the register to
74 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
75 additional register to power on USB3 PHY.
76
Roland Stigge8b7c3b62012-04-29 16:47:04 +020077config OMAP_USB3
78 tristate "OMAP USB3 PHY Driver"
Paul Gortmaker4e682bb2013-07-04 01:39:10 -040079 depends on ARCH_OMAP2PLUS || COMPILE_TEST
Roland Stigge8b7c3b62012-04-29 16:47:04 +020080 select OMAP_CONTROL_USB
Roger Quadros052a11d2013-06-14 12:51:41 +030081 select USB_PHY
Roland Stigge8b7c3b62012-04-29 16:47:04 +020082 help
83 Enable this to support the USB3 PHY that is part of SOC. This
84 driver takes care of all the PHY functionality apart from comparator.
85 This driver interacts with the "OMAP Control USB Driver" to power
86 on/off the PHY.
87
Sebastian Andrzej Siewior3bb869c2013-07-30 21:43:45 +020088config AM335X_CONTROL_USB
89 tristate
90
91config AM335X_PHY_USB
92 tristate "AM335x USB PHY Driver"
Dave Jones7ba01272013-09-03 17:35:52 -040093 depends on ARM || COMPILE_TEST
Sebastian Andrzej Siewior3bb869c2013-07-30 21:43:45 +020094 select USB_PHY
95 select AM335X_CONTROL_USB
96 select NOP_USB_XCEIV
97 help
98 This driver provides PHY support for that phy which part for the
99 AM335x SoC.
100
Felipe Balbia0e63122013-03-07 11:01:15 +0200101config SAMSUNG_USBPHY
Tomasz Figa62787032013-05-16 11:57:06 +0200102 tristate
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200103 help
Vivek Gautamdc2377d2013-03-14 15:59:10 +0530104 Enable this to support Samsung USB phy helper driver for Samsung SoCs.
105 This driver provides common interface to interact, for Samsung USB 2.0 PHY
106 driver and later for Samsung USB 3.0 PHY driver.
107
108config SAMSUNG_USB2PHY
109 tristate "Samsung USB 2.0 PHY controller Driver"
110 select SAMSUNG_USBPHY
Roger Quadros052a11d2013-06-14 12:51:41 +0300111 select USB_PHY
Vivek Gautamdc2377d2013-03-14 15:59:10 +0530112 help
113 Enable this to support Samsung USB 2.0 (High Speed) PHY controller
114 driver for Samsung SoCs.
Felipe Balbia0e63122013-03-07 11:01:15 +0200115
Vivek Gautamb5276752013-03-14 15:59:11 +0530116config SAMSUNG_USB3PHY
117 tristate "Samsung USB 3.0 PHY controller Driver"
118 select SAMSUNG_USBPHY
Roger Quadros052a11d2013-06-14 12:51:41 +0300119 select USB_PHY
Vivek Gautamb5276752013-03-14 15:59:11 +0530120 help
121 Enable this to support Samsung USB 3.0 (Super Speed) phy controller
122 for samsung SoCs.
123
Felipe Balbia0e63122013-03-07 11:01:15 +0200124config TWL6030_USB
125 tristate "TWL6030 USB Transceiver Driver"
126 depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
Felipe Balbia0e63122013-03-07 11:01:15 +0200127 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'"
Linus Torvalds5647ac02013-05-09 09:59:16 -0700137 depends on GPIOLIB
Roger Quadros052a11d2013-06-14 12:51:41 +0300138 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200139 help
140 Provides simple GPIO VBUS sensing for controllers with an
141 internal transceiver via the usb_phy interface, and
142 optionally control of a D+ pullup GPIO as well as a VBUS
143 current limit regulator.
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200144
Aaro Koskinen449d2ba2013-12-06 16:13:06 +0200145config OMAP_OTG
146 tristate "OMAP USB OTG controller driver"
147 depends on ARCH_OMAP_OTG && EXTCON
148 help
149 Enable this to support some transceivers on OMAP1 platforms. OTG
150 controller is needed to switch between host and peripheral modes.
151
152 This driver can also be built as a module. If so, the module
153 will be called omap-otg.
154
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200155config USB_ISP1301
156 tristate "NXP ISP1301 USB transceiver support"
157 depends on USB || USB_GADGET
158 depends on I2C
Roger Quadros052a11d2013-06-14 12:51:41 +0300159 select USB_PHY
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200160 help
161 Say Y here to add support for the NXP ISP1301 USB transceiver driver.
162 This chip is typically used as USB transceiver for USB host, gadget
163 and OTG drivers (to be selected separately).
164
165 To compile this driver as a module, choose M here: the
166 module will be called isp1301.
Yu Xua67e76a2012-08-09 22:29:31 +0800167
Felipe Balbia0e63122013-03-07 11:01:15 +0200168config USB_MSM_OTG
169 tristate "OTG support for Qualcomm on-chip USB controller"
170 depends on (USB || USB_GADGET) && ARCH_MSM
Roger Quadros052a11d2013-06-14 12:51:41 +0300171 select USB_PHY
Yu Xua67e76a2012-08-09 22:29:31 +0800172 help
Felipe Balbia0e63122013-03-07 11:01:15 +0200173 Enable this to support the USB OTG transceiver on MSM chips. It
174 handles PHY initialization, clock management, and workarounds
175 required after resetting the hardware and power management.
176 This driver is required even for peripheral only or host only
177 mode configurations.
178 This driver is not supported on boards like trout which
179 has an external PHY.
180
181config USB_MV_OTG
182 tristate "Marvell USB OTG support"
Alan Stern98f541c2013-05-01 12:13:54 -0400183 depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
Felipe Balbia0e63122013-03-07 11:01:15 +0200184 select USB_OTG
Roger Quadros052a11d2013-06-14 12:51:41 +0300185 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200186 help
187 Say Y here if you want to build Marvell USB OTG transciever
188 driver in kernel (including PXA and MMP series). This driver
189 implements role switch between EHCI host driver and gadget driver.
190
191 To compile this driver as a module, choose M here.
192
193config USB_MXS_PHY
194 tristate "Freescale MXS USB PHY support"
195 depends on ARCH_MXC || ARCH_MXS
196 select STMP_DEVICE
Roger Quadros052a11d2013-06-14 12:51:41 +0300197 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200198 help
199 Enable this to support the Freescale MXS USB PHY.
200
201 MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700202
203config USB_RCAR_PHY
Sergei Shtylyov54407f12013-06-09 00:34:36 +0400204 tristate "Renesas R-Car USB PHY support"
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700205 depends on USB || USB_GADGET
Roger Quadros052a11d2013-06-14 12:51:41 +0300206 select USB_PHY
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700207 help
Sergei Shtylyov54407f12013-06-09 00:34:36 +0400208 Say Y here to add support for the Renesas R-Car USB common PHY driver.
209 This chip is typically used as USB PHY for USB host, gadget.
210 This driver supports R8A7778 and R8A7779.
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700211
212 To compile this driver as a module, choose M here: the
Sergei Shtylyov54407f12013-06-09 00:34:36 +0400213 module will be called phy-rcar-usb.
Praveen Paneri337dc3a2012-11-23 16:03:06 +0530214
Valentine Barshak5578b262013-10-10 20:35:17 +0400215config USB_RCAR_GEN2_PHY
216 tristate "Renesas R-Car Gen2 USB PHY support"
217 depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
218 select USB_PHY
219 help
220 Say Y here to add support for the Renesas R-Car Gen2 USB PHY driver.
221 It is typically used to control internal USB PHY for USBHS,
222 and to configure shared USB channels 0 and 2.
223 This driver supports R8A7790 and R8A7791.
224
225 To compile this driver as a module, choose M here: the
226 module will be called phy-rcar-gen2-usb.
227
Felipe Balbia0e63122013-03-07 11:01:15 +0200228config USB_ULPI
229 bool "Generic ULPI Transceiver Driver"
230 depends on ARM
Praveen Paneri337dc3a2012-11-23 16:03:06 +0530231 help
Felipe Balbia0e63122013-03-07 11:01:15 +0200232 Enable this to support ULPI connected USB OTG transceivers which
233 are likely found on embedded boards.
234
235config USB_ULPI_VIEWPORT
236 bool
237 depends on USB_ULPI
238 help
239 Provides read/write operations to the ULPI phy register set for
240 controllers with a viewport register (e.g. Chipidea/ARC controllers).
241
Roger Quadros052a11d2013-06-14 12:51:41 +0300242endmenu