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