]> git.karo-electronics.de Git - linux-beck.git/blob - drivers/phy/Kconfig
phy: rcar-gen3-usb2: add extcon support
[linux-beck.git] / drivers / phy / Kconfig
1 #
2 # PHY
3 #
4
5 menu "PHY Subsystem"
6
7 config GENERIC_PHY
8         bool "PHY Core"
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
18 config 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
25 config 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
32 config ARMADA375_USBCLUSTER_PHY
33         def_bool y
34         depends on MACH_ARMADA_375 || COMPILE_TEST
35         depends on OF && HAS_IOMEM
36         select GENERIC_PHY
37
38 config PHY_DM816X_USB
39         tristate "TI dm816x USB PHY driver"
40         depends on ARCH_OMAP2PLUS
41         depends on USB_SUPPORT
42         select GENERIC_PHY
43         select USB_PHY
44         help
45           Enable this for dm816x USB to work.
46
47 config PHY_EXYNOS_MIPI_VIDEO
48         tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
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
53         help
54           Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
55           and EXYNOS SoCs.
56
57 config 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
68 config PHY_PXA_28NM_HSIC
69         tristate "Marvell USB HSIC 28nm PHY Driver"
70         depends on HAS_IOMEM
71         select GENERIC_PHY
72         help
73           Enable this to support Marvell USB HSIC PHY driver for Marvell
74           SoC. This driver will do the PHY initialization and shutdown.
75           The PHY driver will be used by Marvell ehci driver.
76
77           To compile this driver as a module, choose M here.
78
79 config PHY_PXA_28NM_USB2
80         tristate "Marvell USB 2.0 28nm PHY Driver"
81         depends on HAS_IOMEM
82         select GENERIC_PHY
83         help
84           Enable this to support Marvell USB 2.0 PHY driver for Marvell
85           SoC. This driver will do the PHY initialization and shutdown.
86           The PHY driver will be used by Marvell udc/ehci/otg driver.
87
88           To compile this driver as a module, choose M here.
89
90 config PHY_MVEBU_SATA
91         def_bool y
92         depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
93         depends on OF
94         select GENERIC_PHY
95
96 config PHY_MIPHY28LP
97         tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
98         depends on ARCH_STI
99         select GENERIC_PHY
100         help
101           Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
102           that is part of STMicroelectronics STiH407 SoC.
103
104 config PHY_MIPHY365X
105         tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
106         depends on ARCH_STI
107         depends on HAS_IOMEM
108         depends on OF
109         select GENERIC_PHY
110         help
111           Enable this to support the miphy transceiver (for SATA/PCIE)
112           that is part of STMicroelectronics STiH41x SoC series.
113
114 config PHY_RCAR_GEN2
115         tristate "Renesas R-Car generation 2 USB PHY driver"
116         depends on ARCH_RENESAS
117         depends on GENERIC_PHY
118         help
119           Support for USB PHY found on Renesas R-Car generation 2 SoCs.
120
121 config PHY_RCAR_GEN3_USB2
122         tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
123         depends on ARCH_RENESAS
124         depends on EXTCON
125         select GENERIC_PHY
126         help
127           Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs.
128
129 config OMAP_CONTROL_PHY
130         tristate "OMAP CONTROL PHY Driver"
131         depends on ARCH_OMAP2PLUS || COMPILE_TEST
132         help
133           Enable this to add support for the PHY part present in the control
134           module. This driver has API to power on the USB2 PHY and to write to
135           the mailbox. The mailbox is present only in omap4 and the register to
136           power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
137           additional register to power on USB3 PHY/SATA PHY/PCIE PHY
138           (PIPE3 PHY).
139
140 config OMAP_USB2
141         tristate "OMAP USB2 PHY Driver"
142         depends on ARCH_OMAP2PLUS
143         depends on USB_SUPPORT
144         select GENERIC_PHY
145         select USB_PHY
146         select OMAP_CONTROL_PHY
147         depends on OMAP_OCP2SCP
148         help
149           Enable this to support the transceiver that is part of SOC. This
150           driver takes care of all the PHY functionality apart from comparator.
151           The USB OTG controller communicates with the comparator using this
152           driver.
153
154 config TI_PIPE3
155         tristate "TI PIPE3 PHY Driver"
156         depends on ARCH_OMAP2PLUS || COMPILE_TEST
157         select GENERIC_PHY
158         select OMAP_CONTROL_PHY
159         depends on OMAP_OCP2SCP
160         help
161           Enable this to support the PIPE3 PHY that is part of TI SOCs. This
162           driver takes care of all the PHY functionality apart from comparator.
163           This driver interacts with the "OMAP Control PHY Driver" to power
164           on/off the PHY.
165
166 config TWL4030_USB
167         tristate "TWL4030 USB Transceiver Driver"
168         depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
169         depends on USB_SUPPORT
170         select GENERIC_PHY
171         select USB_PHY
172         help
173           Enable this to support the USB OTG transceiver on TWL4030
174           family chips (including the TWL5030 and TPS659x0 devices).
175           This transceiver supports high and full speed devices plus,
176           in host mode, low speed.
177
178 config PHY_EXYNOS_DP_VIDEO
179         tristate "EXYNOS SoC series Display Port PHY driver"
180         depends on OF
181         depends on ARCH_EXYNOS || COMPILE_TEST
182         default ARCH_EXYNOS
183         select GENERIC_PHY
184         help
185           Support for Display Port PHY found on Samsung EXYNOS SoCs.
186
187 config BCM_KONA_USB2_PHY
188         tristate "Broadcom Kona USB2 PHY Driver"
189         depends on HAS_IOMEM
190         select GENERIC_PHY
191         help
192           Enable this to support the Broadcom Kona USB 2.0 PHY.
193
194 config PHY_EXYNOS5250_SATA
195         tristate "Exynos5250 Sata SerDes/PHY driver"
196         depends on SOC_EXYNOS5250
197         depends on HAS_IOMEM
198         depends on OF
199         select GENERIC_PHY
200         select I2C
201         select I2C_S3C2410
202         select MFD_SYSCON
203         help
204           Enable this to support SATA SerDes/Phy found on Samsung's
205           Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
206           SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
207           port to accept one SATA device.
208
209 config PHY_HIX5HD2_SATA
210         tristate "HIX5HD2 SATA PHY Driver"
211         depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
212         select GENERIC_PHY
213         select MFD_SYSCON
214         help
215           Support for SATA PHY on Hisilicon hix5hd2 Soc.
216
217 config PHY_MT65XX_USB3
218         tristate "Mediatek USB3.0 PHY Driver"
219         depends on ARCH_MEDIATEK && OF
220         select GENERIC_PHY
221         help
222           Say 'Y' here to add support for Mediatek USB3.0 PHY driver
223           for mt65xx SoCs. it supports two usb2.0 ports and
224           one usb3.0 port.
225
226 config PHY_HI6220_USB
227         tristate "hi6220 USB PHY support"
228         depends on (ARCH_HISI && ARM64) || COMPILE_TEST
229         select GENERIC_PHY
230         select MFD_SYSCON
231         help
232           Enable this to support the HISILICON HI6220 USB PHY.
233
234           To compile this driver as a module, choose M here.
235
236 config PHY_SUN4I_USB
237         tristate "Allwinner sunxi SoC USB PHY driver"
238         depends on ARCH_SUNXI && HAS_IOMEM && OF
239         depends on RESET_CONTROLLER
240         depends on EXTCON
241         depends on POWER_SUPPLY
242         select GENERIC_PHY
243         help
244           Enable this to support the transceiver that is part of Allwinner
245           sunxi SoCs.
246
247           This driver controls the entire USB PHY block, both the USB OTG
248           parts, as well as the 2 regular USB 2 host PHYs.
249
250 config PHY_SUN9I_USB
251         tristate "Allwinner sun9i SoC USB PHY driver"
252         depends on ARCH_SUNXI && HAS_IOMEM && OF
253         depends on RESET_CONTROLLER
254         depends on USB_COMMON
255         select GENERIC_PHY
256         help
257           Enable this to support the transceiver that is part of Allwinner
258           sun9i SoCs.
259
260           This driver controls each individual USB 2 host PHY.
261
262 config PHY_SAMSUNG_USB2
263         tristate "Samsung USB 2.0 PHY driver"
264         depends on HAS_IOMEM
265         depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
266         select GENERIC_PHY
267         select MFD_SYSCON
268         default ARCH_EXYNOS
269         help
270           Enable this to support the Samsung USB 2.0 PHY driver for Samsung
271           SoCs. This driver provides the interface for USB 2.0 PHY. Support
272           for particular PHYs will be enabled based on the SoC type in addition
273           to this driver.
274
275 config PHY_S5PV210_USB2
276         bool "Support for S5PV210"
277         depends on PHY_SAMSUNG_USB2
278         depends on ARCH_S5PV210
279         help
280           Enable USB PHY support for S5PV210. This option requires that Samsung
281           USB 2.0 PHY driver is enabled and means that support for this
282           particular SoC is compiled in the driver. In case of S5PV210 two phys
283           are available - device and host.
284
285 config PHY_EXYNOS4210_USB2
286         bool
287         depends on PHY_SAMSUNG_USB2
288         default CPU_EXYNOS4210
289
290 config PHY_EXYNOS4X12_USB2
291         bool
292         depends on PHY_SAMSUNG_USB2
293         default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
294
295 config PHY_EXYNOS5250_USB2
296         bool
297         depends on PHY_SAMSUNG_USB2
298         default SOC_EXYNOS5250 || SOC_EXYNOS5420
299
300 config PHY_EXYNOS5_USBDRD
301         tristate "Exynos5 SoC series USB DRD PHY driver"
302         depends on ARCH_EXYNOS && OF
303         depends on HAS_IOMEM
304         depends on USB_DWC3_EXYNOS
305         select GENERIC_PHY
306         select MFD_SYSCON
307         default y
308         help
309           Enable USB DRD PHY support for Exynos 5 SoC series.
310           This driver provides PHY interface for USB 3.0 DRD controller
311           present on Exynos5 SoC series.
312
313 config PHY_PISTACHIO_USB
314         tristate "IMG Pistachio USB2.0 PHY driver"
315         depends on MACH_PISTACHIO
316         select GENERIC_PHY
317         help
318           Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
319
320 config PHY_QCOM_APQ8064_SATA
321         tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
322         depends on ARCH_QCOM
323         depends on HAS_IOMEM
324         depends on OF
325         select GENERIC_PHY
326
327 config PHY_QCOM_IPQ806X_SATA
328         tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
329         depends on ARCH_QCOM
330         depends on HAS_IOMEM
331         depends on OF
332         select GENERIC_PHY
333
334 config PHY_ROCKCHIP_USB
335         tristate "Rockchip USB2 PHY Driver"
336         depends on ARCH_ROCKCHIP && OF
337         select GENERIC_PHY
338         help
339           Enable this to support the Rockchip USB 2.0 PHY.
340
341 config PHY_ROCKCHIP_EMMC
342         tristate "Rockchip EMMC PHY Driver"
343         depends on ARCH_ROCKCHIP && OF
344         select GENERIC_PHY
345         help
346           Enable this to support the Rockchip EMMC PHY.
347
348 config PHY_ROCKCHIP_DP
349         tristate "Rockchip Display Port PHY Driver"
350         depends on ARCH_ROCKCHIP && OF
351         select GENERIC_PHY
352         help
353           Enable this to support the Rockchip Display Port PHY.
354
355 config PHY_ST_SPEAR1310_MIPHY
356         tristate "ST SPEAR1310-MIPHY driver"
357         select GENERIC_PHY
358         depends on MACH_SPEAR1310 || COMPILE_TEST
359         help
360           Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
361
362 config PHY_ST_SPEAR1340_MIPHY
363         tristate "ST SPEAR1340-MIPHY driver"
364         select GENERIC_PHY
365         depends on MACH_SPEAR1340 || COMPILE_TEST
366         help
367           Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
368
369 config PHY_XGENE
370         tristate "APM X-Gene 15Gbps PHY support"
371         depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
372         select GENERIC_PHY
373         help
374           This option enables support for APM X-Gene SoC multi-purpose PHY.
375
376 config PHY_STIH407_USB
377         tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
378         depends on RESET_CONTROLLER
379         depends on ARCH_STI || COMPILE_TEST
380         select GENERIC_PHY
381         help
382           Enable this support to enable the picoPHY device used by USB2
383           and USB3 controllers on STMicroelectronics STiH407 SoC families.
384
385 config PHY_STIH41X_USB
386         tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
387         depends on ARCH_STI
388         select GENERIC_PHY
389         help
390           Enable this to support the USB transceiver that is part of
391           STMicroelectronics STiH41x SoC series.
392
393 config PHY_QCOM_UFS
394         tristate "Qualcomm UFS PHY driver"
395         depends on OF && ARCH_QCOM
396         select GENERIC_PHY
397         help
398           Support for UFS PHY on QCOM chipsets.
399
400 config PHY_TUSB1210
401         tristate "TI TUSB1210 ULPI PHY module"
402         depends on USB_ULPI_BUS
403         select GENERIC_PHY
404         help
405           Support for TI TUSB1210 USB ULPI PHY.
406
407 config PHY_BRCM_SATA
408         tristate "Broadcom SATA PHY driver"
409         depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || COMPILE_TEST
410         depends on OF
411         select GENERIC_PHY
412         default ARCH_BCM_IPROC
413         help
414           Enable this to support the Broadcom SATA PHY.
415           If unsure, say N.
416
417 config PHY_CYGNUS_PCIE
418         tristate "Broadcom Cygnus PCIe PHY driver"
419         depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
420         select GENERIC_PHY
421         default ARCH_BCM_CYGNUS
422         help
423           Enable this to support the Broadcom Cygnus PCIe PHY.
424           If unsure, say N.
425
426 endmenu