bus: arm-ccn: Fix error handling at event allocation
[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_EXYNOS_MIPI_VIDEO
19         tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
20         depends on HAS_IOMEM
21         depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
22         select GENERIC_PHY
23         default y if ARCH_S5PV210 || ARCH_EXYNOS
24         help
25           Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
26           and EXYNOS SoCs.
27
28 config PHY_MVEBU_SATA
29         def_bool y
30         depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
31         depends on OF
32         select GENERIC_PHY
33
34 config OMAP_CONTROL_PHY
35         tristate "OMAP CONTROL PHY Driver"
36         depends on ARCH_OMAP2PLUS || COMPILE_TEST
37         help
38           Enable this to add support for the PHY part present in the control
39           module. This driver has API to power on the USB2 PHY and to write to
40           the mailbox. The mailbox is present only in omap4 and the register to
41           power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
42           additional register to power on USB3 PHY/SATA PHY/PCIE PHY
43           (PIPE3 PHY).
44
45 config OMAP_USB2
46         tristate "OMAP USB2 PHY Driver"
47         depends on ARCH_OMAP2PLUS
48         depends on USB_PHY
49         select GENERIC_PHY
50         select OMAP_CONTROL_PHY
51         depends on OMAP_OCP2SCP
52         help
53           Enable this to support the transceiver that is part of SOC. This
54           driver takes care of all the PHY functionality apart from comparator.
55           The USB OTG controller communicates with the comparator using this
56           driver.
57
58 config TI_PIPE3
59         tristate "TI PIPE3 PHY Driver"
60         depends on ARCH_OMAP2PLUS || COMPILE_TEST
61         select GENERIC_PHY
62         select OMAP_CONTROL_PHY
63         depends on OMAP_OCP2SCP
64         help
65           Enable this to support the PIPE3 PHY that is part of TI SOCs. This
66           driver takes care of all the PHY functionality apart from comparator.
67           This driver interacts with the "OMAP Control PHY Driver" to power
68           on/off the PHY.
69
70 config TWL4030_USB
71         tristate "TWL4030 USB Transceiver Driver"
72         depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
73         depends on USB_PHY
74         select GENERIC_PHY
75         help
76           Enable this to support the USB OTG transceiver on TWL4030
77           family chips (including the TWL5030 and TPS659x0 devices).
78           This transceiver supports high and full speed devices plus,
79           in host mode, low speed.
80
81 config PHY_EXYNOS_DP_VIDEO
82         tristate "EXYNOS SoC series Display Port PHY driver"
83         depends on OF
84         depends on ARCH_EXYNOS || COMPILE_TEST
85         default ARCH_EXYNOS
86         select GENERIC_PHY
87         help
88           Support for Display Port PHY found on Samsung EXYNOS SoCs.
89
90 config BCM_KONA_USB2_PHY
91         tristate "Broadcom Kona USB2 PHY Driver"
92         depends on HAS_IOMEM
93         select GENERIC_PHY
94         help
95           Enable this to support the Broadcom Kona USB 2.0 PHY.
96
97 config PHY_EXYNOS5250_SATA
98         tristate "Exynos5250 Sata SerDes/PHY driver"
99         depends on SOC_EXYNOS5250
100         depends on HAS_IOMEM
101         depends on OF
102         select GENERIC_PHY
103         select I2C
104         select I2C_S3C2410
105         select MFD_SYSCON
106         help
107           Enable this to support SATA SerDes/Phy found on Samsung's
108           Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
109           SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
110           port to accept one SATA device.
111
112 config PHY_SUN4I_USB
113         tristate "Allwinner sunxi SoC USB PHY driver"
114         depends on ARCH_SUNXI && HAS_IOMEM && OF
115         select GENERIC_PHY
116         help
117           Enable this to support the transceiver that is part of Allwinner
118           sunxi SoCs.
119
120           This driver controls the entire USB PHY block, both the USB OTG
121           parts, as well as the 2 regular USB 2 host PHYs.
122
123 config PHY_SAMSUNG_USB2
124         tristate "Samsung USB 2.0 PHY driver"
125         select GENERIC_PHY
126         select MFD_SYSCON
127         help
128           Enable this to support the Samsung USB 2.0 PHY driver for Samsung
129           SoCs. This driver provides the interface for USB 2.0 PHY. Support for
130           particular SoCs has to be enabled in addition to this driver. Number
131           and type of supported phys depends on the SoC.
132
133 config PHY_EXYNOS4210_USB2
134         bool "Support for Exynos 4210"
135         depends on PHY_SAMSUNG_USB2
136         depends on CPU_EXYNOS4210
137         help
138           Enable USB PHY support for Exynos 4210. This option requires that
139           Samsung USB 2.0 PHY driver is enabled and means that support for this
140           particular SoC is compiled in the driver. In case of Exynos 4210 four
141           phys are available - device, host, HSIC0 and HSIC1.
142
143 config PHY_EXYNOS4X12_USB2
144         bool "Support for Exynos 4x12"
145         depends on PHY_SAMSUNG_USB2
146         depends on (SOC_EXYNOS4212 || SOC_EXYNOS4412)
147         help
148           Enable USB PHY support for Exynos 4x12. This option requires that
149           Samsung USB 2.0 PHY driver is enabled and means that support for this
150           particular SoC is compiled in the driver. In case of Exynos 4x12 four
151           phys are available - device, host, HSIC0 and HSIC1.
152
153 config PHY_EXYNOS5250_USB2
154         bool "Support for Exynos 5250"
155         depends on PHY_SAMSUNG_USB2
156         depends on SOC_EXYNOS5250
157         help
158           Enable USB PHY support for Exynos 5250. This option requires that
159           Samsung USB 2.0 PHY driver is enabled and means that support for this
160           particular SoC is compiled in the driver. In case of Exynos 5250 four
161           phys are available - device, host, HSIC0 and HSIC.
162
163 config PHY_EXYNOS5_USBDRD
164         tristate "Exynos5 SoC series USB DRD PHY driver"
165         depends on ARCH_EXYNOS5 && OF
166         depends on HAS_IOMEM
167         select GENERIC_PHY
168         select MFD_SYSCON
169         help
170           Enable USB DRD PHY support for Exynos 5 SoC series.
171           This driver provides PHY interface for USB 3.0 DRD controller
172           present on Exynos5 SoC series.
173
174 config PHY_XGENE
175         tristate "APM X-Gene 15Gbps PHY support"
176         depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
177         select GENERIC_PHY
178         help
179           This option enables support for APM X-Gene SoC multi-purpose PHY.
180
181 config PHY_ST_SPEAR1310_MIPHY
182         tristate "ST SPEAR1310-MIPHY driver"
183         select GENERIC_PHY
184         help
185           Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
186
187 config PHY_ST_SPEAR1340_MIPHY
188         tristate "ST SPEAR1340-MIPHY driver"
189         select GENERIC_PHY
190         help
191           Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
192
193 endmenu