]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - drivers/phy/Kconfig
phy-sun4i-usb: Add support for boards with broken Vusb-detection
[mirror_ubuntu-hirsute-kernel.git] / drivers / phy / Kconfig
CommitLineData
ff764963
KVA
1#
2# PHY
3#
4
5menu "PHY Subsystem"
6
7config GENERIC_PHY
b51fbf9f 8 bool "PHY Core"
ff764963
KVA
9 help
10 Generic PHY support.
11
12 This framework is designed to provide a generic interface for PHY
13 devices present in the kernel. This layer will have the generic
14 API by which phy drivers can create PHY using the phy framework and
15 phy users can obtain reference to the PHY. All the users of this
16 framework should select this config.
17
13ebb68c
AT
18config PHY_BERLIN_USB
19 tristate "Marvell Berlin USB PHY Driver"
20 depends on ARCH_BERLIN && RESET_CONTROLLER && HAS_IOMEM && OF
21 select GENERIC_PHY
22 help
23 Enable this to support the USB PHY on Marvell Berlin SoCs.
24
942a31b5
AT
25config PHY_BERLIN_SATA
26 tristate "Marvell Berlin SATA PHY driver"
27 depends on ARCH_BERLIN && HAS_IOMEM && OF
28 select GENERIC_PHY
29 help
30 Enable this to support the SATA PHY on Marvell Berlin SoCs.
31
eee47538
GC
32config ARMADA375_USBCLUSTER_PHY
33 def_bool y
34 depends on MACH_ARMADA_375 || COMPILE_TEST
35 depends on OF
36 select GENERIC_PHY
37
609adde8
TL
38config PHY_DM816X_USB
39 tristate "TI dm816x USB PHY driver"
40 depends on ARCH_OMAP2PLUS
7f7a4d30 41 depends on USB_SUPPORT
609adde8 42 select GENERIC_PHY
7f7a4d30 43 select USB_PHY
609adde8
TL
44 help
45 Enable this for dm816x USB to work.
46
069d2e26
SN
47config PHY_EXYNOS_MIPI_VIDEO
48 tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
13454e5e
SN
49 depends on HAS_IOMEM
50 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
51 select GENERIC_PHY
52 default y if ARCH_S5PV210 || ARCH_EXYNOS
069d2e26
SN
53 help
54 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
55 and EXYNOS SoCs.
56
cbf919bd
JE
57config PHY_LPC18XX_USB_OTG
58 tristate "NXP LPC18xx/43xx SoC USB OTG PHY driver"
59 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
60 depends on MFD_SYSCON
61 select GENERIC_PHY
62 help
63 Enable this to support NXP LPC18xx/43xx internal USB OTG PHY.
64
65 This driver is need for USB0 support on LPC18xx/43xx and takes
66 care of enabling and clock setup.
67
10d9029b
RH
68config PHY_PXA_28NM_HSIC
69 tristate "Marvell USB HSIC 28nm PHY Driver"
70 select GENERIC_PHY
71 help
72 Enable this to support Marvell USB HSIC PHY driver for Marvell
73 SoC. This driver will do the PHY initialization and shutdown.
74 The PHY driver will be used by Marvell ehci driver.
75
76 To compile this driver as a module, choose M here.
77
603c5f9d
RH
78config PHY_PXA_28NM_USB2
79 tristate "Marvell USB 2.0 28nm PHY Driver"
80 select GENERIC_PHY
81 help
82 Enable this to support Marvell USB 2.0 PHY driver for Marvell
83 SoC. This driver will do the PHY initialization and shutdown.
84 The PHY driver will be used by Marvell udc/ehci/otg driver.
85
86 To compile this driver as a module, choose M here.
87
e3eae857
AL
88config PHY_MVEBU_SATA
89 def_bool y
74d64b59 90 depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
e3eae857
AL
91 depends on OF
92 select GENERIC_PHY
93
2c14e9be
GF
94config PHY_MIPHY28LP
95 tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
96 depends on ARCH_STI
97 select GENERIC_PHY
98 help
99 Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
100 that is part of STMicroelectronics STiH407 SoC.
101
6e877fed
LJ
102config PHY_MIPHY365X
103 tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
104 depends on ARCH_STI
6e877fed
LJ
105 depends on HAS_IOMEM
106 depends on OF
fbb1a770 107 select GENERIC_PHY
6e877fed
LJ
108 help
109 Enable this to support the miphy transceiver (for SATA/PCIE)
110 that is part of STMicroelectronics STiH41x SoC series.
111
1233f59f
SS
112config PHY_RCAR_GEN2
113 tristate "Renesas R-Car generation 2 USB PHY driver"
114 depends on ARCH_SHMOBILE
115 depends on GENERIC_PHY
116 help
117 Support for USB PHY found on Renesas R-Car generation 2 SoCs.
118
14da699b
KVA
119config OMAP_CONTROL_PHY
120 tristate "OMAP CONTROL PHY Driver"
907aa3aa 121 depends on ARCH_OMAP2PLUS || COMPILE_TEST
14da699b
KVA
122 help
123 Enable this to add support for the PHY part present in the control
124 module. This driver has API to power on the USB2 PHY and to write to
125 the mailbox. The mailbox is present only in omap4 and the register to
126 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
127 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
128 (PIPE3 PHY).
129
5d93d1e7
KVA
130config OMAP_USB2
131 tristate "OMAP USB2 PHY Driver"
132 depends on ARCH_OMAP2PLUS
7f7a4d30 133 depends on USB_SUPPORT
5d93d1e7 134 select GENERIC_PHY
7f7a4d30 135 select USB_PHY
14da699b 136 select OMAP_CONTROL_PHY
02133b9e 137 depends on OMAP_OCP2SCP
5d93d1e7
KVA
138 help
139 Enable this to support the transceiver that is part of SOC. This
140 driver takes care of all the PHY functionality apart from comparator.
141 The USB OTG controller communicates with the comparator using this
142 driver.
143
a70143bb
KVA
144config TI_PIPE3
145 tristate "TI PIPE3 PHY Driver"
146 depends on ARCH_OMAP2PLUS || COMPILE_TEST
147 select GENERIC_PHY
14da699b 148 select OMAP_CONTROL_PHY
02133b9e 149 depends on OMAP_OCP2SCP
a70143bb
KVA
150 help
151 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
152 driver takes care of all the PHY functionality apart from comparator.
153 This driver interacts with the "OMAP Control PHY Driver" to power
154 on/off the PHY.
155
6747caa7
KVA
156config TWL4030_USB
157 tristate "TWL4030 USB Transceiver Driver"
158 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
7f7a4d30 159 depends on USB_SUPPORT
6747caa7 160 select GENERIC_PHY
7f7a4d30 161 select USB_PHY
6747caa7
KVA
162 help
163 Enable this to support the USB OTG transceiver on TWL4030
164 family chips (including the TWL5030 and TPS659x0 devices).
165 This transceiver supports high and full speed devices plus,
166 in host mode, low speed.
167
74988e8b
JH
168config PHY_EXYNOS_DP_VIDEO
169 tristate "EXYNOS SoC series Display Port PHY driver"
170 depends on OF
a50ce20e
SN
171 depends on ARCH_EXYNOS || COMPILE_TEST
172 default ARCH_EXYNOS
74988e8b
JH
173 select GENERIC_PHY
174 help
175 Support for Display Port PHY found on Samsung EXYNOS SoCs.
176
7597fdfc
MP
177config BCM_KONA_USB2_PHY
178 tristate "Broadcom Kona USB2 PHY Driver"
06c304e8 179 depends on HAS_IOMEM
3fc03f3d 180 select GENERIC_PHY
7597fdfc
MP
181 help
182 Enable this to support the Broadcom Kona USB 2.0 PHY.
183
bcff4cba
YK
184config PHY_EXYNOS5250_SATA
185 tristate "Exynos5250 Sata SerDes/PHY driver"
186 depends on SOC_EXYNOS5250
187 depends on HAS_IOMEM
188 depends on OF
189 select GENERIC_PHY
190 select I2C
191 select I2C_S3C2410
192 select MFD_SYSCON
193 help
194 Enable this to support SATA SerDes/Phy found on Samsung's
195 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
196 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
197 port to accept one SATA device.
198
e379413a
JX
199config PHY_HIX5HD2_SATA
200 tristate "HIX5HD2 SATA PHY Driver"
201 depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
202 select GENERIC_PHY
203 select MFD_SYSCON
204 help
205 Support for SATA PHY on Hisilicon hix5hd2 Soc.
206
ba4bdc9e
HG
207config PHY_SUN4I_USB
208 tristate "Allwinner sunxi SoC USB PHY driver"
209 depends on ARCH_SUNXI && HAS_IOMEM && OF
9820ccba 210 depends on RESET_CONTROLLER
1a52abe6 211 depends on EXTCON
ba4bdc9e
HG
212 select GENERIC_PHY
213 help
214 Enable this to support the transceiver that is part of Allwinner
215 sunxi SoCs.
216
217 This driver controls the entire USB PHY block, both the USB OTG
218 parts, as well as the 2 regular USB 2 host PHYs.
219
9c3b4430
CYT
220config PHY_SUN9I_USB
221 tristate "Allwinner sun9i SoC USB PHY driver"
222 depends on ARCH_SUNXI && HAS_IOMEM && OF
223 depends on RESET_CONTROLLER
224 select GENERIC_PHY
225 help
226 Enable this to support the transceiver that is part of Allwinner
227 sun9i SoCs.
228
229 This driver controls each individual USB 2 host PHY.
230
06fb0137
KD
231config PHY_SAMSUNG_USB2
232 tristate "Samsung USB 2.0 PHY driver"
4732aee9 233 depends on HAS_IOMEM
d6125af9 234 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
06fb0137
KD
235 select GENERIC_PHY
236 select MFD_SYSCON
d6125af9 237 default ARCH_EXYNOS
06fb0137
KD
238 help
239 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
d6125af9
SK
240 SoCs. This driver provides the interface for USB 2.0 PHY. Support
241 for particular PHYs will be enabled based on the SoC type in addition
242 to this driver.
06fb0137 243
949ccc3a
MK
244config PHY_S5PV210_USB2
245 bool "Support for S5PV210"
246 depends on PHY_SAMSUNG_USB2
247 depends on ARCH_S5PV210
248 help
249 Enable USB PHY support for S5PV210. This option requires that Samsung
250 USB 2.0 PHY driver is enabled and means that support for this
251 particular SoC is compiled in the driver. In case of S5PV210 two phys
252 are available - device and host.
253
06fb0137 254config PHY_EXYNOS4210_USB2
d6125af9 255 bool
06fb0137 256 depends on PHY_SAMSUNG_USB2
d6125af9 257 default CPU_EXYNOS4210
06fb0137
KD
258
259config PHY_EXYNOS4X12_USB2
d6125af9 260 bool
06fb0137 261 depends on PHY_SAMSUNG_USB2
d6125af9 262 default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
64bf2b23
KD
263
264config PHY_EXYNOS5250_USB2
d6125af9 265 bool
64bf2b23 266 depends on PHY_SAMSUNG_USB2
d6125af9 267 default SOC_EXYNOS5250 || SOC_EXYNOS5420
64bf2b23 268
59025887
VG
269config PHY_EXYNOS5_USBDRD
270 tristate "Exynos5 SoC series USB DRD PHY driver"
556186a0 271 depends on ARCH_EXYNOS && OF
59025887 272 depends on HAS_IOMEM
c233f529 273 depends on USB_DWC3_EXYNOS
59025887
VG
274 select GENERIC_PHY
275 select MFD_SYSCON
c233f529 276 default y
59025887
VG
277 help
278 Enable USB DRD PHY support for Exynos 5 SoC series.
279 This driver provides PHY interface for USB 3.0 DRD controller
280 present on Exynos5 SoC series.
281
57991eba
AB
282config PHY_PISTACHIO_USB
283 tristate "IMG Pistachio USB2.0 PHY driver"
284 depends on MACH_PISTACHIO
285 select GENERIC_PHY
286 help
287 Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
288
1de990d8
SK
289config PHY_QCOM_APQ8064_SATA
290 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
291 depends on ARCH_QCOM
292 depends on HAS_IOMEM
293 depends on OF
294 select GENERIC_PHY
295
4f6160d4
KG
296config PHY_QCOM_IPQ806X_SATA
297 tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
298 depends on ARCH_QCOM
299 depends on HAS_IOMEM
300 depends on OF
301 select GENERIC_PHY
302
64d11406
YL
303config PHY_ROCKCHIP_USB
304 tristate "Rockchip USB2 PHY Driver"
305 depends on ARCH_ROCKCHIP && OF
306 select GENERIC_PHY
307 help
308 Enable this to support the Rockchip USB 2.0 PHY.
309
64562e99
PA
310config PHY_ST_SPEAR1310_MIPHY
311 tristate "ST SPEAR1310-MIPHY driver"
312 select GENERIC_PHY
6100a7c1 313 depends on MACH_SPEAR1310 || COMPILE_TEST
64562e99
PA
314 help
315 Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
316
317config PHY_ST_SPEAR1340_MIPHY
318 tristate "ST SPEAR1340-MIPHY driver"
319 select GENERIC_PHY
7652d35f 320 depends on MACH_SPEAR1340 || COMPILE_TEST
64562e99
PA
321 help
322 Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
323
10c8e056
LT
324config PHY_XGENE
325 tristate "APM X-Gene 15Gbps PHY support"
326 depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
327 select GENERIC_PHY
328 help
329 This option enables support for APM X-Gene SoC multi-purpose PHY.
330
89ae1f5d
PG
331config PHY_STIH407_USB
332 tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
333 depends on RESET_CONTROLLER
334 depends on ARCH_STI || COMPILE_TEST
335 select GENERIC_PHY
336 help
337 Enable this support to enable the picoPHY device used by USB2
338 and USB3 controllers on STMicroelectronics STiH407 SoC families.
339
3f8da2e3
PG
340config PHY_STIH41X_USB
341 tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
342 depends on ARCH_STI
343 select GENERIC_PHY
344 help
345 Enable this to support the USB transceiver that is part of
346 STMicroelectronics STiH41x SoC series.
347
adaafaa3
YG
348config PHY_QCOM_UFS
349 tristate "Qualcomm UFS PHY driver"
4d051f74 350 depends on OF && ARCH_QCOM
adaafaa3
YG
351 select GENERIC_PHY
352 help
353 Support for UFS PHY on QCOM chipsets.
354
1c14905e
HK
355config PHY_TUSB1210
356 tristate "TI TUSB1210 ULPI PHY module"
357 depends on USB_ULPI_BUS
358 select GENERIC_PHY
359 help
360 Support for TI TUSB1210 USB ULPI PHY.
361
0d486806
BN
362config PHY_BRCMSTB_SATA
363 tristate "Broadcom STB SATA PHY driver"
364 depends on ARCH_BRCMSTB
365 depends on OF
366 select GENERIC_PHY
367 help
368 Enable this to support the SATA3 PHY on 28nm Broadcom STB SoCs.
369 Likely useful only with CONFIG_SATA_BRCMSTB enabled.
370
ff764963 371endmenu