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