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