blob: e253fa05be6840d6d0eca25775071d1bc61227bc [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
Felipe Balbia0e63122013-03-07 11:01:15 +02009#
10# USB Transceiver Drivers
11#
12config AB8500_USB
13 tristate "AB8500 USB Transceiver Driver"
14 depends on AB8500_CORE
Roger Quadros052a11d2013-06-14 12:51:41 +030015 select USB_PHY
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053016 help
Felipe Balbia0e63122013-03-07 11:01:15 +020017 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"
Anton Tikhomirove1d2e312013-11-26 11:47:53 +090023 depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME
Felipe Balbia0e63122013-03-07 11:01:15 +020024 select USB_OTG
Roger Quadros052a11d2013-06-14 12:51:41 +030025 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020026 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
Felipe Balbi7cd0c292013-12-10 17:00:06 -060032 depends on USB
Roger Quadros052a11d2013-06-14 12:51:41 +030033 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020034 help
35 If you say yes here you get support for the Philips ISP1301
36 USB-On-The-Go transceiver working with the OMAP OTG controller.
37 The ISP1301 is a full speed USB transceiver which is used in
38 products including H2, H3, and H4 development boards for Texas
39 Instruments OMAP processors.
40
41 This driver can also be built as a module. If so, the module
Aaro Koskinen12c8d642013-12-21 20:37:38 +020042 will be called phy-isp1301-omap.
Felipe Balbia0e63122013-03-07 11:01:15 +020043
WingMan Kwok25acdd02013-12-12 12:25:30 -050044config KEYSTONE_USB_PHY
45 tristate "Keystone USB PHY Driver"
46 depends on ARCH_KEYSTONE || COMPILE_TEST
47 select NOP_USB_XCEIV
48 help
49 Enable this to support Keystone USB phy. This driver provides
50 interface to interact with USB 2.0 and USB 3.0 PHY that is part
51 of the Keystone SOC.
52
Felipe Balbia0e63122013-03-07 11:01:15 +020053config NOP_USB_XCEIV
54 tristate "NOP USB Transceiver Driver"
Roger Quadros052a11d2013-06-14 12:51:41 +030055 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020056 help
57 This driver is to be used by all the usb transceiver which are either
58 built-in with usb ip or which are autonomous and doesn't require any
59 phy programming such as ISP1x04 etc.
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053060
Sebastian Andrzej Siewior3bb869c2013-07-30 21:43:45 +020061config AM335X_CONTROL_USB
62 tristate
63
64config AM335X_PHY_USB
65 tristate "AM335x USB PHY Driver"
Dave Jones7ba01272013-09-03 17:35:52 -040066 depends on ARM || COMPILE_TEST
Sebastian Andrzej Siewior3bb869c2013-07-30 21:43:45 +020067 select USB_PHY
68 select AM335X_CONTROL_USB
69 select NOP_USB_XCEIV
70 help
71 This driver provides PHY support for that phy which part for the
72 AM335x SoC.
73
Felipe Balbia0e63122013-03-07 11:01:15 +020074config SAMSUNG_USBPHY
Tomasz Figa62787032013-05-16 11:57:06 +020075 tristate
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +053076 help
Vivek Gautamdc2377d2013-03-14 15:59:10 +053077 Enable this to support Samsung USB phy helper driver for Samsung SoCs.
78 This driver provides common interface to interact, for Samsung USB 2.0 PHY
79 driver and later for Samsung USB 3.0 PHY driver.
80
81config SAMSUNG_USB2PHY
82 tristate "Samsung USB 2.0 PHY controller Driver"
83 select SAMSUNG_USBPHY
Roger Quadros052a11d2013-06-14 12:51:41 +030084 select USB_PHY
Vivek Gautamdc2377d2013-03-14 15:59:10 +053085 help
86 Enable this to support Samsung USB 2.0 (High Speed) PHY controller
87 driver for Samsung SoCs.
Felipe Balbia0e63122013-03-07 11:01:15 +020088
Vivek Gautamb5276752013-03-14 15:59:11 +053089config SAMSUNG_USB3PHY
90 tristate "Samsung USB 3.0 PHY controller Driver"
91 select SAMSUNG_USBPHY
Roger Quadros052a11d2013-06-14 12:51:41 +030092 select USB_PHY
Vivek Gautamb5276752013-03-14 15:59:11 +053093 help
94 Enable this to support Samsung USB 3.0 (Super Speed) phy controller
95 for samsung SoCs.
96
Felipe Balbia0e63122013-03-07 11:01:15 +020097config TWL6030_USB
98 tristate "TWL6030 USB Transceiver Driver"
99 depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
Felipe Balbia0e63122013-03-07 11:01:15 +0200100 help
101 Enable this to support the USB OTG transceiver on TWL6030
102 family chips. This TWL6030 transceiver has the VBUS and ID GND
103 and OTG SRP events capabilities. For all other transceiver functionality
104 UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
105 are hooked to this driver through platform_data structure.
106 The definition of internal PHY APIs are in the mach-omap2 layer.
107
108config USB_GPIO_VBUS
109 tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
Linus Torvalds5647ac02013-05-09 09:59:16 -0700110 depends on GPIOLIB
Roger Quadros052a11d2013-06-14 12:51:41 +0300111 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200112 help
113 Provides simple GPIO VBUS sensing for controllers with an
114 internal transceiver via the usb_phy interface, and
115 optionally control of a D+ pullup GPIO as well as a VBUS
116 current limit regulator.
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +0530117
Aaro Koskinen449d2ba2013-12-06 16:13:06 +0200118config OMAP_OTG
119 tristate "OMAP USB OTG controller driver"
120 depends on ARCH_OMAP_OTG && EXTCON
121 help
122 Enable this to support some transceivers on OMAP1 platforms. OTG
123 controller is needed to switch between host and peripheral modes.
124
125 This driver can also be built as a module. If so, the module
Aaro Koskinen12c8d642013-12-21 20:37:38 +0200126 will be called phy-omap-otg.
Aaro Koskinen449d2ba2013-12-06 16:13:06 +0200127
Aaro Koskinen9ba96ae2013-12-06 16:13:07 +0200128config TAHVO_USB
129 tristate "Tahvo USB transceiver driver"
130 depends on MFD_RETU && EXTCON
131 select USB_PHY
132 help
133 Enable this to support USB transceiver on Tahvo. This is used
134 at least on Nokia 770.
135
136config TAHVO_USB_HOST_BY_DEFAULT
137 depends on TAHVO_USB
138 boolean "Device in USB host mode by default"
139 help
140 Say Y here, if you want the device to enter USB host mode
141 by default on bootup.
142
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200143config USB_ISP1301
144 tristate "NXP ISP1301 USB transceiver support"
Alexandre Pereira da Silvac6156322012-06-26 11:56:48 -0300145 depends on USB || USB_GADGET
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200146 depends on I2C
Roger Quadros052a11d2013-06-14 12:51:41 +0300147 select USB_PHY
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200148 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
Aaro Koskinen12c8d642013-12-21 20:37:38 +0200154 module will be called phy-isp1301.
Yu Xua67e76a2012-08-09 22:29:31 +0800155
Felipe Balbia0e63122013-03-07 11:01:15 +0200156config USB_MSM_OTG
Ivan T. Ivanov0d092fd2014-04-28 16:34:04 +0300157 tristate "Qualcomm on-chip USB OTG controller support"
Felipe Balbi1f7fc402014-04-30 11:36:03 -0500158 depends on (USB || USB_GADGET) && (ARCH_MSM || ARCH_QCOM || COMPILE_TEST)
Arnd Bergmannc5ab5712014-05-13 21:46:52 +0200159 depends on RESET_CONTROLLER
Roger Quadros052a11d2013-06-14 12:51:41 +0300160 select USB_PHY
Yu Xua67e76a2012-08-09 22:29:31 +0800161 help
Ivan T. Ivanov0d092fd2014-04-28 16:34:04 +0300162 Enable this to support the USB OTG transceiver on Qualcomm chips. It
Felipe Balbia0e63122013-03-07 11:01:15 +0200163 handles PHY initialization, clock management, and workarounds
164 required after resetting the hardware and power management.
165 This driver is required even for peripheral only or host only
166 mode configurations.
167 This driver is not supported on boards like trout which
168 has an external PHY.
169
170config USB_MV_OTG
171 tristate "Marvell USB OTG support"
Alan Stern98f541c2013-05-01 12:13:54 -0400172 depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
Felipe Balbia0e63122013-03-07 11:01:15 +0200173 select USB_OTG
Roger Quadros052a11d2013-06-14 12:51:41 +0300174 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200175 help
176 Say Y here if you want to build Marvell USB OTG transciever
177 driver in kernel (including PXA and MMP series). This driver
178 implements role switch between EHCI host driver and gadget driver.
179
180 To compile this driver as a module, choose M here.
181
182config USB_MXS_PHY
183 tristate "Freescale MXS USB PHY support"
184 depends on ARCH_MXC || ARCH_MXS
185 select STMP_DEVICE
Roger Quadros052a11d2013-06-14 12:51:41 +0300186 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200187 help
188 Enable this to support the Freescale MXS USB PHY.
189
190 MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700191
192config USB_RCAR_PHY
Sergei Shtylyov54407f12013-06-09 00:34:36 +0400193 tristate "Renesas R-Car USB PHY support"
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700194 depends on USB || USB_GADGET
Jean Delvareefccd242014-05-23 10:36:22 +0200195 depends on ARCH_R8A7778 || ARCH_R8A7779 || COMPILE_TEST
Roger Quadros052a11d2013-06-14 12:51:41 +0300196 select USB_PHY
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700197 help
Sergei Shtylyov54407f12013-06-09 00:34:36 +0400198 Say Y here to add support for the Renesas R-Car USB common PHY driver.
199 This chip is typically used as USB PHY for USB host, gadget.
200 This driver supports R8A7778 and R8A7779.
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700201
202 To compile this driver as a module, choose M here: the
Sergei Shtylyov54407f12013-06-09 00:34:36 +0400203 module will be called phy-rcar-usb.
Praveen Paneri337dc3a2012-11-23 16:03:06 +0530204
Valentine Barshak5578b262013-10-10 20:35:17 +0400205config USB_RCAR_GEN2_PHY
206 tristate "Renesas R-Car Gen2 USB PHY support"
207 depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
208 select USB_PHY
209 help
210 Say Y here to add support for the Renesas R-Car Gen2 USB PHY driver.
211 It is typically used to control internal USB PHY for USBHS,
212 and to configure shared USB channels 0 and 2.
213 This driver supports R8A7790 and R8A7791.
214
215 To compile this driver as a module, choose M here: the
216 module will be called phy-rcar-gen2-usb.
217
Felipe Balbia0e63122013-03-07 11:01:15 +0200218config USB_ULPI
219 bool "Generic ULPI Transceiver Driver"
Liviu Dudau113229b2014-05-14 20:17:30 +0100220 depends on ARM || ARM64
Praveen Paneri337dc3a2012-11-23 16:03:06 +0530221 help
Felipe Balbia0e63122013-03-07 11:01:15 +0200222 Enable this to support ULPI connected USB OTG transceivers which
223 are likely found on embedded boards.
224
225config USB_ULPI_VIEWPORT
226 bool
227 depends on USB_ULPI
228 help
229 Provides read/write operations to the ULPI phy register set for
230 controllers with a viewport register (e.g. Chipidea/ARC controllers).
231
Roger Quadros052a11d2013-06-14 12:51:41 +0300232endmenu