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