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