blob: cfaced92e0c80f2dc5fcdbb5fe4b86aa9de67093 [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 Ténart942a31b2014-07-07 12:16:07 +020018config 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
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053025config PHY_EXYNOS_MIPI_VIDEO
26 tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
Sylwester Nawrocki13454e52014-02-21 17:44:01 +010027 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
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053031 help
32 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
33 and EXYNOS SoCs.
34
Andrew Lunne3eae852013-12-17 21:21:50 +010035config PHY_MVEBU_SATA
36 def_bool y
Andrew Lunn74d64b52014-07-10 23:36:30 +020037 depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
Andrew Lunne3eae852013-12-17 21:21:50 +010038 depends on OF
39 select GENERIC_PHY
40
Gabriel FERNANDEZ2c14e9b2014-11-04 11:51:19 +010041config PHY_MIPHY28LP
42 tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
43 depends on ARCH_STI
44 select GENERIC_PHY
45 help
46 Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
47 that is part of STMicroelectronics STiH407 SoC.
48
Lee Jones6e877fe2014-07-09 12:41:12 +010049config PHY_MIPHY365X
50 tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
51 depends on ARCH_STI
Lee Jones6e877fe2014-07-09 12:41:12 +010052 depends on HAS_IOMEM
53 depends on OF
Lee Jonesfbb1a772014-07-22 10:47:37 +010054 select GENERIC_PHY
Lee Jones6e877fe2014-07-09 12:41:12 +010055 help
56 Enable this to support the miphy transceiver (for SATA/PCIE)
57 that is part of STMicroelectronics STiH41x SoC series.
58
Sergei Shtylyov1233f592014-07-22 23:27:14 +040059config PHY_RCAR_GEN2
60 tristate "Renesas R-Car generation 2 USB PHY driver"
61 depends on ARCH_SHMOBILE
62 depends on GENERIC_PHY
63 help
64 Support for USB PHY found on Renesas R-Car generation 2 SoCs.
65
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020066config OMAP_CONTROL_PHY
67 tristate "OMAP CONTROL PHY Driver"
Jean Delvare907aa3a2014-04-19 08:51:42 +053068 depends on ARCH_OMAP2PLUS || COMPILE_TEST
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020069 help
70 Enable this to add support for the PHY part present in the control
71 module. This driver has API to power on the USB2 PHY and to write to
72 the mailbox. The mailbox is present only in omap4 and the register to
73 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
74 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
75 (PIPE3 PHY).
76
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053077config OMAP_USB2
78 tristate "OMAP USB2 PHY Driver"
79 depends on ARCH_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +053080 depends on USB_PHY
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053081 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020082 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +020083 depends on OMAP_OCP2SCP
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053084 help
85 Enable this to support the transceiver that is part of SOC. This
86 driver takes care of all the PHY functionality apart from comparator.
87 The USB OTG controller communicates with the comparator using this
88 driver.
89
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +053090config TI_PIPE3
91 tristate "TI PIPE3 PHY Driver"
92 depends on ARCH_OMAP2PLUS || COMPILE_TEST
93 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020094 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +020095 depends on OMAP_OCP2SCP
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +053096 help
97 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
98 driver takes care of all the PHY functionality apart from comparator.
99 This driver interacts with the "OMAP Control PHY Driver" to power
100 on/off the PHY.
101
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530102config TWL4030_USB
103 tristate "TWL4030 USB Transceiver Driver"
104 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +0530105 depends on USB_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530106 select GENERIC_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +0530107 help
108 Enable this to support the USB OTG transceiver on TWL4030
109 family chips (including the TWL5030 and TPS659x0 devices).
110 This transceiver supports high and full speed devices plus,
111 in host mode, low speed.
112
Jingoo Han74988e82013-10-16 21:58:14 +0530113config PHY_EXYNOS_DP_VIDEO
114 tristate "EXYNOS SoC series Display Port PHY driver"
115 depends on OF
Sylwester Nawrockia50ce202014-02-21 17:44:02 +0100116 depends on ARCH_EXYNOS || COMPILE_TEST
117 default ARCH_EXYNOS
Jingoo Han74988e82013-10-16 21:58:14 +0530118 select GENERIC_PHY
119 help
120 Support for Display Port PHY found on Samsung EXYNOS SoCs.
121
Matt Porter7597fdf2013-12-19 09:23:09 -0500122config BCM_KONA_USB2_PHY
123 tristate "Broadcom Kona USB2 PHY Driver"
Richard Weinberger06c304e2014-02-17 14:29:21 +0530124 depends on HAS_IOMEM
Arnd Bergmann3fc03f32014-05-08 16:46:53 +0200125 select GENERIC_PHY
Matt Porter7597fdf2013-12-19 09:23:09 -0500126 help
127 Enable this to support the Broadcom Kona USB 2.0 PHY.
128
Yuvaraj Kumar C Dbcff4cb2014-03-03 10:52:39 +0530129config PHY_EXYNOS5250_SATA
130 tristate "Exynos5250 Sata SerDes/PHY driver"
131 depends on SOC_EXYNOS5250
132 depends on HAS_IOMEM
133 depends on OF
134 select GENERIC_PHY
135 select I2C
136 select I2C_S3C2410
137 select MFD_SYSCON
138 help
139 Enable this to support SATA SerDes/Phy found on Samsung's
140 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
141 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
142 port to accept one SATA device.
143
Jiancheng Xuee3794132014-07-03 22:28:38 +0800144config PHY_HIX5HD2_SATA
145 tristate "HIX5HD2 SATA PHY Driver"
146 depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
147 select GENERIC_PHY
148 select MFD_SYSCON
149 help
150 Support for SATA PHY on Hisilicon hix5hd2 Soc.
151
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100152config PHY_SUN4I_USB
153 tristate "Allwinner sunxi SoC USB PHY driver"
154 depends on ARCH_SUNXI && HAS_IOMEM && OF
Maxime Ripard9820ccb2014-07-10 11:54:59 +0530155 depends on RESET_CONTROLLER
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100156 select GENERIC_PHY
157 help
158 Enable this to support the transceiver that is part of Allwinner
159 sunxi SoCs.
160
161 This driver controls the entire USB PHY block, both the USB OTG
162 parts, as well as the 2 regular USB 2 host PHYs.
163
Kamil Debski06fb0132014-03-06 12:16:48 +0100164config PHY_SAMSUNG_USB2
165 tristate "Samsung USB 2.0 PHY driver"
Chen Gang4732aee2014-06-10 20:04:58 +0800166 depends on HAS_IOMEM
Sachin Kamatd6125af2014-07-14 15:38:41 +0530167 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
Kamil Debski06fb0132014-03-06 12:16:48 +0100168 select GENERIC_PHY
169 select MFD_SYSCON
Sachin Kamatd6125af2014-07-14 15:38:41 +0530170 default ARCH_EXYNOS
Kamil Debski06fb0132014-03-06 12:16:48 +0100171 help
172 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
Sachin Kamatd6125af2014-07-14 15:38:41 +0530173 SoCs. This driver provides the interface for USB 2.0 PHY. Support
174 for particular PHYs will be enabled based on the SoC type in addition
175 to this driver.
Kamil Debski06fb0132014-03-06 12:16:48 +0100176
Mateusz Krawczuk949ccc32013-12-20 14:24:12 +0100177config PHY_S5PV210_USB2
178 bool "Support for S5PV210"
179 depends on PHY_SAMSUNG_USB2
180 depends on ARCH_S5PV210
181 help
182 Enable USB PHY support for S5PV210. This option requires that Samsung
183 USB 2.0 PHY driver is enabled and means that support for this
184 particular SoC is compiled in the driver. In case of S5PV210 two phys
185 are available - device and host.
186
Kamil Debski06fb0132014-03-06 12:16:48 +0100187config PHY_EXYNOS4210_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530188 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100189 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530190 default CPU_EXYNOS4210
Kamil Debski06fb0132014-03-06 12:16:48 +0100191
192config PHY_EXYNOS4X12_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530193 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100194 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530195 default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
Kamil Debski64bf2b22014-03-06 12:16:49 +0100196
197config PHY_EXYNOS5250_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530198 bool
Kamil Debski64bf2b22014-03-06 12:16:49 +0100199 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530200 default SOC_EXYNOS5250 || SOC_EXYNOS5420
Kamil Debski64bf2b22014-03-06 12:16:49 +0100201
Vivek Gautam59025882014-05-13 15:30:16 +0530202config PHY_EXYNOS5_USBDRD
203 tristate "Exynos5 SoC series USB DRD PHY driver"
204 depends on ARCH_EXYNOS5 && OF
205 depends on HAS_IOMEM
Sachin Kamatc233f522014-07-14 15:38:42 +0530206 depends on USB_DWC3_EXYNOS
Vivek Gautam59025882014-05-13 15:30:16 +0530207 select GENERIC_PHY
208 select MFD_SYSCON
Sachin Kamatc233f522014-07-14 15:38:42 +0530209 default y
Vivek Gautam59025882014-05-13 15:30:16 +0530210 help
211 Enable USB DRD PHY support for Exynos 5 SoC series.
212 This driver provides PHY interface for USB 3.0 DRD controller
213 present on Exynos5 SoC series.
214
Srinivas Kandagatla1de990d2014-07-14 12:17:59 +0100215config PHY_QCOM_APQ8064_SATA
216 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
217 depends on ARCH_QCOM
218 depends on HAS_IOMEM
219 depends on OF
220 select GENERIC_PHY
221
Kumar Gala4f6160d2014-07-16 11:10:08 -0500222config PHY_QCOM_IPQ806X_SATA
223 tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
224 depends on ARCH_QCOM
225 depends on HAS_IOMEM
226 depends on OF
227 select GENERIC_PHY
228
Pratyush Anand64562e92014-04-14 15:27:36 +0530229config PHY_ST_SPEAR1310_MIPHY
230 tristate "ST SPEAR1310-MIPHY driver"
231 select GENERIC_PHY
Bartlomiej Zolnierkiewicz6100a7c2014-09-01 17:03:17 +0200232 depends on MACH_SPEAR1310 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530233 help
234 Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
235
236config PHY_ST_SPEAR1340_MIPHY
237 tristate "ST SPEAR1340-MIPHY driver"
238 select GENERIC_PHY
Bartlomiej Zolnierkiewicz7652d352014-09-01 17:04:15 +0200239 depends on MACH_SPEAR1340 || COMPILE_TEST
Pratyush Anand64562e92014-04-14 15:27:36 +0530240 help
241 Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
242
Linus Torvalds10c8e052014-08-08 11:34:32 -0700243config PHY_XGENE
244 tristate "APM X-Gene 15Gbps PHY support"
245 depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
246 select GENERIC_PHY
247 help
248 This option enables support for APM X-Gene SoC multi-purpose PHY.
249
Peter Griffin89ae1f52014-09-11 18:02:44 +0100250config PHY_STIH407_USB
251 tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
252 depends on RESET_CONTROLLER
253 depends on ARCH_STI || COMPILE_TEST
254 select GENERIC_PHY
255 help
256 Enable this support to enable the picoPHY device used by USB2
257 and USB3 controllers on STMicroelectronics STiH407 SoC families.
258
Peter Griffin3f8da2e2014-09-08 11:33:00 +0100259config PHY_STIH41X_USB
260 tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
261 depends on ARCH_STI
262 select GENERIC_PHY
263 help
264 Enable this to support the USB transceiver that is part of
265 STMicroelectronics STiH41x SoC series.
266
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +0530267endmenu