blob: b9c409a18faaea511d3280a01bd519769a3ccbd4 [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"
Rafael J. Wysocki1b3e3aa2014-12-13 00:44:04 +010023 depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM
Felipe Balbi5a8d6512016-05-31 13:07:47 +030024 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
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
Felipe Balbi5a8d6512016-05-31 13:07:47 +030033 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
Roger Quadros052a11d2013-06-14 12:51:41 +030034 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020035 help
36 If you say yes here you get support for the Philips ISP1301
37 USB-On-The-Go transceiver working with the OMAP OTG controller.
38 The ISP1301 is a full speed USB transceiver which is used in
39 products including H2, H3, and H4 development boards for Texas
40 Instruments OMAP processors.
41
42 This driver can also be built as a module. If so, the module
Aaro Koskinen12c8d642013-12-21 20:37:38 +020043 will be called phy-isp1301-omap.
Felipe Balbia0e63122013-03-07 11:01:15 +020044
WingMan Kwok25acdd02013-12-12 12:25:30 -050045config KEYSTONE_USB_PHY
46 tristate "Keystone USB PHY Driver"
47 depends on ARCH_KEYSTONE || COMPILE_TEST
Felipe Balbi5a8d6512016-05-31 13:07:47 +030048 depends on NOP_USB_XCEIV
WingMan Kwok25acdd02013-12-12 12:25:30 -050049 help
50 Enable this to support Keystone USB phy. This driver provides
51 interface to interact with USB 2.0 and USB 3.0 PHY that is part
52 of the Keystone SOC.
53
Felipe Balbia0e63122013-03-07 11:01:15 +020054config NOP_USB_XCEIV
55 tristate "NOP USB Transceiver Driver"
Felipe Balbi5a8d6512016-05-31 13:07:47 +030056 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, NOP can't be built-in
Roger Quadros052a11d2013-06-14 12:51:41 +030057 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +020058 help
59 This driver is to be used by all the usb transceiver which are either
60 built-in with usb ip or which are autonomous and doesn't require any
61 phy programming such as ISP1x04 etc.
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053062
Sebastian Andrzej Siewior3bb869c2013-07-30 21:43:45 +020063config AM335X_CONTROL_USB
64 tristate
65
66config AM335X_PHY_USB
67 tristate "AM335x USB PHY Driver"
Dave Jones7ba01272013-09-03 17:35:52 -040068 depends on ARM || COMPILE_TEST
Felipe Balbi5a8d6512016-05-31 13:07:47 +030069 depends on NOP_USB_XCEIV
Sebastian Andrzej Siewior3bb869c2013-07-30 21:43:45 +020070 select USB_PHY
71 select AM335X_CONTROL_USB
Bin Liu59f042f2015-12-08 10:31:50 -060072 select USB_COMMON
Sebastian Andrzej Siewior3bb869c2013-07-30 21:43:45 +020073 help
74 This driver provides PHY support for that phy which part for the
75 AM335x SoC.
76
Felipe Balbia0e63122013-03-07 11:01:15 +020077config SAMSUNG_USBPHY
Tomasz Figa62787032013-05-16 11:57:06 +020078 tristate
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +053079 help
Vivek Gautamdc2377d2013-03-14 15:59:10 +053080 Enable this to support Samsung USB phy helper driver for Samsung SoCs.
81 This driver provides common interface to interact, for Samsung USB 2.0 PHY
82 driver and later for Samsung USB 3.0 PHY driver.
83
Felipe Balbia0e63122013-03-07 11:01:15 +020084config TWL6030_USB
85 tristate "TWL6030 USB Transceiver Driver"
86 depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
Felipe Balbia0e63122013-03-07 11:01:15 +020087 help
88 Enable this to support the USB OTG transceiver on TWL6030
89 family chips. This TWL6030 transceiver has the VBUS and ID GND
90 and OTG SRP events capabilities. For all other transceiver functionality
91 UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
92 are hooked to this driver through platform_data structure.
93 The definition of internal PHY APIs are in the mach-omap2 layer.
94
95config USB_GPIO_VBUS
96 tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
Geert Uytterhoevendb978e22015-05-05 18:32:38 +020097 depends on GPIOLIB || COMPILE_TEST
Felipe Balbi5a8d6512016-05-31 13:07:47 +030098 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
Roger Quadros052a11d2013-06-14 12:51:41 +030099 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200100 help
101 Provides simple GPIO VBUS sensing for controllers with an
102 internal transceiver via the usb_phy interface, and
103 optionally control of a D+ pullup GPIO as well as a VBUS
104 current limit regulator.
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +0530105
Aaro Koskinen449d2ba2013-12-06 16:13:06 +0200106config OMAP_OTG
107 tristate "OMAP USB OTG controller driver"
108 depends on ARCH_OMAP_OTG && EXTCON
109 help
110 Enable this to support some transceivers on OMAP1 platforms. OTG
111 controller is needed to switch between host and peripheral modes.
112
113 This driver can also be built as a module. If so, the module
Aaro Koskinen12c8d642013-12-21 20:37:38 +0200114 will be called phy-omap-otg.
Aaro Koskinen449d2ba2013-12-06 16:13:06 +0200115
Aaro Koskinen9ba96ae2013-12-06 16:13:07 +0200116config TAHVO_USB
117 tristate "Tahvo USB transceiver driver"
118 depends on MFD_RETU && EXTCON
Felipe Balbi5a8d6512016-05-31 13:07:47 +0300119 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
Aaro Koskinen9ba96ae2013-12-06 16:13:07 +0200120 select USB_PHY
121 help
122 Enable this to support USB transceiver on Tahvo. This is used
123 at least on Nokia 770.
124
125config TAHVO_USB_HOST_BY_DEFAULT
126 depends on TAHVO_USB
Christoph Jaeger6341e622014-12-20 15:41:11 -0500127 bool "Device in USB host mode by default"
Aaro Koskinen9ba96ae2013-12-06 16:13:07 +0200128 help
129 Say Y here, if you want the device to enter USB host mode
130 by default on bootup.
131
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200132config USB_ISP1301
133 tristate "NXP ISP1301 USB transceiver support"
Alexandre Pereira da Silvac6156322012-06-26 11:56:48 -0300134 depends on USB || USB_GADGET
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200135 depends on I2C
Roger Quadros052a11d2013-06-14 12:51:41 +0300136 select USB_PHY
Roland Stigge8b7c3b62012-04-29 16:47:04 +0200137 help
138 Say Y here to add support for the NXP ISP1301 USB transceiver driver.
139 This chip is typically used as USB transceiver for USB host, gadget
140 and OTG drivers (to be selected separately).
141
142 To compile this driver as a module, choose M here: the
Aaro Koskinen12c8d642013-12-21 20:37:38 +0200143 module will be called phy-isp1301.
Yu Xua67e76a2012-08-09 22:29:31 +0800144
Felipe Balbia0e63122013-03-07 11:01:15 +0200145config USB_MSM_OTG
Ivan T. Ivanov0d092fd2014-04-28 16:34:04 +0300146 tristate "Qualcomm on-chip USB OTG controller support"
Stephen Boyd46f5cac2015-03-13 11:09:42 -0700147 depends on (USB || USB_GADGET) && (ARCH_QCOM || COMPILE_TEST)
Felipe Balbi5a8d6512016-05-31 13:07:47 +0300148 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
Arnd Bergmannc5ab5712014-05-13 21:46:52 +0200149 depends on RESET_CONTROLLER
Ivan T. Ivanov591fc112015-04-09 11:34:22 +0300150 depends on EXTCON
Roger Quadros052a11d2013-06-14 12:51:41 +0300151 select USB_PHY
Yu Xua67e76a2012-08-09 22:29:31 +0800152 help
Ivan T. Ivanov0d092fd2014-04-28 16:34:04 +0300153 Enable this to support the USB OTG transceiver on Qualcomm chips. It
Felipe Balbia0e63122013-03-07 11:01:15 +0200154 handles PHY initialization, clock management, and workarounds
155 required after resetting the hardware and power management.
156 This driver is required even for peripheral only or host only
157 mode configurations.
158 This driver is not supported on boards like trout which
159 has an external PHY.
160
Ivan T. Ivanov35116992015-07-08 17:57:40 +0300161config USB_QCOM_8X16_PHY
162 tristate "Qualcomm APQ8016/MSM8916 on-chip USB PHY controller support"
163 depends on ARCH_QCOM || COMPILE_TEST
Randy Dunlap88ccdbd2015-09-10 10:37:39 -0700164 depends on RESET_CONTROLLER && EXTCON
Ivan T. Ivanov35116992015-07-08 17:57:40 +0300165 select USB_PHY
166 select USB_ULPI_VIEWPORT
167 help
168 Enable this to support the USB transceiver on Qualcomm 8x16 chipsets.
169 It handles PHY initialization, clock management, power management,
170 and workarounds required after resetting the hardware.
171
172 To compile this driver as a module, choose M here: the
173 module will be called phy-qcom-8x16-usb.
174
Felipe Balbia0e63122013-03-07 11:01:15 +0200175config USB_MV_OTG
176 tristate "Marvell USB OTG support"
Peter Chenc4f16132015-11-19 11:47:47 +0800177 depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG
Felipe Balbi5a8d6512016-05-31 13:07:47 +0300178 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
Roger Quadros052a11d2013-06-14 12:51:41 +0300179 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200180 help
181 Say Y here if you want to build Marvell USB OTG transciever
182 driver in kernel (including PXA and MMP series). This driver
183 implements role switch between EHCI host driver and gadget driver.
184
185 To compile this driver as a module, choose M here.
186
187config USB_MXS_PHY
188 tristate "Freescale MXS USB PHY support"
189 depends on ARCH_MXC || ARCH_MXS
190 select STMP_DEVICE
Roger Quadros052a11d2013-06-14 12:51:41 +0300191 select USB_PHY
Felipe Balbia0e63122013-03-07 11:01:15 +0200192 help
193 Enable this to support the Freescale MXS USB PHY.
194
195 MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
Kuninori Morimoto1789e522012-10-31 19:03:11 -0700196
Felipe Balbia0e63122013-03-07 11:01:15 +0200197config USB_ULPI
198 bool "Generic ULPI Transceiver Driver"
Liviu Dudau113229b2014-05-14 20:17:30 +0100199 depends on ARM || ARM64
Ivan T. Ivanov1ea276c2015-03-21 15:25:52 +0200200 select USB_ULPI_VIEWPORT
Praveen Paneri337dc3a2012-11-23 16:03:06 +0530201 help
Felipe Balbia0e63122013-03-07 11:01:15 +0200202 Enable this to support ULPI connected USB OTG transceivers which
203 are likely found on embedded boards.
204
205config USB_ULPI_VIEWPORT
206 bool
Felipe Balbia0e63122013-03-07 11:01:15 +0200207 help
208 Provides read/write operations to the ULPI phy register set for
209 controllers with a viewport register (e.g. Chipidea/ARC controllers).
210
Roger Quadros052a11d2013-06-14 12:51:41 +0300211endmenu