xref: /openbmc/linux/drivers/phy/Kconfig (revision 92b19ff5)
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_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
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
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
38config 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
47config 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
57config PHY_PXA_28NM_HSIC
58	tristate "Marvell USB HSIC 28nm PHY Driver"
59	depends on HAS_IOMEM
60	select GENERIC_PHY
61	help
62	  Enable this to support Marvell USB HSIC PHY driver for Marvell
63	  SoC. This driver will do the PHY initialization and shutdown.
64	  The PHY driver will be used by Marvell ehci driver.
65
66	  To compile this driver as a module, choose M here.
67
68config PHY_PXA_28NM_USB2
69	tristate "Marvell USB 2.0 28nm PHY Driver"
70	depends on HAS_IOMEM
71	select GENERIC_PHY
72	help
73	  Enable this to support Marvell USB 2.0 PHY driver for Marvell
74	  SoC. This driver will do the PHY initialization and shutdown.
75	  The PHY driver will be used by Marvell udc/ehci/otg driver.
76
77	  To compile this driver as a module, choose M here.
78
79config PHY_MVEBU_SATA
80	def_bool y
81	depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
82	depends on OF
83	select GENERIC_PHY
84
85config PHY_MIPHY28LP
86	tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
87	depends on ARCH_STI
88	select GENERIC_PHY
89	help
90	  Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
91	  that is part of STMicroelectronics STiH407 SoC.
92
93config PHY_MIPHY365X
94	tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
95	depends on ARCH_STI
96	depends on HAS_IOMEM
97	depends on OF
98	select GENERIC_PHY
99	help
100	  Enable this to support the miphy transceiver (for SATA/PCIE)
101	  that is part of STMicroelectronics STiH41x SoC series.
102
103config PHY_RCAR_GEN2
104	tristate "Renesas R-Car generation 2 USB PHY driver"
105	depends on ARCH_SHMOBILE
106	depends on GENERIC_PHY
107	help
108	  Support for USB PHY found on Renesas R-Car generation 2 SoCs.
109
110config OMAP_CONTROL_PHY
111	tristate "OMAP CONTROL PHY Driver"
112	depends on ARCH_OMAP2PLUS || COMPILE_TEST
113	help
114	  Enable this to add support for the PHY part present in the control
115	  module. This driver has API to power on the USB2 PHY and to write to
116	  the mailbox. The mailbox is present only in omap4 and the register to
117	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
118	  additional register to power on USB3 PHY/SATA PHY/PCIE PHY
119	  (PIPE3 PHY).
120
121config OMAP_USB2
122	tristate "OMAP USB2 PHY Driver"
123	depends on ARCH_OMAP2PLUS
124	depends on USB_SUPPORT
125	select GENERIC_PHY
126	select USB_PHY
127	select OMAP_CONTROL_PHY
128	depends on OMAP_OCP2SCP
129	help
130	  Enable this to support the transceiver that is part of SOC. This
131	  driver takes care of all the PHY functionality apart from comparator.
132	  The USB OTG controller communicates with the comparator using this
133	  driver.
134
135config TI_PIPE3
136	tristate "TI PIPE3 PHY Driver"
137	depends on ARCH_OMAP2PLUS || COMPILE_TEST
138	select GENERIC_PHY
139	select OMAP_CONTROL_PHY
140	depends on OMAP_OCP2SCP
141	help
142	  Enable this to support the PIPE3 PHY that is part of TI SOCs. This
143	  driver takes care of all the PHY functionality apart from comparator.
144	  This driver interacts with the "OMAP Control PHY Driver" to power
145	  on/off the PHY.
146
147config TWL4030_USB
148	tristate "TWL4030 USB Transceiver Driver"
149	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
150	depends on USB_SUPPORT
151	select GENERIC_PHY
152	select USB_PHY
153	help
154	  Enable this to support the USB OTG transceiver on TWL4030
155	  family chips (including the TWL5030 and TPS659x0 devices).
156	  This transceiver supports high and full speed devices plus,
157	  in host mode, low speed.
158
159config PHY_EXYNOS_DP_VIDEO
160	tristate "EXYNOS SoC series Display Port PHY driver"
161	depends on OF
162	depends on ARCH_EXYNOS || COMPILE_TEST
163	default ARCH_EXYNOS
164	select GENERIC_PHY
165	help
166	  Support for Display Port PHY found on Samsung EXYNOS SoCs.
167
168config BCM_KONA_USB2_PHY
169	tristate "Broadcom Kona USB2 PHY Driver"
170	depends on HAS_IOMEM
171	select GENERIC_PHY
172	help
173	  Enable this to support the Broadcom Kona USB 2.0 PHY.
174
175config PHY_EXYNOS5250_SATA
176	tristate "Exynos5250 Sata SerDes/PHY driver"
177	depends on SOC_EXYNOS5250
178	depends on HAS_IOMEM
179	depends on OF
180	select GENERIC_PHY
181	select I2C
182	select I2C_S3C2410
183	select MFD_SYSCON
184	help
185	  Enable this to support SATA SerDes/Phy found on Samsung's
186	  Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
187	  SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
188	  port to accept one SATA device.
189
190config PHY_HIX5HD2_SATA
191	tristate "HIX5HD2 SATA PHY Driver"
192	depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
193	select GENERIC_PHY
194	select MFD_SYSCON
195	help
196	  Support for SATA PHY on Hisilicon hix5hd2 Soc.
197
198config PHY_SUN4I_USB
199	tristate "Allwinner sunxi SoC USB PHY driver"
200	depends on ARCH_SUNXI && HAS_IOMEM && OF
201	depends on RESET_CONTROLLER
202	select GENERIC_PHY
203	help
204	  Enable this to support the transceiver that is part of Allwinner
205	  sunxi SoCs.
206
207	  This driver controls the entire USB PHY block, both the USB OTG
208	  parts, as well as the 2 regular USB 2 host PHYs.
209
210config PHY_SUN9I_USB
211	tristate "Allwinner sun9i SoC USB PHY driver"
212	depends on ARCH_SUNXI && HAS_IOMEM && OF
213	depends on RESET_CONTROLLER
214	select GENERIC_PHY
215	help
216	  Enable this to support the transceiver that is part of Allwinner
217	  sun9i SoCs.
218
219	  This driver controls each individual USB 2 host PHY.
220
221config PHY_SAMSUNG_USB2
222	tristate "Samsung USB 2.0 PHY driver"
223	depends on HAS_IOMEM
224	depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
225	select GENERIC_PHY
226	select MFD_SYSCON
227	default ARCH_EXYNOS
228	help
229	  Enable this to support the Samsung USB 2.0 PHY driver for Samsung
230	  SoCs. This driver provides the interface for USB 2.0 PHY. Support
231	  for particular PHYs will be enabled based on the SoC type in addition
232	  to this driver.
233
234config PHY_S5PV210_USB2
235	bool "Support for S5PV210"
236	depends on PHY_SAMSUNG_USB2
237	depends on ARCH_S5PV210
238	help
239	  Enable USB PHY support for S5PV210. This option requires that Samsung
240	  USB 2.0 PHY driver is enabled and means that support for this
241	  particular SoC is compiled in the driver. In case of S5PV210 two phys
242	  are available - device and host.
243
244config PHY_EXYNOS4210_USB2
245	bool
246	depends on PHY_SAMSUNG_USB2
247	default CPU_EXYNOS4210
248
249config PHY_EXYNOS4X12_USB2
250	bool
251	depends on PHY_SAMSUNG_USB2
252	default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
253
254config PHY_EXYNOS5250_USB2
255	bool
256	depends on PHY_SAMSUNG_USB2
257	default SOC_EXYNOS5250 || SOC_EXYNOS5420
258
259config PHY_EXYNOS5_USBDRD
260	tristate "Exynos5 SoC series USB DRD PHY driver"
261	depends on ARCH_EXYNOS && OF
262	depends on HAS_IOMEM
263	depends on USB_DWC3_EXYNOS
264	select GENERIC_PHY
265	select MFD_SYSCON
266	default y
267	help
268	  Enable USB DRD PHY support for Exynos 5 SoC series.
269	  This driver provides PHY interface for USB 3.0 DRD controller
270	  present on Exynos5 SoC series.
271
272config PHY_PISTACHIO_USB
273	tristate "IMG Pistachio USB2.0 PHY driver"
274	depends on MACH_PISTACHIO
275	select GENERIC_PHY
276	help
277	  Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
278
279config PHY_QCOM_APQ8064_SATA
280	tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
281	depends on ARCH_QCOM
282	depends on HAS_IOMEM
283	depends on OF
284	select GENERIC_PHY
285
286config PHY_QCOM_IPQ806X_SATA
287	tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
288	depends on ARCH_QCOM
289	depends on HAS_IOMEM
290	depends on OF
291	select GENERIC_PHY
292
293config PHY_ROCKCHIP_USB
294	tristate "Rockchip USB2 PHY Driver"
295	depends on ARCH_ROCKCHIP && OF
296	select GENERIC_PHY
297	help
298	  Enable this to support the Rockchip USB 2.0 PHY.
299
300config PHY_ST_SPEAR1310_MIPHY
301	tristate "ST SPEAR1310-MIPHY driver"
302	select GENERIC_PHY
303	depends on MACH_SPEAR1310 || COMPILE_TEST
304	help
305	  Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
306
307config PHY_ST_SPEAR1340_MIPHY
308	tristate "ST SPEAR1340-MIPHY driver"
309	select GENERIC_PHY
310	depends on MACH_SPEAR1340 || COMPILE_TEST
311	help
312	  Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
313
314config PHY_XGENE
315	tristate "APM X-Gene 15Gbps PHY support"
316	depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
317	select GENERIC_PHY
318	help
319	  This option enables support for APM X-Gene SoC multi-purpose PHY.
320
321config PHY_STIH407_USB
322	tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
323	depends on RESET_CONTROLLER
324	depends on ARCH_STI || COMPILE_TEST
325	select GENERIC_PHY
326	help
327	  Enable this support to enable the picoPHY device used by USB2
328	  and USB3 controllers on STMicroelectronics STiH407 SoC families.
329
330config PHY_STIH41X_USB
331	tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
332	depends on ARCH_STI
333	select GENERIC_PHY
334	help
335	  Enable this to support the USB transceiver that is part of
336	  STMicroelectronics STiH41x SoC series.
337
338config PHY_QCOM_UFS
339	tristate "Qualcomm UFS PHY driver"
340	depends on OF && ARCH_QCOM
341	select GENERIC_PHY
342	help
343	  Support for UFS PHY on QCOM chipsets.
344
345config PHY_TUSB1210
346	tristate "TI TUSB1210 ULPI PHY module"
347	depends on USB_ULPI_BUS
348	select GENERIC_PHY
349	help
350	  Support for TI TUSB1210 USB ULPI PHY.
351
352config PHY_BRCMSTB_SATA
353	tristate "Broadcom STB SATA PHY driver"
354	depends on ARCH_BRCMSTB
355	depends on OF
356	select GENERIC_PHY
357	help
358	  Enable this to support the SATA3 PHY on 28nm Broadcom STB SoCs.
359	  Likely useful only with CONFIG_SATA_BRCMSTB enabled.
360
361endmenu
362