blob: 4c35d6176735193fd9269a90c8092047aa7f9cc6 [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
Felipe Balbie90b8412013-12-23 11:22:46 -060010 tristate "USB 2.0 OTG FSM implementation"
11 depends on USB
Anton Tikhomirove1d2e312013-11-26 11:47:53 +090012 select USB_OTG
13 select USB_PHY
14 help
15 Implements OTG Final State Machine as specified in On-The-Go
16 and Embedded Host Supplement to the USB Revision 2.0 Specification.
17
Felipe Balbia0e63122013-03-07 11:01:15 +020018#
19# USB Transceiver Drivers
20#
21config AB8500_USB
22 tristate "AB8500 USB Transceiver Driver"
23 depends on AB8500_CORE
Roger Quadros052a11d2013-06-14 12:51:41 +030024 select USB_PHY
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053025 help
Felipe Balbia0e63122013-03-07 11:01:15 +020026 Enable this to support the USB OTG transceiver in AB8500 chip.
27 This transceiver supports high and full speed devices plus,
28 in host mode, low speed.
29
30config FSL_USB2_OTG
31 bool "Freescale USB OTG Transceiver Driver"
Anton Tikhomirove1d2e312013-11-26 11:47:53 +090032 depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME
Felipe Balbia0e63122013-03-07 11:01:15 +020033 select USB_OTG
Roger Quadros052a11d2013-06-14 12:51:41 +030034 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020035 help
36 Enable this to support Freescale USB OTG transceiver.
37
38config ISP1301_OMAP
39 tristate "Philips ISP1301 with OMAP OTG"
40 depends on I2C && ARCH_OMAP_OTG
Felipe Balbi7cd0c292013-12-10 17:00:06 -060041 depends on USB
Roger Quadros052a11d2013-06-14 12:51:41 +030042 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020043 help
44 If you say yes here you get support for the Philips ISP1301
45 USB-On-The-Go transceiver working with the OMAP OTG controller.
46 The ISP1301 is a full speed USB transceiver which is used in
47 products including H2, H3, and H4 development boards for Texas
48 Instruments OMAP processors.
49
50 This driver can also be built as a module. If so, the module
Aaro Koskinen12c8d642013-12-21 20:37:38 +020051 will be called phy-isp1301-omap.
Felipe Balbia0e63122013-03-07 11:01:15 +020052
WingMan Kwok25acdd02013-12-12 12:25:30 -050053config KEYSTONE_USB_PHY
54 tristate "Keystone USB PHY Driver"
55 depends on ARCH_KEYSTONE || COMPILE_TEST
56 select NOP_USB_XCEIV
57 help
58 Enable this to support Keystone USB phy. This driver provides
59 interface to interact with USB 2.0 and USB 3.0 PHY that is part
60 of the Keystone SOC.
61
Felipe Balbia0e63122013-03-07 11:01:15 +020062config NOP_USB_XCEIV
63 tristate "NOP USB Transceiver Driver"
Roger Quadros052a11d2013-06-14 12:51:41 +030064 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020065 help
66 This driver is to be used by all the usb transceiver which are either
67 built-in with usb ip or which are autonomous and doesn't require any
68 phy programming such as ISP1x04 etc.
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053069
Sebastian Andrzej Siewior3bb869c2013-07-30 21:43:45 +020070config AM335X_CONTROL_USB
71 tristate
72
73config AM335X_PHY_USB
74 tristate "AM335x USB PHY Driver"
Dave Jones7ba01272013-09-03 17:35:52 -040075 depends on ARM || COMPILE_TEST
Sebastian Andrzej Siewior3bb869c2013-07-30 21:43:45 +020076 select USB_PHY
77 select AM335X_CONTROL_USB
78 select NOP_USB_XCEIV
79 help
80 This driver provides PHY support for that phy which part for the
81 AM335x SoC.
82
Felipe Balbia0e63122013-03-07 11:01:15 +020083config SAMSUNG_USBPHY
Tomasz Figa62787032013-05-16 11:57:06 +020084 tristate
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +053085 help
Vivek Gautamdc2377d2013-03-14 15:59:10 +053086 Enable this to support Samsung USB phy helper driver for Samsung SoCs.
87 This driver provides common interface to interact, for Samsung USB 2.0 PHY
88 driver and later for Samsung USB 3.0 PHY driver.
89
90config SAMSUNG_USB2PHY
91 tristate "Samsung USB 2.0 PHY controller Driver"
92 select SAMSUNG_USBPHY
Roger Quadros052a11d2013-06-14 12:51:41 +030093 select USB_PHY
Vivek Gautamdc2377d2013-03-14 15:59:10 +053094 help
95 Enable this to support Samsung USB 2.0 (High Speed) PHY controller
96 driver for Samsung SoCs.
Felipe Balbia0e63122013-03-07 11:01:15 +020097
Vivek Gautamb5276752013-03-14 15:59:11 +053098config SAMSUNG_USB3PHY
99 tristate "Samsung USB 3.0 PHY controller Driver"
100 select SAMSUNG_USBPHY
Roger Quadros052a11d2013-06-14 12:51:41 +0300101 select USB_PHY
Vivek Gautamb5276752013-03-14 15:59:11 +0530102 help
103 Enable this to support Samsung USB 3.0 (Super Speed) phy controller
104 for samsung SoCs.
105
Felipe Balbia0e63122013-03-07 11:01:15 +0200106config TWL6030_USB
107 tristate "TWL6030 USB Transceiver Driver"
108 depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
Felipe Balbia0e63122013-03-07 11:01:15 +0200109 help
110 Enable this to support the USB OTG transceiver on TWL6030
111 family chips. This TWL6030 transceiver has the VBUS and ID GND
112 and OTG SRP events capabilities. For all other transceiver functionality
113 UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
114 are hooked to this driver through platform_data structure.
115 The definition of internal PHY APIs are in the mach-omap2 layer.
116
117config USB_GPIO_VBUS
118 tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
Linus Torvalds5647ac02013-05-09 09:59:16 -0700119 depends on GPIOLIB
Roger Quadros052a11d2013-06-14 12:51:41 +0300120 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200121 help
122 Provides simple GPIO VBUS sensing for controllers with an
123 internal transceiver via the usb_phy interface, and
124 optionally control of a D+ pullup GPIO as well as a VBUS
125 current limit regulator.
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +0530126
Aaro Koskinen449d2ba2013-12-06 16:13:06 +0200127config OMAP_OTG
128 tristate "OMAP USB OTG controller driver"
129 depends on ARCH_OMAP_OTG && EXTCON
130 help
131 Enable this to support some transceivers on OMAP1 platforms. OTG
132 controller is needed to switch between host and peripheral modes.
133
134 This driver can also be built as a module. If so, the module
Aaro Koskinen12c8d642013-12-21 20:37:38 +0200135 will be called phy-omap-otg.
Aaro Koskinen449d2ba2013-12-06 16:13:06 +0200136
Aaro Koskinen9ba96ae2013-12-06 16:13:07 +0200137config TAHVO_USB
138 tristate "Tahvo USB transceiver driver"
139 depends on MFD_RETU && EXTCON
140 select USB_PHY
141 help
142 Enable this to support USB transceiver on Tahvo. This is used
143 at least on Nokia 770.
144
145config TAHVO_USB_HOST_BY_DEFAULT
146 depends on TAHVO_USB
147 boolean "Device in USB host mode by default"
148 help
149 Say Y here, if you want the device to enter USB host mode
150 by default on bootup.
151
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200152config USB_ISP1301
153 tristate "NXP ISP1301 USB transceiver support"
Alexandre Pereira da Silvac6156322012-06-26 11:56:48 -0300154 depends on USB || USB_GADGET
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200155 depends on I2C
Roger Quadros052a11d2013-06-14 12:51:41 +0300156 select USB_PHY
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200157 help
158 Say Y here to add support for the NXP ISP1301 USB transceiver driver.
159 This chip is typically used as USB transceiver for USB host, gadget
160 and OTG drivers (to be selected separately).
161
162 To compile this driver as a module, choose M here: the
Aaro Koskinen12c8d642013-12-21 20:37:38 +0200163 module will be called phy-isp1301.
Yu Xua67e76a2012-08-09 22:29:31 +0800164
Felipe Balbia0e63122013-03-07 11:01:15 +0200165config USB_MSM_OTG
Ivan T. Ivanov0d092fd2014-04-28 16:34:04 +0300166 tristate "Qualcomm on-chip USB OTG controller support"
Felipe Balbi1f7fc402014-04-30 11:36:03 -0500167 depends on (USB || USB_GADGET) && (ARCH_MSM || ARCH_QCOM || COMPILE_TEST)
Arnd Bergmannc5ab5712014-05-13 21:46:52 +0200168 depends on RESET_CONTROLLER
Roger Quadros052a11d2013-06-14 12:51:41 +0300169 select USB_PHY
Yu Xua67e76a2012-08-09 22:29:31 +0800170 help
Ivan T. Ivanov0d092fd2014-04-28 16:34:04 +0300171 Enable this to support the USB OTG transceiver on Qualcomm chips. It
Felipe Balbia0e63122013-03-07 11:01:15 +0200172 handles PHY initialization, clock management, and workarounds
173 required after resetting the hardware and power management.
174 This driver is required even for peripheral only or host only
175 mode configurations.
176 This driver is not supported on boards like trout which
177 has an external PHY.
178
179config USB_MV_OTG
180 tristate "Marvell USB OTG support"
Alan Stern98f541c2013-05-01 12:13:54 -0400181 depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
Felipe Balbia0e63122013-03-07 11:01:15 +0200182 select USB_OTG
Roger Quadros052a11d2013-06-14 12:51:41 +0300183 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200184 help
185 Say Y here if you want to build Marvell USB OTG transciever
186 driver in kernel (including PXA and MMP series). This driver
187 implements role switch between EHCI host driver and gadget driver.
188
189 To compile this driver as a module, choose M here.
190
191config USB_MXS_PHY
192 tristate "Freescale MXS USB PHY support"
193 depends on ARCH_MXC || ARCH_MXS
194 select STMP_DEVICE
Roger Quadros052a11d2013-06-14 12:51:41 +0300195 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200196 help
197 Enable this to support the Freescale MXS USB PHY.
198
199 MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700200
201config USB_RCAR_PHY
Sergei Shtylyov54407f12013-06-09 00:34:36 +0400202 tristate "Renesas R-Car USB PHY support"
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700203 depends on USB || USB_GADGET
Jean Delvareefccd242014-05-23 10:36:22 +0200204 depends on ARCH_R8A7778 || ARCH_R8A7779 || COMPILE_TEST
Roger Quadros052a11d2013-06-14 12:51:41 +0300205 select USB_PHY
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700206 help
Sergei Shtylyov54407f12013-06-09 00:34:36 +0400207 Say Y here to add support for the Renesas R-Car USB common PHY driver.
208 This chip is typically used as USB PHY for USB host, gadget.
209 This driver supports R8A7778 and R8A7779.
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700210
211 To compile this driver as a module, choose M here: the
Sergei Shtylyov54407f12013-06-09 00:34:36 +0400212 module will be called phy-rcar-usb.
Praveen Paneri337dc3a2012-11-23 16:03:06 +0530213
Valentine Barshak5578b262013-10-10 20:35:17 +0400214config USB_RCAR_GEN2_PHY
215 tristate "Renesas R-Car Gen2 USB PHY support"
216 depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
217 select USB_PHY
218 help
219 Say Y here to add support for the Renesas R-Car Gen2 USB PHY driver.
220 It is typically used to control internal USB PHY for USBHS,
221 and to configure shared USB channels 0 and 2.
222 This driver supports R8A7790 and R8A7791.
223
224 To compile this driver as a module, choose M here: the
225 module will be called phy-rcar-gen2-usb.
226
Felipe Balbia0e63122013-03-07 11:01:15 +0200227config USB_ULPI
228 bool "Generic ULPI Transceiver Driver"
229 depends on ARM
Praveen Paneri337dc3a2012-11-23 16:03:06 +0530230 help
Felipe Balbia0e63122013-03-07 11:01:15 +0200231 Enable this to support ULPI connected USB OTG transceivers which
232 are likely found on embedded boards.
233
234config USB_ULPI_VIEWPORT
235 bool
236 depends on USB_ULPI
237 help
238 Provides read/write operations to the ULPI phy register set for
239 controllers with a viewport register (e.g. Chipidea/ARC controllers).
240
Roger Quadros052a11d2013-06-14 12:51:41 +0300241endmenu