]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/usb/phy/Kconfig
usb: phy: isp1301-omap: fix smatch warnings
[mirror_ubuntu-bionic-kernel.git] / drivers / usb / phy / Kconfig
CommitLineData
8b7c3b68
RS
1#
2# Physical Layer USB driver configuration
3#
052a11d1 4menu "USB Physical Layer drivers"
035978be 5
052a11d1
RQ
6config USB_PHY
7 def_bool n
8b7c3b68 8
e1d2e319
AT
9config 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
a0e63123
FB
17#
18# USB Transceiver Drivers
19#
20config AB8500_USB
21 tristate "AB8500 USB Transceiver Driver"
22 depends on AB8500_CORE
052a11d1 23 select USB_PHY
a0e63123
FB
24 help
25 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"
e1d2e319 31 depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME
a0e63123 32 select USB_OTG
052a11d1 33 select USB_PHY
a0e63123
FB
34 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
052a11d1 40 select USB_PHY
a0e63123
FB
41 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
25acdd08
WK
51config KEYSTONE_USB_PHY
52 tristate "Keystone USB PHY Driver"
53 depends on ARCH_KEYSTONE || COMPILE_TEST
54 select NOP_USB_XCEIV
55 help
56 Enable this to support Keystone USB phy. This driver provides
57 interface to interact with USB 2.0 and USB 3.0 PHY that is part
58 of the Keystone SOC.
59
a0e63123
FB
60config MV_U3D_PHY
61 bool "Marvell USB 3.0 PHY controller Driver"
60630c2e 62 depends on CPU_MMP3
052a11d1 63 select USB_PHY
a0e63123
FB
64 help
65 Enable this to support Marvell USB 3.0 phy controller for Marvell
66 SoC.
67
68config NOP_USB_XCEIV
69 tristate "NOP USB Transceiver Driver"
052a11d1 70 select USB_PHY
a0e63123
FB
71 help
72 This driver is to be used by all the usb transceiver which are either
73 built-in with usb ip or which are autonomous and doesn't require any
74 phy programming such as ISP1x04 etc.
75
76config OMAP_CONTROL_USB
77 tristate "OMAP CONTROL USB Driver"
4e682bbd 78 depends on ARCH_OMAP2PLUS || COMPILE_TEST
a0e63123
FB
79 help
80 Enable this to add support for the USB part present in the control
81 module. This driver has API to power on the USB2 PHY and to write to
82 the mailbox. The mailbox is present only in omap4 and the register to
83 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
84 additional register to power on USB3 PHY.
8b7c3b68 85
57f6ce07
KVA
86config OMAP_USB3
87 tristate "OMAP USB3 PHY Driver"
4e682bbd 88 depends on ARCH_OMAP2PLUS || COMPILE_TEST
57f6ce07 89 select OMAP_CONTROL_USB
052a11d1 90 select USB_PHY
57f6ce07
KVA
91 help
92 Enable this to support the USB3 PHY that is part of SOC. This
93 driver takes care of all the PHY functionality apart from comparator.
94 This driver interacts with the "OMAP Control USB Driver" to power
95 on/off the PHY.
96
3bb869c8
SAS
97config AM335X_CONTROL_USB
98 tristate
99
100config AM335X_PHY_USB
101 tristate "AM335x USB PHY Driver"
7ba01278 102 depends on ARM || COMPILE_TEST
3bb869c8
SAS
103 select USB_PHY
104 select AM335X_CONTROL_USB
105 select NOP_USB_XCEIV
106 help
107 This driver provides PHY support for that phy which part for the
108 AM335x SoC.
109
a0e63123 110config SAMSUNG_USBPHY
6278703b 111 tristate
01658f0f 112 help
dc2377d0
VG
113 Enable this to support Samsung USB phy helper driver for Samsung SoCs.
114 This driver provides common interface to interact, for Samsung USB 2.0 PHY
115 driver and later for Samsung USB 3.0 PHY driver.
116
117config SAMSUNG_USB2PHY
118 tristate "Samsung USB 2.0 PHY controller Driver"
119 select SAMSUNG_USBPHY
052a11d1 120 select USB_PHY
dc2377d0
VG
121 help
122 Enable this to support Samsung USB 2.0 (High Speed) PHY controller
123 driver for Samsung SoCs.
a0e63123 124
b5276758
VG
125config SAMSUNG_USB3PHY
126 tristate "Samsung USB 3.0 PHY controller Driver"
127 select SAMSUNG_USBPHY
052a11d1 128 select USB_PHY
b5276758
VG
129 help
130 Enable this to support Samsung USB 3.0 (Super Speed) phy controller
131 for samsung SoCs.
132
a0e63123
FB
133config TWL6030_USB
134 tristate "TWL6030 USB Transceiver Driver"
135 depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
a0e63123
FB
136 help
137 Enable this to support the USB OTG transceiver on TWL6030
138 family chips. This TWL6030 transceiver has the VBUS and ID GND
139 and OTG SRP events capabilities. For all other transceiver functionality
140 UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
141 are hooked to this driver through platform_data structure.
142 The definition of internal PHY APIs are in the mach-omap2 layer.
143
144config USB_GPIO_VBUS
145 tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
5647ac0a 146 depends on GPIOLIB
052a11d1 147 select USB_PHY
a0e63123
FB
148 help
149 Provides simple GPIO VBUS sensing for controllers with an
150 internal transceiver via the usb_phy interface, and
151 optionally control of a D+ pullup GPIO as well as a VBUS
152 current limit regulator.
01658f0f 153
449d2ba6
AK
154config OMAP_OTG
155 tristate "OMAP USB OTG controller driver"
156 depends on ARCH_OMAP_OTG && EXTCON
157 help
158 Enable this to support some transceivers on OMAP1 platforms. OTG
159 controller is needed to switch between host and peripheral modes.
160
161 This driver can also be built as a module. If so, the module
162 will be called omap-otg.
163
9ba96ae5
AK
164config TAHVO_USB
165 tristate "Tahvo USB transceiver driver"
166 depends on MFD_RETU && EXTCON
167 select USB_PHY
168 help
169 Enable this to support USB transceiver on Tahvo. This is used
170 at least on Nokia 770.
171
172config TAHVO_USB_HOST_BY_DEFAULT
173 depends on TAHVO_USB
174 boolean "Device in USB host mode by default"
175 help
176 Say Y here, if you want the device to enter USB host mode
177 by default on bootup.
178
8b7c3b68
RS
179config USB_ISP1301
180 tristate "NXP ISP1301 USB transceiver support"
c6156328 181 depends on USB || USB_GADGET
8b7c3b68 182 depends on I2C
052a11d1 183 select USB_PHY
8b7c3b68
RS
184 help
185 Say Y here to add support for the NXP ISP1301 USB transceiver driver.
186 This chip is typically used as USB transceiver for USB host, gadget
187 and OTG drivers (to be selected separately).
188
189 To compile this driver as a module, choose M here: the
190 module will be called isp1301.
a67e76ac 191
a0e63123
FB
192config USB_MSM_OTG
193 tristate "OTG support for Qualcomm on-chip USB controller"
194 depends on (USB || USB_GADGET) && ARCH_MSM
052a11d1 195 select USB_PHY
a67e76ac 196 help
a0e63123
FB
197 Enable this to support the USB OTG transceiver on MSM chips. It
198 handles PHY initialization, clock management, and workarounds
199 required after resetting the hardware and power management.
200 This driver is required even for peripheral only or host only
201 mode configurations.
202 This driver is not supported on boards like trout which
203 has an external PHY.
204
205config USB_MV_OTG
206 tristate "Marvell USB OTG support"
98f541c6 207 depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
a0e63123 208 select USB_OTG
052a11d1 209 select USB_PHY
a0e63123
FB
210 help
211 Say Y here if you want to build Marvell USB OTG transciever
212 driver in kernel (including PXA and MMP series). This driver
213 implements role switch between EHCI host driver and gadget driver.
214
215 To compile this driver as a module, choose M here.
216
217config USB_MXS_PHY
218 tristate "Freescale MXS USB PHY support"
219 depends on ARCH_MXC || ARCH_MXS
220 select STMP_DEVICE
052a11d1 221 select USB_PHY
a0e63123
FB
222 help
223 Enable this to support the Freescale MXS USB PHY.
224
225 MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
1789e52a
KM
226
227config USB_RCAR_PHY
54407f19 228 tristate "Renesas R-Car USB PHY support"
1789e52a 229 depends on USB || USB_GADGET
052a11d1 230 select USB_PHY
1789e52a 231 help
54407f19
SS
232 Say Y here to add support for the Renesas R-Car USB common PHY driver.
233 This chip is typically used as USB PHY for USB host, gadget.
234 This driver supports R8A7778 and R8A7779.
1789e52a
KM
235
236 To compile this driver as a module, choose M here: the
54407f19 237 module will be called phy-rcar-usb.
337dc3a7 238
5578b266
VB
239config USB_RCAR_GEN2_PHY
240 tristate "Renesas R-Car Gen2 USB PHY support"
241 depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
242 select USB_PHY
243 help
244 Say Y here to add support for the Renesas R-Car Gen2 USB PHY driver.
245 It is typically used to control internal USB PHY for USBHS,
246 and to configure shared USB channels 0 and 2.
247 This driver supports R8A7790 and R8A7791.
248
249 To compile this driver as a module, choose M here: the
250 module will be called phy-rcar-gen2-usb.
251
a0e63123
FB
252config USB_ULPI
253 bool "Generic ULPI Transceiver Driver"
254 depends on ARM
337dc3a7 255 help
a0e63123
FB
256 Enable this to support ULPI connected USB OTG transceivers which
257 are likely found on embedded boards.
258
259config USB_ULPI_VIEWPORT
260 bool
261 depends on USB_ULPI
337dc3a7 262 help
a0e63123
FB
263 Provides read/write operations to the ULPI phy register set for
264 controllers with a viewport register (e.g. Chipidea/ARC controllers).
265
052a11d1 266endmenu