blob: 2962de205ba7247bd06eeb5d89f752b30d39e9dc [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
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053038config PHY_EXYNOS_MIPI_VIDEO
39 tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
Sylwester Nawrocki13454e52014-02-21 17:44:01 +010040 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
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053044 help
45 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
46 and EXYNOS SoCs.
47
Andrew Lunne3eae852013-12-17 21:21:50 +010048config PHY_MVEBU_SATA
49 def_bool y
Andrew Lunn74d64b52014-07-10 23:36:30 +020050 depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
Andrew Lunne3eae852013-12-17 21:21:50 +010051 depends on OF
52 select GENERIC_PHY
53
Gabriel FERNANDEZ2c14e9b2014-11-04 11:51:19 +010054config 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
Lee Jones6e877fe2014-07-09 12:41:12 +010062config PHY_MIPHY365X
63 tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
64 depends on ARCH_STI
Lee Jones6e877fe2014-07-09 12:41:12 +010065 depends on HAS_IOMEM
66 depends on OF
Lee Jonesfbb1a772014-07-22 10:47:37 +010067 select GENERIC_PHY
Lee Jones6e877fe2014-07-09 12:41:12 +010068 help
69 Enable this to support the miphy transceiver (for SATA/PCIE)
70 that is part of STMicroelectronics STiH41x SoC series.
71
Sergei Shtylyov1233f592014-07-22 23:27:14 +040072config 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
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020079config OMAP_CONTROL_PHY
80 tristate "OMAP CONTROL PHY Driver"
Jean Delvare907aa3a2014-04-19 08:51:42 +053081 depends on ARCH_OMAP2PLUS || COMPILE_TEST
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020082 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
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053090config OMAP_USB2
91 tristate "OMAP USB2 PHY Driver"
92 depends on ARCH_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +053093 depends on USB_PHY
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053094 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020095 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +020096 depends on OMAP_OCP2SCP
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053097 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
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +0530103config TI_PIPE3
104 tristate "TI PIPE3 PHY Driver"
105 depends on ARCH_OMAP2PLUS || COMPILE_TEST
106 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200107 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +0200108 depends on OMAP_OCP2SCP
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +0530109 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
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530115config TWL4030_USB
116 tristate "TWL4030 USB Transceiver Driver"
117 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +0530118 depends on USB_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530119 select GENERIC_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530120 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
Jingoo Han74988e82013-10-16 21:58:14 +0530126config PHY_EXYNOS_DP_VIDEO
127 tristate "EXYNOS SoC series Display Port PHY driver"
128 depends on OF
Sylwester Nawrockia50ce202014-02-21 17:44:02 +0100129 depends on ARCH_EXYNOS || COMPILE_TEST
130 default ARCH_EXYNOS
Jingoo Han74988e82013-10-16 21:58:14 +0530131 select GENERIC_PHY
132 help
133 Support for Display Port PHY found on Samsung EXYNOS SoCs.
134
Matt Porter7597fdf2013-12-19 09:23:09 -0500135config BCM_KONA_USB2_PHY
136 tristate "Broadcom Kona USB2 PHY Driver"
Richard Weinberger06c304e2014-02-17 14:29:21 +0530137 depends on HAS_IOMEM
Arnd Bergmann3fc03f32014-05-08 16:46:53 +0200138 select GENERIC_PHY
Matt Porter7597fdf2013-12-19 09:23:09 -0500139 help
140 Enable this to support the Broadcom Kona USB 2.0 PHY.
141
Yuvaraj Kumar C Dbcff4cb2014-03-03 10:52:39 +0530142config 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
Jiancheng Xuee3794132014-07-03 22:28:38 +0800157config 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
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100165config PHY_SUN4I_USB
166 tristate "Allwinner sunxi SoC USB PHY driver"
167 depends on ARCH_SUNXI && HAS_IOMEM && OF
Maxime Ripard9820ccb2014-07-10 11:54:59 +0530168 depends on RESET_CONTROLLER
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100169 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
Kamil Debski06fb0132014-03-06 12:16:48 +0100177config PHY_SAMSUNG_USB2
178 tristate "Samsung USB 2.0 PHY driver"
Chen Gang4732aee2014-06-10 20:04:58 +0800179 depends on HAS_IOMEM
Sachin Kamatd6125af2014-07-14 15:38:41 +0530180 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
Kamil Debski06fb0132014-03-06 12:16:48 +0100181 select GENERIC_PHY
182 select MFD_SYSCON
Sachin Kamatd6125af2014-07-14 15:38:41 +0530183 default ARCH_EXYNOS
Kamil Debski06fb0132014-03-06 12:16:48 +0100184 help
185 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
Sachin Kamatd6125af2014-07-14 15:38:41 +0530186 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.
Kamil Debski06fb0132014-03-06 12:16:48 +0100189
Mateusz Krawczuk949ccc32013-12-20 14:24:12 +0100190config 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
Kamil Debski06fb0132014-03-06 12:16:48 +0100200config PHY_EXYNOS4210_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530201 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100202 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530203 default CPU_EXYNOS4210
Kamil Debski06fb0132014-03-06 12:16:48 +0100204
205config PHY_EXYNOS4X12_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530206 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100207 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530208 default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
Kamil Debski64bf2b22014-03-06 12:16:49 +0100209
210config PHY_EXYNOS5250_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530211 bool
Kamil Debski64bf2b22014-03-06 12:16:49 +0100212 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530213 default SOC_EXYNOS5250 || SOC_EXYNOS5420
Kamil Debski64bf2b22014-03-06 12:16:49 +0100214
Vivek Gautam59025882014-05-13 15:30:16 +0530215config PHY_EXYNOS5_USBDRD
216 tristate "Exynos5 SoC series USB DRD PHY driver"
Vivek Gautam556186a2014-11-21 19:05:50 +0530217 depends on ARCH_EXYNOS && OF
Vivek Gautam59025882014-05-13 15:30:16 +0530218 depends on HAS_IOMEM
Sachin Kamatc233f522014-07-14 15:38:42 +0530219 depends on USB_DWC3_EXYNOS
Vivek Gautam59025882014-05-13 15:30:16 +0530220 select GENERIC_PHY
221 select MFD_SYSCON
Sachin Kamatc233f522014-07-14 15:38:42 +0530222 default y
Vivek Gautam59025882014-05-13 15:30:16 +0530223 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
Srinivas Kandagatla1de990d2014-07-14 12:17:59 +0100228config 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
Kumar Gala4f6160d2014-07-16 11:10:08 -0500235config 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
Yunzhi Li64d11402014-12-12 23:07:46 +0800242config 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
Pratyush Anand64562e92014-04-14 15:27:36 +0530249config PHY_ST_SPEAR1310_MIPHY
250 tristate "ST SPEAR1310-MIPHY driver"
251 select GENERIC_PHY
Bartlomiej Zolnierkiewicz6100a7c2014-09-01 17:03:17 +0200252 depends on MACH_SPEAR1310 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530253 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
Bartlomiej Zolnierkiewicz7652d352014-09-01 17:04:15 +0200259 depends on MACH_SPEAR1340 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530260 help
261 Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
262
Linus Torvalds10c8e052014-08-08 11:34:32 -0700263config 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
Peter Griffin89ae1f52014-09-11 18:02:44 +0100270config 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
Peter Griffin3f8da2e2014-09-08 11:33:00 +0100279config 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
Yaniv Gardiadaafaa2015-01-15 16:32:35 +0200287config 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
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +0530294endmenu