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