OSDN Git Service

Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
[uclinux-h8/linux.git] / drivers / phy / Kconfig
1 #
2 # PHY
3 #
4
5 menu "PHY Subsystem"
6
7 config GENERIC_PHY
8         bool "PHY Core"
9         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
18 config 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
25 config 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
32 config ARMADA375_USBCLUSTER_PHY
33         def_bool y
34         depends on MACH_ARMADA_375 || COMPILE_TEST
35         depends on OF
36         select GENERIC_PHY
37
38 config PHY_DM816X_USB
39         tristate "TI dm816x USB PHY driver"
40         depends on ARCH_OMAP2PLUS
41         depends on USB_SUPPORT
42         select GENERIC_PHY
43         select USB_PHY
44         help
45           Enable this for dm816x USB to work.
46
47 config PHY_EXYNOS_MIPI_VIDEO
48         tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
49         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
53         help
54           Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
55           and EXYNOS SoCs.
56
57 config PHY_PXA_28NM_HSIC
58         tristate "Marvell USB HSIC 28nm PHY Driver"
59         select GENERIC_PHY
60         help
61           Enable this to support Marvell USB HSIC PHY driver for Marvell
62           SoC. This driver will do the PHY initialization and shutdown.
63           The PHY driver will be used by Marvell ehci driver.
64
65           To compile this driver as a module, choose M here.
66
67 config PHY_PXA_28NM_USB2
68         tristate "Marvell USB 2.0 28nm PHY Driver"
69         select GENERIC_PHY
70         help
71           Enable this to support Marvell USB 2.0 PHY driver for Marvell
72           SoC. This driver will do the PHY initialization and shutdown.
73           The PHY driver will be used by Marvell udc/ehci/otg driver.
74
75           To compile this driver as a module, choose M here.
76
77 config PHY_MVEBU_SATA
78         def_bool y
79         depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
80         depends on OF
81         select GENERIC_PHY
82
83 config PHY_MIPHY28LP
84         tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
85         depends on ARCH_STI
86         select GENERIC_PHY
87         help
88           Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
89           that is part of STMicroelectronics STiH407 SoC.
90
91 config PHY_MIPHY365X
92         tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
93         depends on ARCH_STI
94         depends on HAS_IOMEM
95         depends on OF
96         select GENERIC_PHY
97         help
98           Enable this to support the miphy transceiver (for SATA/PCIE)
99           that is part of STMicroelectronics STiH41x SoC series.
100
101 config PHY_RCAR_GEN2
102         tristate "Renesas R-Car generation 2 USB PHY driver"
103         depends on ARCH_SHMOBILE
104         depends on GENERIC_PHY
105         help
106           Support for USB PHY found on Renesas R-Car generation 2 SoCs.
107
108 config OMAP_CONTROL_PHY
109         tristate "OMAP CONTROL PHY Driver"
110         depends on ARCH_OMAP2PLUS || COMPILE_TEST
111         help
112           Enable this to add support for the PHY part present in the control
113           module. This driver has API to power on the USB2 PHY and to write to
114           the mailbox. The mailbox is present only in omap4 and the register to
115           power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
116           additional register to power on USB3 PHY/SATA PHY/PCIE PHY
117           (PIPE3 PHY).
118
119 config OMAP_USB2
120         tristate "OMAP USB2 PHY Driver"
121         depends on ARCH_OMAP2PLUS
122         depends on USB_SUPPORT
123         select GENERIC_PHY
124         select USB_PHY
125         select OMAP_CONTROL_PHY
126         depends on OMAP_OCP2SCP
127         help
128           Enable this to support the transceiver that is part of SOC. This
129           driver takes care of all the PHY functionality apart from comparator.
130           The USB OTG controller communicates with the comparator using this
131           driver.
132
133 config TI_PIPE3
134         tristate "TI PIPE3 PHY Driver"
135         depends on ARCH_OMAP2PLUS || COMPILE_TEST
136         select GENERIC_PHY
137         select OMAP_CONTROL_PHY
138         depends on OMAP_OCP2SCP
139         help
140           Enable this to support the PIPE3 PHY that is part of TI SOCs. This
141           driver takes care of all the PHY functionality apart from comparator.
142           This driver interacts with the "OMAP Control PHY Driver" to power
143           on/off the PHY.
144
145 config TWL4030_USB
146         tristate "TWL4030 USB Transceiver Driver"
147         depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
148         depends on USB_SUPPORT
149         select GENERIC_PHY
150         select USB_PHY
151         help
152           Enable this to support the USB OTG transceiver on TWL4030
153           family chips (including the TWL5030 and TPS659x0 devices).
154           This transceiver supports high and full speed devices plus,
155           in host mode, low speed.
156
157 config PHY_EXYNOS_DP_VIDEO
158         tristate "EXYNOS SoC series Display Port PHY driver"
159         depends on OF
160         depends on ARCH_EXYNOS || COMPILE_TEST
161         default ARCH_EXYNOS
162         select GENERIC_PHY
163         help
164           Support for Display Port PHY found on Samsung EXYNOS SoCs.
165
166 config BCM_KONA_USB2_PHY
167         tristate "Broadcom Kona USB2 PHY Driver"
168         depends on HAS_IOMEM
169         select GENERIC_PHY
170         help
171           Enable this to support the Broadcom Kona USB 2.0 PHY.
172
173 config PHY_EXYNOS5250_SATA
174         tristate "Exynos5250 Sata SerDes/PHY driver"
175         depends on SOC_EXYNOS5250
176         depends on HAS_IOMEM
177         depends on OF
178         select GENERIC_PHY
179         select I2C
180         select I2C_S3C2410
181         select MFD_SYSCON
182         help
183           Enable this to support SATA SerDes/Phy found on Samsung's
184           Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
185           SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
186           port to accept one SATA device.
187
188 config PHY_HIX5HD2_SATA
189         tristate "HIX5HD2 SATA PHY Driver"
190         depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
191         select GENERIC_PHY
192         select MFD_SYSCON
193         help
194           Support for SATA PHY on Hisilicon hix5hd2 Soc.
195
196 config PHY_SUN4I_USB
197         tristate "Allwinner sunxi SoC USB PHY driver"
198         depends on ARCH_SUNXI && HAS_IOMEM && OF
199         depends on RESET_CONTROLLER
200         select GENERIC_PHY
201         help
202           Enable this to support the transceiver that is part of Allwinner
203           sunxi SoCs.
204
205           This driver controls the entire USB PHY block, both the USB OTG
206           parts, as well as the 2 regular USB 2 host PHYs.
207
208 config PHY_SUN9I_USB
209         tristate "Allwinner sun9i SoC USB PHY driver"
210         depends on ARCH_SUNXI && HAS_IOMEM && OF
211         depends on RESET_CONTROLLER
212         select GENERIC_PHY
213         help
214           Enable this to support the transceiver that is part of Allwinner
215           sun9i SoCs.
216
217           This driver controls each individual USB 2 host PHY.
218
219 config PHY_SAMSUNG_USB2
220         tristate "Samsung USB 2.0 PHY driver"
221         depends on HAS_IOMEM
222         depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
223         select GENERIC_PHY
224         select MFD_SYSCON
225         default ARCH_EXYNOS
226         help
227           Enable this to support the Samsung USB 2.0 PHY driver for Samsung
228           SoCs. This driver provides the interface for USB 2.0 PHY. Support
229           for particular PHYs will be enabled based on the SoC type in addition
230           to this driver.
231
232 config PHY_S5PV210_USB2
233         bool "Support for S5PV210"
234         depends on PHY_SAMSUNG_USB2
235         depends on ARCH_S5PV210
236         help
237           Enable USB PHY support for S5PV210. This option requires that Samsung
238           USB 2.0 PHY driver is enabled and means that support for this
239           particular SoC is compiled in the driver. In case of S5PV210 two phys
240           are available - device and host.
241
242 config PHY_EXYNOS4210_USB2
243         bool
244         depends on PHY_SAMSUNG_USB2
245         default CPU_EXYNOS4210
246
247 config PHY_EXYNOS4X12_USB2
248         bool
249         depends on PHY_SAMSUNG_USB2
250         default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
251
252 config PHY_EXYNOS5250_USB2
253         bool
254         depends on PHY_SAMSUNG_USB2
255         default SOC_EXYNOS5250 || SOC_EXYNOS5420
256
257 config PHY_EXYNOS5_USBDRD
258         tristate "Exynos5 SoC series USB DRD PHY driver"
259         depends on ARCH_EXYNOS && OF
260         depends on HAS_IOMEM
261         depends on USB_DWC3_EXYNOS
262         select GENERIC_PHY
263         select MFD_SYSCON
264         default y
265         help
266           Enable USB DRD PHY support for Exynos 5 SoC series.
267           This driver provides PHY interface for USB 3.0 DRD controller
268           present on Exynos5 SoC series.
269
270 config PHY_PISTACHIO_USB
271         tristate "IMG Pistachio USB2.0 PHY driver"
272         depends on MACH_PISTACHIO
273         select GENERIC_PHY
274         help
275           Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
276
277 config PHY_QCOM_APQ8064_SATA
278         tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
279         depends on ARCH_QCOM
280         depends on HAS_IOMEM
281         depends on OF
282         select GENERIC_PHY
283
284 config PHY_QCOM_IPQ806X_SATA
285         tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
286         depends on ARCH_QCOM
287         depends on HAS_IOMEM
288         depends on OF
289         select GENERIC_PHY
290
291 config PHY_ROCKCHIP_USB
292         tristate "Rockchip USB2 PHY Driver"
293         depends on ARCH_ROCKCHIP && OF
294         select GENERIC_PHY
295         help
296           Enable this to support the Rockchip USB 2.0 PHY.
297
298 config PHY_ST_SPEAR1310_MIPHY
299         tristate "ST SPEAR1310-MIPHY driver"
300         select GENERIC_PHY
301         depends on MACH_SPEAR1310 || COMPILE_TEST
302         help
303           Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
304
305 config PHY_ST_SPEAR1340_MIPHY
306         tristate "ST SPEAR1340-MIPHY driver"
307         select GENERIC_PHY
308         depends on MACH_SPEAR1340 || COMPILE_TEST
309         help
310           Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
311
312 config PHY_XGENE
313         tristate "APM X-Gene 15Gbps PHY support"
314         depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
315         select GENERIC_PHY
316         help
317           This option enables support for APM X-Gene SoC multi-purpose PHY.
318
319 config PHY_STIH407_USB
320         tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
321         depends on RESET_CONTROLLER
322         depends on ARCH_STI || COMPILE_TEST
323         select GENERIC_PHY
324         help
325           Enable this support to enable the picoPHY device used by USB2
326           and USB3 controllers on STMicroelectronics STiH407 SoC families.
327
328 config PHY_STIH41X_USB
329         tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
330         depends on ARCH_STI
331         select GENERIC_PHY
332         help
333           Enable this to support the USB transceiver that is part of
334           STMicroelectronics STiH41x SoC series.
335
336 config PHY_QCOM_UFS
337         tristate "Qualcomm UFS PHY driver"
338         depends on OF && ARCH_QCOM
339         select GENERIC_PHY
340         help
341           Support for UFS PHY on QCOM chipsets.
342
343 config PHY_TUSB1210
344         tristate "TI TUSB1210 ULPI PHY module"
345         depends on USB_ULPI_BUS
346         select GENERIC_PHY
347         help
348           Support for TI TUSB1210 USB ULPI PHY.
349
350 config PHY_BRCMSTB_SATA
351         tristate "Broadcom STB SATA PHY driver"
352         depends on ARCH_BRCMSTB
353         depends on OF
354         select GENERIC_PHY
355         help
356           Enable this to support the SATA3 PHY on 28nm Broadcom STB SoCs.
357           Likely useful only with CONFIG_SATA_BRCMSTB enabled.
358
359 endmenu