blob: 885c39c28a8bcecf3a32f247a1aa4a857272dc34 [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
41 select GENERIC_PHY
42 help
43 Enable this for dm816x USB to work.
44
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053045config PHY_EXYNOS_MIPI_VIDEO
46 tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
Sylwester Nawrocki13454e52014-02-21 17:44:01 +010047 depends on HAS_IOMEM
48 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
49 select GENERIC_PHY
50 default y if ARCH_S5PV210 || ARCH_EXYNOS
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053051 help
52 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
53 and EXYNOS SoCs.
54
Andrew Lunne3eae852013-12-17 21:21:50 +010055config PHY_MVEBU_SATA
56 def_bool y
Andrew Lunn74d64b52014-07-10 23:36:30 +020057 depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
Andrew Lunne3eae852013-12-17 21:21:50 +010058 depends on OF
59 select GENERIC_PHY
60
Gabriel FERNANDEZ2c14e9b2014-11-04 11:51:19 +010061config PHY_MIPHY28LP
62 tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
63 depends on ARCH_STI
64 select GENERIC_PHY
65 help
66 Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
67 that is part of STMicroelectronics STiH407 SoC.
68
Lee Jones6e877fe2014-07-09 12:41:12 +010069config PHY_MIPHY365X
70 tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
71 depends on ARCH_STI
Lee Jones6e877fe2014-07-09 12:41:12 +010072 depends on HAS_IOMEM
73 depends on OF
Lee Jonesfbb1a772014-07-22 10:47:37 +010074 select GENERIC_PHY
Lee Jones6e877fe2014-07-09 12:41:12 +010075 help
76 Enable this to support the miphy transceiver (for SATA/PCIE)
77 that is part of STMicroelectronics STiH41x SoC series.
78
Sergei Shtylyov1233f592014-07-22 23:27:14 +040079config PHY_RCAR_GEN2
80 tristate "Renesas R-Car generation 2 USB PHY driver"
81 depends on ARCH_SHMOBILE
82 depends on GENERIC_PHY
83 help
84 Support for USB PHY found on Renesas R-Car generation 2 SoCs.
85
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020086config OMAP_CONTROL_PHY
87 tristate "OMAP CONTROL PHY Driver"
Jean Delvare907aa3a2014-04-19 08:51:42 +053088 depends on ARCH_OMAP2PLUS || COMPILE_TEST
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020089 help
90 Enable this to add support for the PHY part present in the control
91 module. This driver has API to power on the USB2 PHY and to write to
92 the mailbox. The mailbox is present only in omap4 and the register to
93 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
94 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
95 (PIPE3 PHY).
96
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053097config OMAP_USB2
98 tristate "OMAP USB2 PHY Driver"
99 depends on ARCH_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +0530100 depends on USB_PHY
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +0530101 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200102 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +0200103 depends on OMAP_OCP2SCP
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +0530104 help
105 Enable this to support the transceiver that is part of SOC. This
106 driver takes care of all the PHY functionality apart from comparator.
107 The USB OTG controller communicates with the comparator using this
108 driver.
109
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +0530110config TI_PIPE3
111 tristate "TI PIPE3 PHY Driver"
112 depends on ARCH_OMAP2PLUS || COMPILE_TEST
113 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +0200114 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +0200115 depends on OMAP_OCP2SCP
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +0530116 help
117 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
118 driver takes care of all the PHY functionality apart from comparator.
119 This driver interacts with the "OMAP Control PHY Driver" to power
120 on/off the PHY.
121
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530122config TWL4030_USB
123 tristate "TWL4030 USB Transceiver Driver"
124 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +0530125 depends on USB_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530126 select GENERIC_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530127 help
128 Enable this to support the USB OTG transceiver on TWL4030
129 family chips (including the TWL5030 and TPS659x0 devices).
130 This transceiver supports high and full speed devices plus,
131 in host mode, low speed.
132
Jingoo Han74988e82013-10-16 21:58:14 +0530133config PHY_EXYNOS_DP_VIDEO
134 tristate "EXYNOS SoC series Display Port PHY driver"
135 depends on OF
Sylwester Nawrockia50ce202014-02-21 17:44:02 +0100136 depends on ARCH_EXYNOS || COMPILE_TEST
137 default ARCH_EXYNOS
Jingoo Han74988e82013-10-16 21:58:14 +0530138 select GENERIC_PHY
139 help
140 Support for Display Port PHY found on Samsung EXYNOS SoCs.
141
Matt Porter7597fdf2013-12-19 09:23:09 -0500142config BCM_KONA_USB2_PHY
143 tristate "Broadcom Kona USB2 PHY Driver"
Richard Weinberger06c304e2014-02-17 14:29:21 +0530144 depends on HAS_IOMEM
Arnd Bergmann3fc03f32014-05-08 16:46:53 +0200145 select GENERIC_PHY
Matt Porter7597fdf2013-12-19 09:23:09 -0500146 help
147 Enable this to support the Broadcom Kona USB 2.0 PHY.
148
Yuvaraj Kumar C Dbcff4cb2014-03-03 10:52:39 +0530149config PHY_EXYNOS5250_SATA
150 tristate "Exynos5250 Sata SerDes/PHY driver"
151 depends on SOC_EXYNOS5250
152 depends on HAS_IOMEM
153 depends on OF
154 select GENERIC_PHY
155 select I2C
156 select I2C_S3C2410
157 select MFD_SYSCON
158 help
159 Enable this to support SATA SerDes/Phy found on Samsung's
160 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
161 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
162 port to accept one SATA device.
163
Jiancheng Xuee3794132014-07-03 22:28:38 +0800164config PHY_HIX5HD2_SATA
165 tristate "HIX5HD2 SATA PHY Driver"
166 depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
167 select GENERIC_PHY
168 select MFD_SYSCON
169 help
170 Support for SATA PHY on Hisilicon hix5hd2 Soc.
171
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100172config PHY_SUN4I_USB
173 tristate "Allwinner sunxi SoC USB PHY driver"
174 depends on ARCH_SUNXI && HAS_IOMEM && OF
Maxime Ripard9820ccb2014-07-10 11:54:59 +0530175 depends on RESET_CONTROLLER
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100176 select GENERIC_PHY
177 help
178 Enable this to support the transceiver that is part of Allwinner
179 sunxi SoCs.
180
181 This driver controls the entire USB PHY block, both the USB OTG
182 parts, as well as the 2 regular USB 2 host PHYs.
183
Kamil Debski06fb0132014-03-06 12:16:48 +0100184config PHY_SAMSUNG_USB2
185 tristate "Samsung USB 2.0 PHY driver"
Chen Gang4732aee2014-06-10 20:04:58 +0800186 depends on HAS_IOMEM
Sachin Kamatd6125af2014-07-14 15:38:41 +0530187 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
Kamil Debski06fb0132014-03-06 12:16:48 +0100188 select GENERIC_PHY
189 select MFD_SYSCON
Sachin Kamatd6125af2014-07-14 15:38:41 +0530190 default ARCH_EXYNOS
Kamil Debski06fb0132014-03-06 12:16:48 +0100191 help
192 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
Sachin Kamatd6125af2014-07-14 15:38:41 +0530193 SoCs. This driver provides the interface for USB 2.0 PHY. Support
194 for particular PHYs will be enabled based on the SoC type in addition
195 to this driver.
Kamil Debski06fb0132014-03-06 12:16:48 +0100196
Mateusz Krawczuk949ccc32013-12-20 14:24:12 +0100197config PHY_S5PV210_USB2
198 bool "Support for S5PV210"
199 depends on PHY_SAMSUNG_USB2
200 depends on ARCH_S5PV210
201 help
202 Enable USB PHY support for S5PV210. This option requires that Samsung
203 USB 2.0 PHY driver is enabled and means that support for this
204 particular SoC is compiled in the driver. In case of S5PV210 two phys
205 are available - device and host.
206
Kamil Debski06fb0132014-03-06 12:16:48 +0100207config PHY_EXYNOS4210_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530208 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100209 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530210 default CPU_EXYNOS4210
Kamil Debski06fb0132014-03-06 12:16:48 +0100211
212config PHY_EXYNOS4X12_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530213 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100214 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530215 default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
Kamil Debski64bf2b22014-03-06 12:16:49 +0100216
217config PHY_EXYNOS5250_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530218 bool
Kamil Debski64bf2b22014-03-06 12:16:49 +0100219 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530220 default SOC_EXYNOS5250 || SOC_EXYNOS5420
Kamil Debski64bf2b22014-03-06 12:16:49 +0100221
Vivek Gautam59025882014-05-13 15:30:16 +0530222config PHY_EXYNOS5_USBDRD
223 tristate "Exynos5 SoC series USB DRD PHY driver"
Vivek Gautam556186a2014-11-21 19:05:50 +0530224 depends on ARCH_EXYNOS && OF
Vivek Gautam59025882014-05-13 15:30:16 +0530225 depends on HAS_IOMEM
Sachin Kamatc233f522014-07-14 15:38:42 +0530226 depends on USB_DWC3_EXYNOS
Vivek Gautam59025882014-05-13 15:30:16 +0530227 select GENERIC_PHY
228 select MFD_SYSCON
Sachin Kamatc233f522014-07-14 15:38:42 +0530229 default y
Vivek Gautam59025882014-05-13 15:30:16 +0530230 help
231 Enable USB DRD PHY support for Exynos 5 SoC series.
232 This driver provides PHY interface for USB 3.0 DRD controller
233 present on Exynos5 SoC series.
234
Srinivas Kandagatla1de990d2014-07-14 12:17:59 +0100235config PHY_QCOM_APQ8064_SATA
236 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
237 depends on ARCH_QCOM
238 depends on HAS_IOMEM
239 depends on OF
240 select GENERIC_PHY
241
Kumar Gala4f6160d2014-07-16 11:10:08 -0500242config PHY_QCOM_IPQ806X_SATA
243 tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
244 depends on ARCH_QCOM
245 depends on HAS_IOMEM
246 depends on OF
247 select GENERIC_PHY
248
Yunzhi Li64d11402014-12-12 23:07:46 +0800249config PHY_ROCKCHIP_USB
250 tristate "Rockchip USB2 PHY Driver"
251 depends on ARCH_ROCKCHIP && OF
252 select GENERIC_PHY
253 help
254 Enable this to support the Rockchip USB 2.0 PHY.
255
Pratyush Anand64562e92014-04-14 15:27:36 +0530256config PHY_ST_SPEAR1310_MIPHY
257 tristate "ST SPEAR1310-MIPHY driver"
258 select GENERIC_PHY
Bartlomiej Zolnierkiewicz6100a7c2014-09-01 17:03:17 +0200259 depends on MACH_SPEAR1310 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530260 help
261 Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
262
263config PHY_ST_SPEAR1340_MIPHY
264 tristate "ST SPEAR1340-MIPHY driver"
265 select GENERIC_PHY
Bartlomiej Zolnierkiewicz7652d352014-09-01 17:04:15 +0200266 depends on MACH_SPEAR1340 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530267 help
268 Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
269
Linus Torvalds10c8e052014-08-08 11:34:32 -0700270config PHY_XGENE
271 tristate "APM X-Gene 15Gbps PHY support"
272 depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
273 select GENERIC_PHY
274 help
275 This option enables support for APM X-Gene SoC multi-purpose PHY.
276
Peter Griffin89ae1f52014-09-11 18:02:44 +0100277config PHY_STIH407_USB
278 tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
279 depends on RESET_CONTROLLER
280 depends on ARCH_STI || COMPILE_TEST
281 select GENERIC_PHY
282 help
283 Enable this support to enable the picoPHY device used by USB2
284 and USB3 controllers on STMicroelectronics STiH407 SoC families.
285
Peter Griffin3f8da2e2014-09-08 11:33:00 +0100286config PHY_STIH41X_USB
287 tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
288 depends on ARCH_STI
289 select GENERIC_PHY
290 help
291 Enable this to support the USB transceiver that is part of
292 STMicroelectronics STiH41x SoC series.
293
Yaniv Gardiadaafaa2015-01-15 16:32:35 +0200294config PHY_QCOM_UFS
295 tristate "Qualcomm UFS PHY driver"
296 depends on OF && ARCH_MSM
297 select GENERIC_PHY
298 help
299 Support for UFS PHY on QCOM chipsets.
300
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +0530301endmenu