]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/phy/Kconfig
f2b458fc0c8939888b8c548126d1ecc974809bbf
[karo-tx-linux.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_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
27 config 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
34 config 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
41 config ARMADA375_USBCLUSTER_PHY
42         def_bool y
43         depends on MACH_ARMADA_375 || COMPILE_TEST
44         depends on OF && HAS_IOMEM
45         select GENERIC_PHY
46
47 config PHY_DM816X_USB
48         tristate "TI dm816x USB PHY driver"
49         depends on ARCH_OMAP2PLUS
50         depends on USB_SUPPORT
51         select GENERIC_PHY
52         select USB_PHY
53         help
54           Enable this for dm816x USB to work.
55
56 config PHY_EXYNOS_MIPI_VIDEO
57         tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
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
62         help
63           Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
64           and EXYNOS SoCs.
65
66 config 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
77 config PHY_PXA_28NM_HSIC
78         tristate "Marvell USB HSIC 28nm PHY Driver"
79         depends on HAS_IOMEM
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
88 config PHY_PXA_28NM_USB2
89         tristate "Marvell USB 2.0 28nm PHY Driver"
90         depends on HAS_IOMEM
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
99 config PHY_MVEBU_SATA
100         def_bool y
101         depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
102         depends on OF
103         select GENERIC_PHY
104
105 config 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
113 config PHY_MIPHY365X
114         tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
115         depends on ARCH_STI
116         depends on HAS_IOMEM
117         depends on OF
118         select GENERIC_PHY
119         help
120           Enable this to support the miphy transceiver (for SATA/PCIE)
121           that is part of STMicroelectronics STiH41x SoC series.
122
123 config PHY_RCAR_GEN2
124         tristate "Renesas R-Car generation 2 USB PHY driver"
125         depends on ARCH_RENESAS
126         depends on GENERIC_PHY
127         help
128           Support for USB PHY found on Renesas R-Car generation 2 SoCs.
129
130 config PHY_RCAR_GEN3_USB2
131         tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
132         depends on ARCH_RENESAS
133         depends on EXTCON
134         select GENERIC_PHY
135         help
136           Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs.
137
138 config OMAP_CONTROL_PHY
139         tristate "OMAP CONTROL PHY Driver"
140         depends on ARCH_OMAP2PLUS || COMPILE_TEST
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
149 config OMAP_USB2
150         tristate "OMAP USB2 PHY Driver"
151         depends on ARCH_OMAP2PLUS
152         depends on USB_SUPPORT
153         select GENERIC_PHY
154         select USB_PHY
155         select OMAP_CONTROL_PHY
156         depends on OMAP_OCP2SCP
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
163 config TI_PIPE3
164         tristate "TI PIPE3 PHY Driver"
165         depends on ARCH_OMAP2PLUS || COMPILE_TEST
166         select GENERIC_PHY
167         select OMAP_CONTROL_PHY
168         depends on OMAP_OCP2SCP
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
175 config TWL4030_USB
176         tristate "TWL4030 USB Transceiver Driver"
177         depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
178         depends on USB_SUPPORT
179         select GENERIC_PHY
180         select USB_PHY
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
187 config PHY_EXYNOS_DP_VIDEO
188         tristate "EXYNOS SoC series Display Port PHY driver"
189         depends on OF
190         depends on ARCH_EXYNOS || COMPILE_TEST
191         default ARCH_EXYNOS
192         select GENERIC_PHY
193         help
194           Support for Display Port PHY found on Samsung EXYNOS SoCs.
195
196 config BCM_KONA_USB2_PHY
197         tristate "Broadcom Kona USB2 PHY Driver"
198         depends on HAS_IOMEM
199         select GENERIC_PHY
200         help
201           Enable this to support the Broadcom Kona USB 2.0 PHY.
202
203 config 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
218 config 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
226 config PHY_MT65XX_USB3
227         tristate "Mediatek USB3.0 PHY Driver"
228         depends on ARCH_MEDIATEK && OF
229         select GENERIC_PHY
230         help
231           Say 'Y' here to add support for Mediatek USB3.0 PHY driver,
232           it supports multiple usb2.0 and usb3.0 ports.
233
234 config PHY_HI6220_USB
235         tristate "hi6220 USB PHY support"
236         depends on (ARCH_HISI && ARM64) || COMPILE_TEST
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
244 config PHY_SUN4I_USB
245         tristate "Allwinner sunxi SoC USB PHY driver"
246         depends on ARCH_SUNXI && HAS_IOMEM && OF
247         depends on RESET_CONTROLLER
248         depends on EXTCON
249         depends on POWER_SUPPLY
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
258 config PHY_SUN9I_USB
259         tristate "Allwinner sun9i SoC USB PHY driver"
260         depends on ARCH_SUNXI && HAS_IOMEM && OF
261         depends on RESET_CONTROLLER
262         depends on USB_COMMON
263         select GENERIC_PHY
264         help
265           Enable this to support the transceiver that is part of Allwinner
266           sun9i SoCs.
267
268           This driver controls each individual USB 2 host PHY.
269
270 config PHY_SAMSUNG_USB2
271         tristate "Samsung USB 2.0 PHY driver"
272         depends on HAS_IOMEM
273         depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
274         select GENERIC_PHY
275         select MFD_SYSCON
276         default ARCH_EXYNOS
277         help
278           Enable this to support the Samsung USB 2.0 PHY driver for Samsung
279           SoCs. This driver provides the interface for USB 2.0 PHY. Support
280           for particular PHYs will be enabled based on the SoC type in addition
281           to this driver.
282
283 config PHY_S5PV210_USB2
284         bool "Support for S5PV210"
285         depends on PHY_SAMSUNG_USB2
286         depends on ARCH_S5PV210
287         help
288           Enable USB PHY support for S5PV210. This option requires that Samsung
289           USB 2.0 PHY driver is enabled and means that support for this
290           particular SoC is compiled in the driver. In case of S5PV210 two phys
291           are available - device and host.
292
293 config PHY_EXYNOS4210_USB2
294         bool
295         depends on PHY_SAMSUNG_USB2
296         default CPU_EXYNOS4210
297
298 config PHY_EXYNOS4X12_USB2
299         bool
300         depends on PHY_SAMSUNG_USB2
301         default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
302
303 config PHY_EXYNOS5250_USB2
304         bool
305         depends on PHY_SAMSUNG_USB2
306         default SOC_EXYNOS5250 || SOC_EXYNOS5420
307
308 config PHY_EXYNOS5_USBDRD
309         tristate "Exynos5 SoC series USB DRD PHY driver"
310         depends on ARCH_EXYNOS && OF
311         depends on HAS_IOMEM
312         depends on USB_DWC3_EXYNOS
313         select GENERIC_PHY
314         select MFD_SYSCON
315         default y
316         help
317           Enable USB DRD PHY support for Exynos 5 SoC series.
318           This driver provides PHY interface for USB 3.0 DRD controller
319           present on Exynos5 SoC series.
320
321 config PHY_PISTACHIO_USB
322         tristate "IMG Pistachio USB2.0 PHY driver"
323         depends on MACH_PISTACHIO
324         select GENERIC_PHY
325         help
326           Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
327
328 config PHY_QCOM_APQ8064_SATA
329         tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
330         depends on ARCH_QCOM
331         depends on HAS_IOMEM
332         depends on OF
333         select GENERIC_PHY
334
335 config PHY_QCOM_IPQ806X_SATA
336         tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
337         depends on ARCH_QCOM
338         depends on HAS_IOMEM
339         depends on OF
340         select GENERIC_PHY
341
342 config PHY_ROCKCHIP_USB
343         tristate "Rockchip USB2 PHY Driver"
344         depends on ARCH_ROCKCHIP && OF
345         select GENERIC_PHY
346         help
347           Enable this to support the Rockchip USB 2.0 PHY.
348
349 config PHY_ROCKCHIP_EMMC
350         tristate "Rockchip EMMC PHY Driver"
351         depends on ARCH_ROCKCHIP && OF
352         select GENERIC_PHY
353         help
354           Enable this to support the Rockchip EMMC PHY.
355
356 config PHY_ROCKCHIP_DP
357         tristate "Rockchip Display Port PHY Driver"
358         depends on ARCH_ROCKCHIP && OF
359         select GENERIC_PHY
360         help
361           Enable this to support the Rockchip Display Port PHY.
362
363 config PHY_ST_SPEAR1310_MIPHY
364         tristate "ST SPEAR1310-MIPHY driver"
365         select GENERIC_PHY
366         depends on MACH_SPEAR1310 || COMPILE_TEST
367         help
368           Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
369
370 config PHY_ST_SPEAR1340_MIPHY
371         tristate "ST SPEAR1340-MIPHY driver"
372         select GENERIC_PHY
373         depends on MACH_SPEAR1340 || COMPILE_TEST
374         help
375           Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
376
377 config PHY_XGENE
378         tristate "APM X-Gene 15Gbps PHY support"
379         depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
380         select GENERIC_PHY
381         help
382           This option enables support for APM X-Gene SoC multi-purpose PHY.
383
384 config PHY_STIH407_USB
385         tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
386         depends on RESET_CONTROLLER
387         depends on ARCH_STI || COMPILE_TEST
388         select GENERIC_PHY
389         help
390           Enable this support to enable the picoPHY device used by USB2
391           and USB3 controllers on STMicroelectronics STiH407 SoC families.
392
393 config PHY_STIH41X_USB
394         tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
395         depends on ARCH_STI
396         select GENERIC_PHY
397         help
398           Enable this to support the USB transceiver that is part of
399           STMicroelectronics STiH41x SoC series.
400
401 config PHY_QCOM_UFS
402         tristate "Qualcomm UFS PHY driver"
403         depends on OF && ARCH_QCOM
404         select GENERIC_PHY
405         help
406           Support for UFS PHY on QCOM chipsets.
407
408 config PHY_TUSB1210
409         tristate "TI TUSB1210 ULPI PHY module"
410         depends on USB_ULPI_BUS
411         select GENERIC_PHY
412         help
413           Support for TI TUSB1210 USB ULPI PHY.
414
415 config PHY_BRCM_SATA
416         tristate "Broadcom SATA PHY driver"
417         depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || COMPILE_TEST
418         depends on OF
419         select GENERIC_PHY
420         default ARCH_BCM_IPROC
421         help
422           Enable this to support the Broadcom SATA PHY.
423           If unsure, say N.
424
425 config PHY_CYGNUS_PCIE
426         tristate "Broadcom Cygnus PCIe PHY driver"
427         depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
428         select GENERIC_PHY
429         default ARCH_BCM_CYGNUS
430         help
431           Enable this to support the Broadcom Cygnus PCIe PHY.
432           If unsure, say N.
433
434 endmenu