phy: exynos7-usbdrd: Update dependency for ARCH_EXYNOS
[cascardo/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 PHY_EXYNOS_MIPI_VIDEO
33         tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
34         depends on HAS_IOMEM
35         depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
36         select GENERIC_PHY
37         default y if ARCH_S5PV210 || ARCH_EXYNOS
38         help
39           Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
40           and EXYNOS SoCs.
41
42 config PHY_MVEBU_SATA
43         def_bool y
44         depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
45         depends on OF
46         select GENERIC_PHY
47
48 config PHY_MIPHY28LP
49         tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
50         depends on ARCH_STI
51         select GENERIC_PHY
52         help
53           Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
54           that is part of STMicroelectronics STiH407 SoC.
55
56 config PHY_MIPHY365X
57         tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
58         depends on ARCH_STI
59         depends on HAS_IOMEM
60         depends on OF
61         select GENERIC_PHY
62         help
63           Enable this to support the miphy transceiver (for SATA/PCIE)
64           that is part of STMicroelectronics STiH41x SoC series.
65
66 config PHY_RCAR_GEN2
67         tristate "Renesas R-Car generation 2 USB PHY driver"
68         depends on ARCH_SHMOBILE
69         depends on GENERIC_PHY
70         help
71           Support for USB PHY found on Renesas R-Car generation 2 SoCs.
72
73 config OMAP_CONTROL_PHY
74         tristate "OMAP CONTROL PHY Driver"
75         depends on ARCH_OMAP2PLUS || COMPILE_TEST
76         help
77           Enable this to add support for the PHY part present in the control
78           module. This driver has API to power on the USB2 PHY and to write to
79           the mailbox. The mailbox is present only in omap4 and the register to
80           power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
81           additional register to power on USB3 PHY/SATA PHY/PCIE PHY
82           (PIPE3 PHY).
83
84 config OMAP_USB2
85         tristate "OMAP USB2 PHY Driver"
86         depends on ARCH_OMAP2PLUS
87         depends on USB_PHY
88         select GENERIC_PHY
89         select OMAP_CONTROL_PHY
90         depends on OMAP_OCP2SCP
91         help
92           Enable this to support the transceiver that is part of SOC. This
93           driver takes care of all the PHY functionality apart from comparator.
94           The USB OTG controller communicates with the comparator using this
95           driver.
96
97 config TI_PIPE3
98         tristate "TI PIPE3 PHY Driver"
99         depends on ARCH_OMAP2PLUS || COMPILE_TEST
100         select GENERIC_PHY
101         select OMAP_CONTROL_PHY
102         depends on OMAP_OCP2SCP
103         help
104           Enable this to support the PIPE3 PHY that is part of TI SOCs. This
105           driver takes care of all the PHY functionality apart from comparator.
106           This driver interacts with the "OMAP Control PHY Driver" to power
107           on/off the PHY.
108
109 config TWL4030_USB
110         tristate "TWL4030 USB Transceiver Driver"
111         depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
112         depends on USB_PHY
113         select GENERIC_PHY
114         help
115           Enable this to support the USB OTG transceiver on TWL4030
116           family chips (including the TWL5030 and TPS659x0 devices).
117           This transceiver supports high and full speed devices plus,
118           in host mode, low speed.
119
120 config PHY_EXYNOS_DP_VIDEO
121         tristate "EXYNOS SoC series Display Port PHY driver"
122         depends on OF
123         depends on ARCH_EXYNOS || COMPILE_TEST
124         default ARCH_EXYNOS
125         select GENERIC_PHY
126         help
127           Support for Display Port PHY found on Samsung EXYNOS SoCs.
128
129 config BCM_KONA_USB2_PHY
130         tristate "Broadcom Kona USB2 PHY Driver"
131         depends on HAS_IOMEM
132         select GENERIC_PHY
133         help
134           Enable this to support the Broadcom Kona USB 2.0 PHY.
135
136 config PHY_EXYNOS5250_SATA
137         tristate "Exynos5250 Sata SerDes/PHY driver"
138         depends on SOC_EXYNOS5250
139         depends on HAS_IOMEM
140         depends on OF
141         select GENERIC_PHY
142         select I2C
143         select I2C_S3C2410
144         select MFD_SYSCON
145         help
146           Enable this to support SATA SerDes/Phy found on Samsung's
147           Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
148           SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
149           port to accept one SATA device.
150
151 config PHY_HIX5HD2_SATA
152         tristate "HIX5HD2 SATA PHY Driver"
153         depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
154         select GENERIC_PHY
155         select MFD_SYSCON
156         help
157           Support for SATA PHY on Hisilicon hix5hd2 Soc.
158
159 config PHY_SUN4I_USB
160         tristate "Allwinner sunxi SoC USB PHY driver"
161         depends on ARCH_SUNXI && HAS_IOMEM && OF
162         depends on RESET_CONTROLLER
163         select GENERIC_PHY
164         help
165           Enable this to support the transceiver that is part of Allwinner
166           sunxi SoCs.
167
168           This driver controls the entire USB PHY block, both the USB OTG
169           parts, as well as the 2 regular USB 2 host PHYs.
170
171 config PHY_SAMSUNG_USB2
172         tristate "Samsung USB 2.0 PHY driver"
173         depends on HAS_IOMEM
174         depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
175         select GENERIC_PHY
176         select MFD_SYSCON
177         default ARCH_EXYNOS
178         help
179           Enable this to support the Samsung USB 2.0 PHY driver for Samsung
180           SoCs. This driver provides the interface for USB 2.0 PHY. Support
181           for particular PHYs will be enabled based on the SoC type in addition
182           to this driver.
183
184 config PHY_S5PV210_USB2
185         bool "Support for S5PV210"
186         depends on PHY_SAMSUNG_USB2
187         depends on ARCH_S5PV210
188         help
189           Enable USB PHY support for S5PV210. This option requires that Samsung
190           USB 2.0 PHY driver is enabled and means that support for this
191           particular SoC is compiled in the driver. In case of S5PV210 two phys
192           are available - device and host.
193
194 config PHY_EXYNOS4210_USB2
195         bool
196         depends on PHY_SAMSUNG_USB2
197         default CPU_EXYNOS4210
198
199 config PHY_EXYNOS4X12_USB2
200         bool
201         depends on PHY_SAMSUNG_USB2
202         default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
203
204 config PHY_EXYNOS5250_USB2
205         bool
206         depends on PHY_SAMSUNG_USB2
207         default SOC_EXYNOS5250 || SOC_EXYNOS5420
208
209 config PHY_EXYNOS5_USBDRD
210         tristate "Exynos5 SoC series USB DRD PHY driver"
211         depends on ARCH_EXYNOS && OF
212         depends on HAS_IOMEM
213         depends on USB_DWC3_EXYNOS
214         select GENERIC_PHY
215         select MFD_SYSCON
216         default y
217         help
218           Enable USB DRD PHY support for Exynos 5 SoC series.
219           This driver provides PHY interface for USB 3.0 DRD controller
220           present on Exynos5 SoC series.
221
222 config PHY_QCOM_APQ8064_SATA
223         tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
224         depends on ARCH_QCOM
225         depends on HAS_IOMEM
226         depends on OF
227         select GENERIC_PHY
228
229 config PHY_QCOM_IPQ806X_SATA
230         tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
231         depends on ARCH_QCOM
232         depends on HAS_IOMEM
233         depends on OF
234         select GENERIC_PHY
235
236 config PHY_ST_SPEAR1310_MIPHY
237         tristate "ST SPEAR1310-MIPHY driver"
238         select GENERIC_PHY
239         depends on MACH_SPEAR1310 || COMPILE_TEST
240         help
241           Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
242
243 config PHY_ST_SPEAR1340_MIPHY
244         tristate "ST SPEAR1340-MIPHY driver"
245         select GENERIC_PHY
246         depends on MACH_SPEAR1340 || COMPILE_TEST
247         help
248           Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
249
250 config PHY_XGENE
251         tristate "APM X-Gene 15Gbps PHY support"
252         depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
253         select GENERIC_PHY
254         help
255           This option enables support for APM X-Gene SoC multi-purpose PHY.
256
257 config PHY_STIH407_USB
258         tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
259         depends on RESET_CONTROLLER
260         depends on ARCH_STI || COMPILE_TEST
261         select GENERIC_PHY
262         help
263           Enable this support to enable the picoPHY device used by USB2
264           and USB3 controllers on STMicroelectronics STiH407 SoC families.
265
266 config PHY_STIH41X_USB
267         tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
268         depends on ARCH_STI
269         select GENERIC_PHY
270         help
271           Enable this to support the USB transceiver that is part of
272           STMicroelectronics STiH41x SoC series.
273
274 endmenu