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