blob: e2f2a4d394e1c13f77c2608f6c8348016aac0bbe [file] [log] [blame]
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +05301#
2# PHY
3#
4
5menu "PHY Subsystem"
6
7config GENERIC_PHY
Hans de Goedeb51fbf92014-02-17 14:29:24 +05308 bool "PHY Core"
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +05309 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
Antoine Tenart13ebb682014-11-20 22:53:25 +010018config 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
Antoine Ténart942a31b2014-07-07 12:16:07 +020025config 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
Gregory CLEMENTeee47532014-11-13 12:47:46 +010032config ARMADA375_USBCLUSTER_PHY
33 def_bool y
34 depends on MACH_ARMADA_375 || COMPILE_TEST
35 depends on OF
36 select GENERIC_PHY
37
Tony Lindgren609adde2015-03-19 17:08:07 -070038config PHY_DM816X_USB
39 tristate "TI dm816x USB PHY driver"
40 depends on ARCH_OMAP2PLUS
Felipe Balbi7f7a4d32015-04-28 11:13:15 -050041 depends on USB_SUPPORT
Tony Lindgren609adde2015-03-19 17:08:07 -070042 select GENERIC_PHY
Felipe Balbi7f7a4d32015-04-28 11:13:15 -050043 select USB_PHY
Tony Lindgren609adde2015-03-19 17:08:07 -070044 help
45 Enable this for dm816x USB to work.
46
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053047config PHY_EXYNOS_MIPI_VIDEO
48 tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
Sylwester Nawrocki13454e52014-02-21 17:44:01 +010049 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
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053053 help
54 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
55 and EXYNOS SoCs.
56
Joachim Eastwoodcbf919b2015-07-09 22:48:25 +020057config PHY_LPC18XX_USB_OTG
58 tristate "NXP LPC18xx/43xx SoC USB OTG PHY driver"
59 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
60 depends on MFD_SYSCON
61 select GENERIC_PHY
62 help
63 Enable this to support NXP LPC18xx/43xx internal USB OTG PHY.
64
65 This driver is need for USB0 support on LPC18xx/43xx and takes
66 care of enabling and clock setup.
67
Rob Herring10d90292015-05-29 11:38:43 -050068config PHY_PXA_28NM_HSIC
69 tristate "Marvell USB HSIC 28nm PHY Driver"
70 select GENERIC_PHY
71 help
72 Enable this to support Marvell USB HSIC PHY driver for Marvell
73 SoC. This driver will do the PHY initialization and shutdown.
74 The PHY driver will be used by Marvell ehci driver.
75
76 To compile this driver as a module, choose M here.
77
Rob Herring603c5f92015-05-29 11:38:42 -050078config PHY_PXA_28NM_USB2
79 tristate "Marvell USB 2.0 28nm PHY Driver"
80 select GENERIC_PHY
81 help
82 Enable this to support Marvell USB 2.0 PHY driver for Marvell
83 SoC. This driver will do the PHY initialization and shutdown.
84 The PHY driver will be used by Marvell udc/ehci/otg driver.
85
86 To compile this driver as a module, choose M here.
87
Andrew Lunne3eae852013-12-17 21:21:50 +010088config PHY_MVEBU_SATA
89 def_bool y
Andrew Lunn74d64b52014-07-10 23:36:30 +020090 depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
Andrew Lunne3eae852013-12-17 21:21:50 +010091 depends on OF
92 select GENERIC_PHY
93
Gabriel FERNANDEZ2c14e9b2014-11-04 11:51:19 +010094config PHY_MIPHY28LP
95 tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
96 depends on ARCH_STI
97 select GENERIC_PHY
98 help
99 Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
100 that is part of STMicroelectronics STiH407 SoC.
101
Lee Jones6e877fe2014-07-09 12:41:12 +0100102config PHY_MIPHY365X
103 tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
104 depends on ARCH_STI
Lee Jones6e877fe2014-07-09 12:41:12 +0100105 depends on HAS_IOMEM
106 depends on OF
Lee Jonesfbb1a772014-07-22 10:47:37 +0100107 select GENERIC_PHY
Lee Jones6e877fe2014-07-09 12:41:12 +0100108 help
109 Enable this to support the miphy transceiver (for SATA/PCIE)
110 that is part of STMicroelectronics STiH41x SoC series.
111
Sergei Shtylyov1233f592014-07-22 23:27:14 +0400112config PHY_RCAR_GEN2
113 tristate "Renesas R-Car generation 2 USB PHY driver"
114 depends on ARCH_SHMOBILE
115 depends on GENERIC_PHY
116 help
117 Support for USB PHY found on Renesas R-Car generation 2 SoCs.
118
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200119config OMAP_CONTROL_PHY
120 tristate "OMAP CONTROL PHY Driver"
Jean Delvare907aa3a2014-04-19 08:51:42 +0530121 depends on ARCH_OMAP2PLUS || COMPILE_TEST
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200122 help
123 Enable this to add support for the PHY part present in the control
124 module. This driver has API to power on the USB2 PHY and to write to
125 the mailbox. The mailbox is present only in omap4 and the register to
126 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
127 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
128 (PIPE3 PHY).
129
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +0530130config OMAP_USB2
131 tristate "OMAP USB2 PHY Driver"
132 depends on ARCH_OMAP2PLUS
Felipe Balbi7f7a4d32015-04-28 11:13:15 -0500133 depends on USB_SUPPORT
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +0530134 select GENERIC_PHY
Felipe Balbi7f7a4d32015-04-28 11:13:15 -0500135 select USB_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200136 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +0200137 depends on OMAP_OCP2SCP
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +0530138 help
139 Enable this to support the transceiver that is part of SOC. This
140 driver takes care of all the PHY functionality apart from comparator.
141 The USB OTG controller communicates with the comparator using this
142 driver.
143
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +0530144config TI_PIPE3
145 tristate "TI PIPE3 PHY Driver"
146 depends on ARCH_OMAP2PLUS || COMPILE_TEST
147 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200148 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +0200149 depends on OMAP_OCP2SCP
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +0530150 help
151 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
152 driver takes care of all the PHY functionality apart from comparator.
153 This driver interacts with the "OMAP Control PHY Driver" to power
154 on/off the PHY.
155
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530156config TWL4030_USB
157 tristate "TWL4030 USB Transceiver Driver"
158 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
Felipe Balbi7f7a4d32015-04-28 11:13:15 -0500159 depends on USB_SUPPORT
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530160 select GENERIC_PHY
Felipe Balbi7f7a4d32015-04-28 11:13:15 -0500161 select USB_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530162 help
163 Enable this to support the USB OTG transceiver on TWL4030
164 family chips (including the TWL5030 and TPS659x0 devices).
165 This transceiver supports high and full speed devices plus,
166 in host mode, low speed.
167
Jingoo Han74988e82013-10-16 21:58:14 +0530168config PHY_EXYNOS_DP_VIDEO
169 tristate "EXYNOS SoC series Display Port PHY driver"
170 depends on OF
Sylwester Nawrockia50ce202014-02-21 17:44:02 +0100171 depends on ARCH_EXYNOS || COMPILE_TEST
172 default ARCH_EXYNOS
Jingoo Han74988e82013-10-16 21:58:14 +0530173 select GENERIC_PHY
174 help
175 Support for Display Port PHY found on Samsung EXYNOS SoCs.
176
Matt Porter7597fdf2013-12-19 09:23:09 -0500177config BCM_KONA_USB2_PHY
178 tristate "Broadcom Kona USB2 PHY Driver"
Richard Weinberger06c304e2014-02-17 14:29:21 +0530179 depends on HAS_IOMEM
Arnd Bergmann3fc03f32014-05-08 16:46:53 +0200180 select GENERIC_PHY
Matt Porter7597fdf2013-12-19 09:23:09 -0500181 help
182 Enable this to support the Broadcom Kona USB 2.0 PHY.
183
Yuvaraj Kumar C Dbcff4cb2014-03-03 10:52:39 +0530184config PHY_EXYNOS5250_SATA
185 tristate "Exynos5250 Sata SerDes/PHY driver"
186 depends on SOC_EXYNOS5250
187 depends on HAS_IOMEM
188 depends on OF
189 select GENERIC_PHY
190 select I2C
191 select I2C_S3C2410
192 select MFD_SYSCON
193 help
194 Enable this to support SATA SerDes/Phy found on Samsung's
195 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
196 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
197 port to accept one SATA device.
198
Jiancheng Xuee3794132014-07-03 22:28:38 +0800199config PHY_HIX5HD2_SATA
200 tristate "HIX5HD2 SATA PHY Driver"
201 depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
202 select GENERIC_PHY
203 select MFD_SYSCON
204 help
205 Support for SATA PHY on Hisilicon hix5hd2 Soc.
206
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100207config PHY_SUN4I_USB
208 tristate "Allwinner sunxi SoC USB PHY driver"
209 depends on ARCH_SUNXI && HAS_IOMEM && OF
Maxime Ripard9820ccb2014-07-10 11:54:59 +0530210 depends on RESET_CONTROLLER
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100211 select GENERIC_PHY
212 help
213 Enable this to support the transceiver that is part of Allwinner
214 sunxi SoCs.
215
216 This driver controls the entire USB PHY block, both the USB OTG
217 parts, as well as the 2 regular USB 2 host PHYs.
218
Chen-Yu Tsai9c3b4432015-03-14 11:57:16 +0800219config PHY_SUN9I_USB
220 tristate "Allwinner sun9i SoC USB PHY driver"
221 depends on ARCH_SUNXI && HAS_IOMEM && OF
222 depends on RESET_CONTROLLER
223 select GENERIC_PHY
224 help
225 Enable this to support the transceiver that is part of Allwinner
226 sun9i SoCs.
227
228 This driver controls each individual USB 2 host PHY.
229
Kamil Debski06fb0132014-03-06 12:16:48 +0100230config PHY_SAMSUNG_USB2
231 tristate "Samsung USB 2.0 PHY driver"
Chen Gang4732aee2014-06-10 20:04:58 +0800232 depends on HAS_IOMEM
Sachin Kamatd6125af2014-07-14 15:38:41 +0530233 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
Kamil Debski06fb0132014-03-06 12:16:48 +0100234 select GENERIC_PHY
235 select MFD_SYSCON
Sachin Kamatd6125af2014-07-14 15:38:41 +0530236 default ARCH_EXYNOS
Kamil Debski06fb0132014-03-06 12:16:48 +0100237 help
238 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
Sachin Kamatd6125af2014-07-14 15:38:41 +0530239 SoCs. This driver provides the interface for USB 2.0 PHY. Support
240 for particular PHYs will be enabled based on the SoC type in addition
241 to this driver.
Kamil Debski06fb0132014-03-06 12:16:48 +0100242
Mateusz Krawczuk949ccc32013-12-20 14:24:12 +0100243config PHY_S5PV210_USB2
244 bool "Support for S5PV210"
245 depends on PHY_SAMSUNG_USB2
246 depends on ARCH_S5PV210
247 help
248 Enable USB PHY support for S5PV210. This option requires that Samsung
249 USB 2.0 PHY driver is enabled and means that support for this
250 particular SoC is compiled in the driver. In case of S5PV210 two phys
251 are available - device and host.
252
Kamil Debski06fb0132014-03-06 12:16:48 +0100253config PHY_EXYNOS4210_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530254 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100255 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530256 default CPU_EXYNOS4210
Kamil Debski06fb0132014-03-06 12:16:48 +0100257
258config PHY_EXYNOS4X12_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530259 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100260 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530261 default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
Kamil Debski64bf2b22014-03-06 12:16:49 +0100262
263config PHY_EXYNOS5250_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530264 bool
Kamil Debski64bf2b22014-03-06 12:16:49 +0100265 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530266 default SOC_EXYNOS5250 || SOC_EXYNOS5420
Kamil Debski64bf2b22014-03-06 12:16:49 +0100267
Vivek Gautam59025882014-05-13 15:30:16 +0530268config PHY_EXYNOS5_USBDRD
269 tristate "Exynos5 SoC series USB DRD PHY driver"
Vivek Gautam556186a2014-11-21 19:05:50 +0530270 depends on ARCH_EXYNOS && OF
Vivek Gautam59025882014-05-13 15:30:16 +0530271 depends on HAS_IOMEM
Sachin Kamatc233f522014-07-14 15:38:42 +0530272 depends on USB_DWC3_EXYNOS
Vivek Gautam59025882014-05-13 15:30:16 +0530273 select GENERIC_PHY
274 select MFD_SYSCON
Sachin Kamatc233f522014-07-14 15:38:42 +0530275 default y
Vivek Gautam59025882014-05-13 15:30:16 +0530276 help
277 Enable USB DRD PHY support for Exynos 5 SoC series.
278 This driver provides PHY interface for USB 3.0 DRD controller
279 present on Exynos5 SoC series.
280
Andrew Bresticker57991eb2015-04-07 15:04:17 -0700281config PHY_PISTACHIO_USB
282 tristate "IMG Pistachio USB2.0 PHY driver"
283 depends on MACH_PISTACHIO
284 select GENERIC_PHY
285 help
286 Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
287
Srinivas Kandagatla1de990d2014-07-14 12:17:59 +0100288config PHY_QCOM_APQ8064_SATA
289 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
290 depends on ARCH_QCOM
291 depends on HAS_IOMEM
292 depends on OF
293 select GENERIC_PHY
294
Kumar Gala4f6160d2014-07-16 11:10:08 -0500295config PHY_QCOM_IPQ806X_SATA
296 tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
297 depends on ARCH_QCOM
298 depends on HAS_IOMEM
299 depends on OF
300 select GENERIC_PHY
301
Yunzhi Li64d11402014-12-12 23:07:46 +0800302config PHY_ROCKCHIP_USB
303 tristate "Rockchip USB2 PHY Driver"
304 depends on ARCH_ROCKCHIP && OF
305 select GENERIC_PHY
306 help
307 Enable this to support the Rockchip USB 2.0 PHY.
308
Pratyush Anand64562e92014-04-14 15:27:36 +0530309config PHY_ST_SPEAR1310_MIPHY
310 tristate "ST SPEAR1310-MIPHY driver"
311 select GENERIC_PHY
Bartlomiej Zolnierkiewicz6100a7c2014-09-01 17:03:17 +0200312 depends on MACH_SPEAR1310 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530313 help
314 Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
315
316config PHY_ST_SPEAR1340_MIPHY
317 tristate "ST SPEAR1340-MIPHY driver"
318 select GENERIC_PHY
Bartlomiej Zolnierkiewicz7652d352014-09-01 17:04:15 +0200319 depends on MACH_SPEAR1340 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530320 help
321 Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
322
Linus Torvalds10c8e052014-08-08 11:34:32 -0700323config PHY_XGENE
324 tristate "APM X-Gene 15Gbps PHY support"
325 depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
326 select GENERIC_PHY
327 help
328 This option enables support for APM X-Gene SoC multi-purpose PHY.
329
Peter Griffin89ae1f52014-09-11 18:02:44 +0100330config PHY_STIH407_USB
331 tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
332 depends on RESET_CONTROLLER
333 depends on ARCH_STI || COMPILE_TEST
334 select GENERIC_PHY
335 help
336 Enable this support to enable the picoPHY device used by USB2
337 and USB3 controllers on STMicroelectronics STiH407 SoC families.
338
Peter Griffin3f8da2e2014-09-08 11:33:00 +0100339config PHY_STIH41X_USB
340 tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
341 depends on ARCH_STI
342 select GENERIC_PHY
343 help
344 Enable this to support the USB transceiver that is part of
345 STMicroelectronics STiH41x SoC series.
346
Yaniv Gardiadaafaa2015-01-15 16:32:35 +0200347config PHY_QCOM_UFS
348 tristate "Qualcomm UFS PHY driver"
Stephen Boyd4d051f72015-04-10 16:11:04 -0700349 depends on OF && ARCH_QCOM
Yaniv Gardiadaafaa2015-01-15 16:32:35 +0200350 select GENERIC_PHY
351 help
352 Support for UFS PHY on QCOM chipsets.
353
Heikki Krogerus1c149052015-05-13 15:26:53 +0300354config PHY_TUSB1210
355 tristate "TI TUSB1210 ULPI PHY module"
356 depends on USB_ULPI_BUS
357 select GENERIC_PHY
358 help
359 Support for TI TUSB1210 USB ULPI PHY.
360
Brian Norris0d486802015-05-20 17:18:40 -0700361config PHY_BRCMSTB_SATA
362 tristate "Broadcom STB SATA PHY driver"
363 depends on ARCH_BRCMSTB
364 depends on OF
365 select GENERIC_PHY
366 help
367 Enable this to support the SATA3 PHY on 28nm Broadcom STB SoCs.
368 Likely useful only with CONFIG_SATA_BRCMSTB enabled.
369
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +0530370endmenu