blob: e7e117d5dbbe466f71d7a836ee3b898a560a1bed [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"
Sebastian Ott1c4b1d12015-06-29 16:57:08 +020070 depends on HAS_IOMEM
Rob Herring10d90292015-05-29 11:38:43 -050071 select GENERIC_PHY
72 help
73 Enable this to support Marvell USB HSIC PHY driver for Marvell
74 SoC. This driver will do the PHY initialization and shutdown.
75 The PHY driver will be used by Marvell ehci driver.
76
77 To compile this driver as a module, choose M here.
78
Rob Herring603c5f92015-05-29 11:38:42 -050079config PHY_PXA_28NM_USB2
80 tristate "Marvell USB 2.0 28nm PHY Driver"
Sebastian Ott1c4b1d12015-06-29 16:57:08 +020081 depends on HAS_IOMEM
Rob Herring603c5f92015-05-29 11:38:42 -050082 select GENERIC_PHY
83 help
84 Enable this to support Marvell USB 2.0 PHY driver for Marvell
85 SoC. This driver will do the PHY initialization and shutdown.
86 The PHY driver will be used by Marvell udc/ehci/otg driver.
87
88 To compile this driver as a module, choose M here.
89
Andrew Lunne3eae852013-12-17 21:21:50 +010090config PHY_MVEBU_SATA
91 def_bool y
Andrew Lunn74d64b52014-07-10 23:36:30 +020092 depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
Andrew Lunne3eae852013-12-17 21:21:50 +010093 depends on OF
94 select GENERIC_PHY
95
Gabriel FERNANDEZ2c14e9b2014-11-04 11:51:19 +010096config PHY_MIPHY28LP
97 tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
98 depends on ARCH_STI
99 select GENERIC_PHY
100 help
101 Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
102 that is part of STMicroelectronics STiH407 SoC.
103
Lee Jones6e877fe2014-07-09 12:41:12 +0100104config PHY_MIPHY365X
105 tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
106 depends on ARCH_STI
Lee Jones6e877fe2014-07-09 12:41:12 +0100107 depends on HAS_IOMEM
108 depends on OF
Lee Jonesfbb1a772014-07-22 10:47:37 +0100109 select GENERIC_PHY
Lee Jones6e877fe2014-07-09 12:41:12 +0100110 help
111 Enable this to support the miphy transceiver (for SATA/PCIE)
112 that is part of STMicroelectronics STiH41x SoC series.
113
Sergei Shtylyov1233f592014-07-22 23:27:14 +0400114config PHY_RCAR_GEN2
115 tristate "Renesas R-Car generation 2 USB PHY driver"
116 depends on ARCH_SHMOBILE
117 depends on GENERIC_PHY
118 help
119 Support for USB PHY found on Renesas R-Car generation 2 SoCs.
120
Yoshihiro Shimodaf3b5a8d2015-11-30 10:44:30 +0900121config PHY_RCAR_GEN3_USB2
122 tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
123 depends on OF && ARCH_SHMOBILE
124 select GENERIC_PHY
125 help
126 Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs.
127
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200128config OMAP_CONTROL_PHY
129 tristate "OMAP CONTROL PHY Driver"
Jean Delvare907aa3a2014-04-19 08:51:42 +0530130 depends on ARCH_OMAP2PLUS || COMPILE_TEST
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200131 help
132 Enable this to add support for the PHY part present in the control
133 module. This driver has API to power on the USB2 PHY and to write to
134 the mailbox. The mailbox is present only in omap4 and the register to
135 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
136 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
137 (PIPE3 PHY).
138
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +0530139config OMAP_USB2
140 tristate "OMAP USB2 PHY Driver"
141 depends on ARCH_OMAP2PLUS
Felipe Balbi7f7a4d32015-04-28 11:13:15 -0500142 depends on USB_SUPPORT
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +0530143 select GENERIC_PHY
Felipe Balbi7f7a4d32015-04-28 11:13:15 -0500144 select USB_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200145 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +0200146 depends on OMAP_OCP2SCP
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +0530147 help
148 Enable this to support the transceiver that is part of SOC. This
149 driver takes care of all the PHY functionality apart from comparator.
150 The USB OTG controller communicates with the comparator using this
151 driver.
152
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +0530153config TI_PIPE3
154 tristate "TI PIPE3 PHY Driver"
155 depends on ARCH_OMAP2PLUS || COMPILE_TEST
156 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200157 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +0200158 depends on OMAP_OCP2SCP
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +0530159 help
160 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
161 driver takes care of all the PHY functionality apart from comparator.
162 This driver interacts with the "OMAP Control PHY Driver" to power
163 on/off the PHY.
164
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530165config TWL4030_USB
166 tristate "TWL4030 USB Transceiver Driver"
167 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
Felipe Balbi7f7a4d32015-04-28 11:13:15 -0500168 depends on USB_SUPPORT
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530169 select GENERIC_PHY
Felipe Balbi7f7a4d32015-04-28 11:13:15 -0500170 select USB_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530171 help
172 Enable this to support the USB OTG transceiver on TWL4030
173 family chips (including the TWL5030 and TPS659x0 devices).
174 This transceiver supports high and full speed devices plus,
175 in host mode, low speed.
176
Jingoo Han74988e82013-10-16 21:58:14 +0530177config PHY_EXYNOS_DP_VIDEO
178 tristate "EXYNOS SoC series Display Port PHY driver"
179 depends on OF
Sylwester Nawrockia50ce202014-02-21 17:44:02 +0100180 depends on ARCH_EXYNOS || COMPILE_TEST
181 default ARCH_EXYNOS
Jingoo Han74988e82013-10-16 21:58:14 +0530182 select GENERIC_PHY
183 help
184 Support for Display Port PHY found on Samsung EXYNOS SoCs.
185
Matt Porter7597fdf2013-12-19 09:23:09 -0500186config BCM_KONA_USB2_PHY
187 tristate "Broadcom Kona USB2 PHY Driver"
Richard Weinberger06c304e2014-02-17 14:29:21 +0530188 depends on HAS_IOMEM
Arnd Bergmann3fc03f32014-05-08 16:46:53 +0200189 select GENERIC_PHY
Matt Porter7597fdf2013-12-19 09:23:09 -0500190 help
191 Enable this to support the Broadcom Kona USB 2.0 PHY.
192
Yuvaraj Kumar C Dbcff4cb2014-03-03 10:52:39 +0530193config PHY_EXYNOS5250_SATA
194 tristate "Exynos5250 Sata SerDes/PHY driver"
195 depends on SOC_EXYNOS5250
196 depends on HAS_IOMEM
197 depends on OF
198 select GENERIC_PHY
199 select I2C
200 select I2C_S3C2410
201 select MFD_SYSCON
202 help
203 Enable this to support SATA SerDes/Phy found on Samsung's
204 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
205 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
206 port to accept one SATA device.
207
Jiancheng Xuee3794132014-07-03 22:28:38 +0800208config PHY_HIX5HD2_SATA
209 tristate "HIX5HD2 SATA PHY Driver"
210 depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
211 select GENERIC_PHY
212 select MFD_SYSCON
213 help
214 Support for SATA PHY on Hisilicon hix5hd2 Soc.
215
Chunfeng Yundc7f1902015-09-29 11:01:36 +0800216config PHY_MT65XX_USB3
217 tristate "Mediatek USB3.0 PHY Driver"
218 depends on ARCH_MEDIATEK && OF
219 select GENERIC_PHY
220 help
221 Say 'Y' here to add support for Mediatek USB3.0 PHY driver
222 for mt65xx SoCs. it supports two usb2.0 ports and
223 one usb3.0 port.
224
Zhangfei Gao30e9a0b2015-11-23 11:46:27 +0800225config PHY_HI6220_USB
226 tristate "hi6220 USB PHY support"
227 select GENERIC_PHY
228 select MFD_SYSCON
229 help
230 Enable this to support the HISILICON HI6220 USB PHY.
231
232 To compile this driver as a module, choose M here.
233
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100234config PHY_SUN4I_USB
235 tristate "Allwinner sunxi SoC USB PHY driver"
236 depends on ARCH_SUNXI && HAS_IOMEM && OF
Maxime Ripard9820ccb2014-07-10 11:54:59 +0530237 depends on RESET_CONTROLLER
Hans de Goede1a52abe2015-06-13 14:37:46 +0200238 depends on EXTCON
Hans de Goede8665c182015-06-13 14:37:51 +0200239 depends on POWER_SUPPLY
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100240 select GENERIC_PHY
241 help
242 Enable this to support the transceiver that is part of Allwinner
243 sunxi SoCs.
244
245 This driver controls the entire USB PHY block, both the USB OTG
246 parts, as well as the 2 regular USB 2 host PHYs.
247
Chen-Yu Tsai9c3b4432015-03-14 11:57:16 +0800248config PHY_SUN9I_USB
249 tristate "Allwinner sun9i SoC USB PHY driver"
250 depends on ARCH_SUNXI && HAS_IOMEM && OF
251 depends on RESET_CONTROLLER
Arnd Bergmann97dc5bf2015-11-30 12:29:31 +0100252 depends on USB_COMMON
Chen-Yu Tsai9c3b4432015-03-14 11:57:16 +0800253 select GENERIC_PHY
254 help
255 Enable this to support the transceiver that is part of Allwinner
256 sun9i SoCs.
257
258 This driver controls each individual USB 2 host PHY.
259
Kamil Debski06fb0132014-03-06 12:16:48 +0100260config PHY_SAMSUNG_USB2
261 tristate "Samsung USB 2.0 PHY driver"
Chen Gang4732aee2014-06-10 20:04:58 +0800262 depends on HAS_IOMEM
Sachin Kamatd6125af2014-07-14 15:38:41 +0530263 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
Kamil Debski06fb0132014-03-06 12:16:48 +0100264 select GENERIC_PHY
265 select MFD_SYSCON
Sachin Kamatd6125af2014-07-14 15:38:41 +0530266 default ARCH_EXYNOS
Kamil Debski06fb0132014-03-06 12:16:48 +0100267 help
268 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
Sachin Kamatd6125af2014-07-14 15:38:41 +0530269 SoCs. This driver provides the interface for USB 2.0 PHY. Support
270 for particular PHYs will be enabled based on the SoC type in addition
271 to this driver.
Kamil Debski06fb0132014-03-06 12:16:48 +0100272
Mateusz Krawczuk949ccc32013-12-20 14:24:12 +0100273config PHY_S5PV210_USB2
274 bool "Support for S5PV210"
275 depends on PHY_SAMSUNG_USB2
276 depends on ARCH_S5PV210
277 help
278 Enable USB PHY support for S5PV210. This option requires that Samsung
279 USB 2.0 PHY driver is enabled and means that support for this
280 particular SoC is compiled in the driver. In case of S5PV210 two phys
281 are available - device and host.
282
Kamil Debski06fb0132014-03-06 12:16:48 +0100283config PHY_EXYNOS4210_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530284 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100285 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530286 default CPU_EXYNOS4210
Kamil Debski06fb0132014-03-06 12:16:48 +0100287
288config PHY_EXYNOS4X12_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530289 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100290 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530291 default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
Kamil Debski64bf2b22014-03-06 12:16:49 +0100292
293config PHY_EXYNOS5250_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530294 bool
Kamil Debski64bf2b22014-03-06 12:16:49 +0100295 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530296 default SOC_EXYNOS5250 || SOC_EXYNOS5420
Kamil Debski64bf2b22014-03-06 12:16:49 +0100297
Vivek Gautam59025882014-05-13 15:30:16 +0530298config PHY_EXYNOS5_USBDRD
299 tristate "Exynos5 SoC series USB DRD PHY driver"
Vivek Gautam556186a2014-11-21 19:05:50 +0530300 depends on ARCH_EXYNOS && OF
Vivek Gautam59025882014-05-13 15:30:16 +0530301 depends on HAS_IOMEM
Sachin Kamatc233f522014-07-14 15:38:42 +0530302 depends on USB_DWC3_EXYNOS
Vivek Gautam59025882014-05-13 15:30:16 +0530303 select GENERIC_PHY
304 select MFD_SYSCON
Sachin Kamatc233f522014-07-14 15:38:42 +0530305 default y
Vivek Gautam59025882014-05-13 15:30:16 +0530306 help
307 Enable USB DRD PHY support for Exynos 5 SoC series.
308 This driver provides PHY interface for USB 3.0 DRD controller
309 present on Exynos5 SoC series.
310
Andrew Bresticker57991eb2015-04-07 15:04:17 -0700311config PHY_PISTACHIO_USB
312 tristate "IMG Pistachio USB2.0 PHY driver"
313 depends on MACH_PISTACHIO
314 select GENERIC_PHY
315 help
316 Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
317
Srinivas Kandagatla1de990d2014-07-14 12:17:59 +0100318config PHY_QCOM_APQ8064_SATA
319 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
320 depends on ARCH_QCOM
321 depends on HAS_IOMEM
322 depends on OF
323 select GENERIC_PHY
324
Kumar Gala4f6160d2014-07-16 11:10:08 -0500325config PHY_QCOM_IPQ806X_SATA
326 tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
327 depends on ARCH_QCOM
328 depends on HAS_IOMEM
329 depends on OF
330 select GENERIC_PHY
331
Yunzhi Li64d11402014-12-12 23:07:46 +0800332config PHY_ROCKCHIP_USB
333 tristate "Rockchip USB2 PHY Driver"
334 depends on ARCH_ROCKCHIP && OF
335 select GENERIC_PHY
336 help
337 Enable this to support the Rockchip USB 2.0 PHY.
338
Pratyush Anand64562e92014-04-14 15:27:36 +0530339config PHY_ST_SPEAR1310_MIPHY
340 tristate "ST SPEAR1310-MIPHY driver"
341 select GENERIC_PHY
Bartlomiej Zolnierkiewicz6100a7c2014-09-01 17:03:17 +0200342 depends on MACH_SPEAR1310 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530343 help
344 Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
345
346config PHY_ST_SPEAR1340_MIPHY
347 tristate "ST SPEAR1340-MIPHY driver"
348 select GENERIC_PHY
Bartlomiej Zolnierkiewicz7652d352014-09-01 17:04:15 +0200349 depends on MACH_SPEAR1340 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530350 help
351 Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
352
Linus Torvalds10c8e052014-08-08 11:34:32 -0700353config PHY_XGENE
354 tristate "APM X-Gene 15Gbps PHY support"
355 depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
356 select GENERIC_PHY
357 help
358 This option enables support for APM X-Gene SoC multi-purpose PHY.
359
Peter Griffin89ae1f52014-09-11 18:02:44 +0100360config PHY_STIH407_USB
361 tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
362 depends on RESET_CONTROLLER
363 depends on ARCH_STI || COMPILE_TEST
364 select GENERIC_PHY
365 help
366 Enable this support to enable the picoPHY device used by USB2
367 and USB3 controllers on STMicroelectronics STiH407 SoC families.
368
Peter Griffin3f8da2e2014-09-08 11:33:00 +0100369config PHY_STIH41X_USB
370 tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
371 depends on ARCH_STI
372 select GENERIC_PHY
373 help
374 Enable this to support the USB transceiver that is part of
375 STMicroelectronics STiH41x SoC series.
376
Yaniv Gardiadaafaa2015-01-15 16:32:35 +0200377config PHY_QCOM_UFS
378 tristate "Qualcomm UFS PHY driver"
Stephen Boyd4d051f72015-04-10 16:11:04 -0700379 depends on OF && ARCH_QCOM
Yaniv Gardiadaafaa2015-01-15 16:32:35 +0200380 select GENERIC_PHY
381 help
382 Support for UFS PHY on QCOM chipsets.
383
Heikki Krogerus1c149052015-05-13 15:26:53 +0300384config PHY_TUSB1210
385 tristate "TI TUSB1210 ULPI PHY module"
386 depends on USB_ULPI_BUS
387 select GENERIC_PHY
388 help
389 Support for TI TUSB1210 USB ULPI PHY.
390
Brian Norris0d486802015-05-20 17:18:40 -0700391config PHY_BRCMSTB_SATA
392 tristate "Broadcom STB SATA PHY driver"
Jaedon Shinc1602a12015-11-26 11:56:35 +0900393 depends on ARCH_BRCMSTB || BMIPS_GENERIC
Brian Norris0d486802015-05-20 17:18:40 -0700394 depends on OF
395 select GENERIC_PHY
396 help
Jaedon Shinc1602a12015-11-26 11:56:35 +0900397 Enable this to support the SATA3 PHY on 28nm or 40nm Broadcom STB SoCs.
Brian Norris0d486802015-05-20 17:18:40 -0700398 Likely useful only with CONFIG_SATA_BRCMSTB enabled.
399
Ray Jui882fed72015-09-21 10:17:18 -0700400config PHY_CYGNUS_PCIE
401 tristate "Broadcom Cygnus PCIe PHY driver"
402 depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
403 select GENERIC_PHY
404 default ARCH_BCM_CYGNUS
405 help
406 Enable this to support the Broadcom Cygnus PCIe PHY.
407 If unsure, say N.
408
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +0530409endmenu