Merge tag 'wireless-drivers-for-davem-2017-04-03' of git://git.kernel.org/pub/scm...
[linux-2.6-block.git] / drivers / net / phy / Kconfig
CommitLineData
00db8189
AF
1#
2# PHY Layer Configuration
3#
4
90eff909
FF
5menuconfig MDIO_DEVICE
6 tristate "MDIO bus device drivers"
00db8189 7 help
90eff909 8 MDIO devices and driver infrastructure code.
2e0bc452 9
90eff909 10if MDIO_DEVICE
00db8189 11
d75b4a22
AL
12config MDIO_BCM_IPROC
13 tristate "Broadcom iProc MDIO bus controller"
14 depends on ARCH_BCM_IPROC || COMPILE_TEST
15 depends on HAS_IOMEM && OF_MDIO
16 help
17 This module provides a driver for the MDIO busses found in the
18 Broadcom iProc SoC's.
0ca7111a 19
d75b4a22
AL
20config MDIO_BCM_UNIMAC
21 tristate "Broadcom UniMAC MDIO bus controller"
17487eeb 22 depends on HAS_IOMEM && OF_MDIO
d75b4a22
AL
23 help
24 This module provides a driver for the Broadcom UniMAC MDIO busses.
25 This hardware can be found in the Broadcom GENET Ethernet MAC
26 controllers as well as some Broadcom Ethernet switches such as the
27 Starfighter 2 switches.
49099122 28
d75b4a22 29config MDIO_BITBANG
97c84389 30 tristate "Bitbanged MDIO buses"
90eff909 31 depends on !(MDIO_DEVICE=y && PHYLIB=m)
d75b4a22
AL
32 help
33 This module implements the MDIO bus protocol in software,
34 for use by low level drivers that export the ability to
35 drive the relevant pins.
00db8189 36
d75b4a22 37 If in doubt, say N.
00db8189 38
d75b4a22
AL
39config MDIO_BUS_MUX
40 tristate
41 depends on OF_MDIO
42 help
43 This module provides a driver framework for MDIO bus
44 multiplexers which connect one of several child MDIO busses
45 to a parent bus. Switching between child busses is done by
46 device specific drivers.
00db8189 47
d75b4a22 48config MDIO_BUS_MUX_BCM_IPROC
97c84389 49 tristate "Broadcom iProc based MDIO bus multiplexers"
d75b4a22
AL
50 depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
51 select MDIO_BUS_MUX
52 default ARCH_BCM_IPROC
53 help
54 This module provides a driver for MDIO bus multiplexers found in
55 iProc based Broadcom SoCs. This multiplexer connects one of several
56 child MDIO bus to a parent bus. Buses could be internal as well as
57 external and selection logic lies inside the same multiplexer.
53f99941 58
d75b4a22 59config MDIO_BUS_MUX_GPIO
97c84389 60 tristate "GPIO controlled MDIO bus multiplexers"
d75b4a22
AL
61 depends on OF_GPIO && OF_MDIO
62 select MDIO_BUS_MUX
63 help
64 This module provides a driver for MDIO bus multiplexers that
65 are controlled via GPIO lines. The multiplexer connects one of
66 several child MDIO busses to a parent bus. Child bus
67 selection is under the control of GPIO lines.
00db8189 68
d75b4a22 69config MDIO_BUS_MUX_MMIOREG
97c84389 70 tristate "MMIO device-controlled MDIO bus multiplexers"
d75b4a22
AL
71 depends on OF_MDIO && HAS_IOMEM
72 select MDIO_BUS_MUX
73 help
74 This module provides a driver for MDIO bus multiplexers that
75 are controlled via a simple memory-mapped device, like an FPGA.
76 The multiplexer connects one of several child MDIO busses to a
77 parent bus. Child bus selection is under the control of one of
78 the FPGA's registers.
f61687c0 79
d75b4a22 80 Currently, only 8-bit registers are supported.
c9e055ac 81
d75b4a22 82config MDIO_CAVIUM
a1cba561
AP
83 tristate
84
d75b4a22 85config MDIO_GPIO
97c84389 86 tristate "GPIO lib-based bitbanged MDIO buses"
d75b4a22 87 depends on MDIO_BITBANG && GPIOLIB
c4b41c9f 88 ---help---
d75b4a22 89 Supports GPIO lib-based MDIO busses.
c4b41c9f 90
d75b4a22
AL
91 To compile this driver as a module, choose M here: the module
92 will be called mdio-gpio.
93
94config MDIO_HISI_FEMAC
95 tristate "Hisilicon FEMAC MDIO bus controller"
96 depends on HAS_IOMEM && OF_MDIO
97 help
98 This module provides a driver for the MDIO busses found in the
99 Hisilicon SoC that have an Fast Ethernet MAC.
100
101config MDIO_MOXART
102 tristate "MOXA ART MDIO interface support"
103 depends on ARCH_MOXART
104 help
105 This driver supports the MDIO interface found in the network
106 interface units of the MOXA ART SoC
107
108config MDIO_OCTEON
97c84389 109 tristate "Octeon and some ThunderX SOCs MDIO buses"
d75b4a22
AL
110 depends on 64BIT
111 depends on HAS_IOMEM
112 select MDIO_CAVIUM
113 help
114 This module provides a driver for the Octeon and ThunderX MDIO
115 buses. It is required by the Octeon and ThunderX ethernet device
116 drivers on some systems.
117
118config MDIO_SUN4I
119 tristate "Allwinner sun4i MDIO interface support"
120 depends on ARCH_SUNXI
121 help
122 This driver supports the MDIO interface found in the network
123 interface units of the Allwinner SoC that have an EMAC (A10,
124 A12, A10s, etc.)
125
126config MDIO_THUNDER
97c84389 127 tristate "ThunderX SOCs MDIO buses"
d75b4a22
AL
128 depends on 64BIT
129 depends on PCI
130 select MDIO_CAVIUM
131 help
132 This driver supports the MDIO interfaces found on Cavium
133 ThunderX SoCs when the MDIO bus device appears as a PCI
134 device.
135
136config MDIO_XGENE
137 tristate "APM X-Gene SoC MDIO bus controller"
7aa6ec22 138 depends on ARCH_XGENE || COMPILE_TEST
d75b4a22
AL
139 help
140 This module provides a driver for the MDIO busses found in the
141 APM X-Gene SoC's.
142
90eff909
FF
143endif
144
145menuconfig PHYLIB
146 tristate "PHY Device support and infrastructure"
147 depends on NETDEVICES
148 select MDIO_DEVICE
149 help
150 Ethernet controllers are usually attached to PHY
151 devices. This option provides infrastructure for
152 managing PHY devices.
153
154if PHYLIB
155
156config SWPHY
157 bool
158
159config LED_TRIGGER_PHY
160 bool "Support LED triggers for tracking link state"
161 depends on LEDS_TRIGGERS
162 ---help---
163 Adds support for a set of LED trigger events per-PHY. Link
164 state change will trigger the events, for consumption by an
165 LED class driver. There are triggers for each link speed currently
166 supported by the phy, and are of the form:
167 <mii bus id>:<phy>:<speed>
168
169 Where speed is in the form:
170 <Speed in megabits>Mbps or <Speed in gigabits>Gbps
171
172
d75b4a22
AL
173comment "MII PHY device drivers"
174
175config AMD_PHY
97c84389 176 tristate "AMD PHYs"
8e185d69 177 ---help---
d75b4a22 178 Currently supports the am79c874
8e185d69 179
d75b4a22 180config AQUANTIA_PHY
97c84389 181 tristate "Aquantia PHYs"
d75b4a22
AL
182 ---help---
183 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
184
185config AT803X_PHY
97c84389 186 tristate "AT803X PHYs"
d75b4a22
AL
187 ---help---
188 Currently supports the AT8030 and AT8035 model
8e185d69 189
09bb9aa0 190config BCM63XX_PHY
97c84389 191 tristate "Broadcom 63xx SOCs internal PHY"
f1dc045e 192 depends on BCM63XX
a1cba561 193 select BCM_NET_PHYLIB
09bb9aa0
MB
194 ---help---
195 Currently supports the 6348 and 6358 PHYs.
196
b560a58c 197config BCM7XXX_PHY
97c84389 198 tristate "Broadcom 7xxx SOCs internal PHYs"
a1cba561 199 select BCM_NET_PHYLIB
b560a58c
FF
200 ---help---
201 Currently supports the BCM7366, BCM7439, BCM7445, and
202 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
203
e9976d7c 204config BCM87XX_PHY
97c84389 205 tristate "Broadcom BCM8706 and BCM8727 PHYs"
e9976d7c
DD
206 help
207 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
208
d75b4a22 209config BCM_CYGNUS_PHY
97c84389 210 tristate "Broadcom Cygnus SoC internal PHY"
d75b4a22
AL
211 depends on ARCH_BCM_CYGNUS || COMPILE_TEST
212 depends on MDIO_BCM_IPROC
213 select BCM_NET_PHYLIB
0cefeeba 214 ---help---
d75b4a22
AL
215 This PHY driver is for the 1G internal PHYs of the Broadcom
216 Cygnus Family SoC.
0cefeeba 217
d75b4a22
AL
218 Currently supports internal PHY's used in the BCM11300,
219 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
220 BCM58303 & BCM58305 Broadcom Cygnus SoCs.
097c2aa8 221
d75b4a22
AL
222config BCM_NET_PHYLIB
223 tristate
914804b9 224
d75b4a22 225config BROADCOM_PHY
97c84389 226 tristate "Broadcom PHYs"
d75b4a22 227 select BCM_NET_PHYLIB
f95be180 228 ---help---
d75b4a22 229 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
b14995ac 230 BCM5481, BCM54810 and BCM5482 PHYs.
f95be180 231
d75b4a22 232config CICADA_PHY
97c84389 233 tristate "Cicada PHYs"
dbb7a95d 234 ---help---
d75b4a22 235 Currently supports the cis8204
dbb7a95d 236
d75b4a22 237config DAVICOM_PHY
97c84389 238 tristate "Davicom PHYs"
d0507009 239 ---help---
d75b4a22 240 Currently supports dm9161e and dm9131
d0507009 241
34e45ad9 242config DP83848_PHY
97c84389 243 tristate "Texas Instruments DP83848 PHY"
34e45ad9
AD
244 ---help---
245 Supports the DP83848 PHY.
246
2a10154a 247config DP83867_PHY
97c84389 248 tristate "Texas Instruments DP83867 Gigabit PHY"
2a10154a
DM
249 ---help---
250 Currently supports the DP83867 PHY.
251
11b0bacd 252config FIXED_PHY
97c84389 253 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
6539c44d 254 depends on PHYLIB
5ae68b0c 255 select SWPHY
11b0bacd 256 ---help---
a79d8e93
VB
257 Adds the platform "fixed" MDIO Bus to cover the boards that use
258 PHYs that are not connected to the real MDIO bus.
259
260 Currently tested with mpc866ads and mpc8349e-mitx.
7c32f470 261
d75b4a22 262config ICPLUS_PHY
97c84389 263 tristate "ICPlus PHYs"
a5edeccb 264 ---help---
d75b4a22 265 Currently supports the IP175C and IP1001 PHYs.
ddc24ae1 266
112b558d 267config INTEL_XWAY_PHY
97c84389 268 tristate "Intel XWAY PHYs"
112b558d
HM
269 ---help---
270 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
271 These PHYs are marked as standalone chips under the names
272 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
273 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
274
d75b4a22 275config LSI_ET1011C_PHY
97c84389 276 tristate "LSI ET1011C PHY"
d75b4a22
AL
277 ---help---
278 Supports the LSI ET1011C PHY.
4960e4b1 279
d75b4a22 280config LXT_PHY
97c84389 281 tristate "Intel LXT PHYs"
d75b4a22
AL
282 ---help---
283 Currently supports the lxt970, lxt971
284
285config MARVELL_PHY
97c84389 286 tristate "Marvell PHYs"
d75b4a22
AL
287 ---help---
288 Currently has a driver for the 88E1011S
289
7334b3e4
NA
290config MESON_GXL_PHY
291 tristate "Amlogic Meson GXL Internal PHY"
2ebae8bd 292 depends on ARCH_MESON || COMPILE_TEST
7334b3e4
NA
293 ---help---
294 Currently has a driver for the Amlogic Meson GXL Internal PHY
295
d75b4a22 296config MICREL_PHY
97c84389 297 tristate "Micrel PHYs"
d75b4a22
AL
298 ---help---
299 Supports the KSZ9021, VSC8201, KS8001 PHYs.
300
301config MICROCHIP_PHY
97c84389 302 tristate "Microchip PHYs"
43b3cf66 303 help
d75b4a22 304 Supports the LAN88XX PHYs.
43b3cf66 305
d50736a8 306config MICROSEMI_PHY
4ffd03f5
RL
307 tristate "Microsemi PHYs"
308 ---help---
af1fee98 309 Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
d50736a8 310
d75b4a22 311config NATIONAL_PHY
97c84389 312 tristate "National Semiconductor PHYs"
d75b4a22
AL
313 ---help---
314 Currently supports the DP83865 PHY.
315
316config QSEMI_PHY
97c84389 317 tristate "Quality Semiconductor PHYs"
d75b4a22
AL
318 ---help---
319 Currently supports the qs6612
320
321config REALTEK_PHY
97c84389 322 tristate "Realtek PHYs"
d75b4a22
AL
323 ---help---
324 Supports the Realtek 821x PHY.
325
326config SMSC_PHY
97c84389 327 tristate "SMSC PHYs"
d75b4a22
AL
328 ---help---
329 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
330
331config STE10XP
97c84389 332 tristate "STMicroelectronics STe10Xp PHYs"
d75b4a22
AL
333 ---help---
334 This is the driver for the STe100p and STe101p PHYs.
335
336config TERANETICS_PHY
97c84389 337 tristate "Teranetics PHYs"
d75b4a22
AL
338 ---help---
339 Currently supports the Teranetics TN2020
340
341config VITESSE_PHY
97c84389 342 tristate "Vitesse PHYs"
d75b4a22
AL
343 ---help---
344 Currently supports the vsc8244
345
f411a616
ADKR
346config XILINX_GMII2RGMII
347 tristate "Xilinx GMII2RGMII converter driver"
348 ---help---
349 This driver support xilinx GMII to RGMII IP core it provides
350 the Reduced Gigabit Media Independent Interface(RGMII) between
351 Ethernet physical media devices and the Gigabit Ethernet controller.
352
53f99941 353endif # PHYLIB
a8e510f6
FL
354
355config MICREL_KS8995MA
356 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
357 depends on SPI