treewide: replace '---help---' in Kconfig files with 'help'
[linux-2.6-microblaze.git] / drivers / net / phy / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # PHY Layer Configuration
4 #
5
6 menuconfig MDIO_DEVICE
7         tristate "MDIO bus device drivers"
8         help
9           MDIO devices and driver infrastructure code.
10
11 if MDIO_DEVICE
12
13 config MDIO_BUS
14         tristate
15         default m if PHYLIB=m
16         default MDIO_DEVICE
17         help
18           This internal symbol is used for link time dependencies and it
19           reflects whether the mdio_bus/mdio_device code is built as a
20           loadable module or built-in.
21
22 if MDIO_BUS
23
24 config MDIO_ASPEED
25         tristate "ASPEED MDIO bus controller"
26         depends on ARCH_ASPEED || COMPILE_TEST
27         depends on OF_MDIO && HAS_IOMEM
28         help
29           This module provides a driver for the independent MDIO bus
30           controllers found in the ASPEED AST2600 SoC. This is a driver for the
31           third revision of the ASPEED MDIO register interface - the first two
32           revisions are the "old" and "new" interfaces found in the AST2400 and
33           AST2500, embedded in the MAC. For legacy reasons, FTGMAC100 driver
34           continues to drive the embedded MDIO controller for the AST2400 and
35           AST2500 SoCs, so say N if AST2600 support is not required.
36
37 config MDIO_BCM_IPROC
38         tristate "Broadcom iProc MDIO bus controller"
39         depends on ARCH_BCM_IPROC || COMPILE_TEST
40         depends on HAS_IOMEM && OF_MDIO
41         default ARCH_BCM_IPROC
42         help
43           This module provides a driver for the MDIO busses found in the
44           Broadcom iProc SoC's.
45
46 config MDIO_BCM_UNIMAC
47         tristate "Broadcom UniMAC MDIO bus controller"
48         depends on HAS_IOMEM
49         help
50           This module provides a driver for the Broadcom UniMAC MDIO busses.
51           This hardware can be found in the Broadcom GENET Ethernet MAC
52           controllers as well as some Broadcom Ethernet switches such as the
53           Starfighter 2 switches.
54
55 config MDIO_BITBANG
56         tristate "Bitbanged MDIO buses"
57         help
58           This module implements the MDIO bus protocol in software,
59           for use by low level drivers that export the ability to
60           drive the relevant pins.
61
62           If in doubt, say N.
63
64 config MDIO_BUS_MUX
65         tristate
66         depends on OF_MDIO
67         help
68           This module provides a driver framework for MDIO bus
69           multiplexers which connect one of several child MDIO busses
70           to a parent bus.  Switching between child busses is done by
71           device specific drivers.
72
73 config MDIO_BUS_MUX_BCM_IPROC
74         tristate "Broadcom iProc based MDIO bus multiplexers"
75         depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
76         select MDIO_BUS_MUX
77         default ARCH_BCM_IPROC
78         help
79           This module provides a driver for MDIO bus multiplexers found in
80           iProc based Broadcom SoCs. This multiplexer connects one of several
81           child MDIO bus to a parent bus. Buses could be internal as well as
82           external and selection logic lies inside the same multiplexer.
83
84 config MDIO_BUS_MUX_GPIO
85         tristate "GPIO controlled MDIO bus multiplexers"
86         depends on OF_GPIO && OF_MDIO
87         select MDIO_BUS_MUX
88         help
89           This module provides a driver for MDIO bus multiplexers that
90           are controlled via GPIO lines.  The multiplexer connects one of
91           several child MDIO busses to a parent bus.  Child bus
92           selection is under the control of GPIO lines.
93
94 config MDIO_BUS_MUX_MESON_G12A
95         tristate "Amlogic G12a based MDIO bus multiplexer"
96         depends on ARCH_MESON || COMPILE_TEST
97         depends on OF_MDIO && HAS_IOMEM && COMMON_CLK
98         select MDIO_BUS_MUX
99         default m if ARCH_MESON
100         help
101           This module provides a driver for the MDIO multiplexer/glue of
102           the amlogic g12a SoC. The multiplexers connects either the external
103           or the internal MDIO bus to the parent bus.
104
105 config MDIO_BUS_MUX_MMIOREG
106         tristate "MMIO device-controlled MDIO bus multiplexers"
107         depends on OF_MDIO && HAS_IOMEM
108         select MDIO_BUS_MUX
109         help
110           This module provides a driver for MDIO bus multiplexers that
111           are controlled via a simple memory-mapped device, like an FPGA.
112           The multiplexer connects one of several child MDIO busses to a
113           parent bus.  Child bus selection is under the control of one of
114           the FPGA's registers.
115
116           Currently, only 8/16/32 bits registers are supported.
117
118 config MDIO_BUS_MUX_MULTIPLEXER
119         tristate "MDIO bus multiplexer using kernel multiplexer subsystem"
120         depends on OF_MDIO
121         select MULTIPLEXER
122         select MDIO_BUS_MUX
123         help
124           This module provides a driver for MDIO bus multiplexer
125           that is controlled via the kernel multiplexer subsystem. The
126           bus multiplexer connects one of several child MDIO busses to
127           a parent bus.  Child bus selection is under the control of
128           the kernel multiplexer subsystem.
129
130 config MDIO_CAVIUM
131         tristate
132
133 config MDIO_GPIO
134         tristate "GPIO lib-based bitbanged MDIO buses"
135         depends on MDIO_BITBANG
136         depends on GPIOLIB || COMPILE_TEST
137         help
138           Supports GPIO lib-based MDIO busses.
139
140           To compile this driver as a module, choose M here: the module
141           will be called mdio-gpio.
142
143 config MDIO_HISI_FEMAC
144         tristate "Hisilicon FEMAC MDIO bus controller"
145         depends on HAS_IOMEM && OF_MDIO
146         help
147           This module provides a driver for the MDIO busses found in the
148           Hisilicon SoC that have an Fast Ethernet MAC.
149
150 config MDIO_I2C
151         tristate
152         depends on I2C
153         help
154           Support I2C based PHYs.  This provides a MDIO bus bridged
155           to I2C to allow PHYs connected in I2C mode to be accessed
156           using the existing infrastructure.
157
158           This is library mode.
159
160 config MDIO_IPQ4019
161         tristate "Qualcomm IPQ4019 MDIO interface support"
162         depends on HAS_IOMEM && OF_MDIO
163         help
164           This driver supports the MDIO interface found in Qualcomm
165           IPQ40xx series Soc-s.
166
167 config MDIO_IPQ8064
168         tristate "Qualcomm IPQ8064 MDIO interface support"
169         depends on HAS_IOMEM && OF_MDIO
170         depends on MFD_SYSCON
171         help
172           This driver supports the MDIO interface found in the network
173           interface units of the IPQ8064 SoC
174
175 config MDIO_MOXART
176         tristate "MOXA ART MDIO interface support"
177         depends on ARCH_MOXART || COMPILE_TEST
178         help
179           This driver supports the MDIO interface found in the network
180           interface units of the MOXA ART SoC
181
182 config MDIO_MSCC_MIIM
183         tristate "Microsemi MIIM interface support"
184         depends on HAS_IOMEM
185         help
186           This driver supports the MIIM (MDIO) interface found in the network
187           switches of the Microsemi SoCs; it is recommended to switch on
188           CONFIG_HIGH_RES_TIMERS
189
190 config MDIO_MVUSB
191         tristate "Marvell USB to MDIO Adapter"
192         depends on USB
193         help
194           A USB to MDIO converter present on development boards for
195           Marvell's Link Street family of Ethernet switches.
196
197 config MDIO_OCTEON
198         tristate "Octeon and some ThunderX SOCs MDIO buses"
199         depends on (64BIT && OF_MDIO) || COMPILE_TEST
200         depends on HAS_IOMEM
201         select MDIO_CAVIUM
202         help
203           This module provides a driver for the Octeon and ThunderX MDIO
204           buses. It is required by the Octeon and ThunderX ethernet device
205           drivers on some systems.
206
207 config MDIO_SUN4I
208         tristate "Allwinner sun4i MDIO interface support"
209         depends on ARCH_SUNXI || COMPILE_TEST
210         help
211           This driver supports the MDIO interface found in the network
212           interface units of the Allwinner SoC that have an EMAC (A10,
213           A12, A10s, etc.)
214
215 config MDIO_THUNDER
216         tristate "ThunderX SOCs MDIO buses"
217         depends on 64BIT
218         depends on PCI
219         select MDIO_CAVIUM
220         help
221           This driver supports the MDIO interfaces found on Cavium
222           ThunderX SoCs when the MDIO bus device appears as a PCI
223           device.
224
225 config MDIO_XGENE
226         tristate "APM X-Gene SoC MDIO bus controller"
227         depends on ARCH_XGENE || COMPILE_TEST
228         help
229           This module provides a driver for the MDIO busses found in the
230           APM X-Gene SoC's.
231
232 config MDIO_XPCS
233         tristate "Synopsys DesignWare XPCS controller"
234         help
235           This module provides helper functions for Synopsys DesignWare XPCS
236           controllers.
237
238 endif
239 endif
240
241 config PHYLINK
242         tristate
243         depends on NETDEVICES
244         select PHYLIB
245         select SWPHY
246         help
247           PHYlink models the link between the PHY and MAC, allowing fixed
248           configuration links, PHYs, and Serdes links with MAC level
249           autonegotiation modes.
250
251 menuconfig PHYLIB
252         tristate "PHY Device support and infrastructure"
253         depends on NETDEVICES
254         select MDIO_DEVICE
255         help
256           Ethernet controllers are usually attached to PHY
257           devices.  This option provides infrastructure for
258           managing PHY devices.
259
260 if PHYLIB
261
262 config SWPHY
263         bool
264
265 config LED_TRIGGER_PHY
266         bool "Support LED triggers for tracking link state"
267         depends on LEDS_TRIGGERS
268         help
269           Adds support for a set of LED trigger events per-PHY.  Link
270           state change will trigger the events, for consumption by an
271           LED class driver.  There are triggers for each link speed currently
272           supported by the PHY and also a one common "link" trigger as a
273           logical-or of all the link speed ones.
274           All these triggers are named according to the following pattern:
275               <mii bus id>:<phy>:<speed>
276
277           Where speed is in the form:
278                 <Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link
279                 for any speed known to the PHY.
280
281
282 comment "MII PHY device drivers"
283
284 config SFP
285         tristate "SFP cage support"
286         depends on I2C && PHYLINK
287         depends on HWMON || HWMON=n
288         select MDIO_I2C
289
290 config ADIN_PHY
291         tristate "Analog Devices Industrial Ethernet PHYs"
292         help
293           Adds support for the Analog Devices Industrial Ethernet PHYs.
294           Currently supports the:
295           - ADIN1200 - Robust,Industrial, Low Power 10/100 Ethernet PHY
296           - ADIN1300 - Robust,Industrial, Low Latency 10/100/1000 Gigabit
297             Ethernet PHY
298
299 config AMD_PHY
300         tristate "AMD PHYs"
301         help
302           Currently supports the am79c874
303
304 config AQUANTIA_PHY
305         tristate "Aquantia PHYs"
306         help
307           Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
308
309 config AX88796B_PHY
310         tristate "Asix PHYs"
311         help
312           Currently supports the Asix Electronics PHY found in the X-Surf 100
313           AX88796B package.
314
315 config BCM63XX_PHY
316         tristate "Broadcom 63xx SOCs internal PHY"
317         depends on BCM63XX || COMPILE_TEST
318         select BCM_NET_PHYLIB
319         help
320           Currently supports the 6348 and 6358 PHYs.
321
322 config BCM7XXX_PHY
323         tristate "Broadcom 7xxx SOCs internal PHYs"
324         select BCM_NET_PHYLIB
325         help
326           Currently supports the BCM7366, BCM7439, BCM7445, and
327           40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
328
329 config BCM87XX_PHY
330         tristate "Broadcom BCM8706 and BCM8727 PHYs"
331         help
332           Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
333
334 config BCM_CYGNUS_PHY
335         tristate "Broadcom Cygnus/Omega SoC internal PHY"
336         depends on ARCH_BCM_IPROC || COMPILE_TEST
337         depends on MDIO_BCM_IPROC
338         select BCM_NET_PHYLIB
339         help
340           This PHY driver is for the 1G internal PHYs of the Broadcom
341           Cygnus and Omega Family SoC.
342
343           Currently supports internal PHY's used in the BCM11300,
344           BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
345           BCM58303 & BCM58305 Broadcom Cygnus SoCs.
346
347 config BCM_NET_PHYLIB
348         tristate
349
350 config BROADCOM_PHY
351         tristate "Broadcom PHYs"
352         select BCM_NET_PHYLIB
353         help
354           Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
355           BCM5481, BCM54810 and BCM5482 PHYs.
356
357 config BCM54140_PHY
358         tristate "Broadcom BCM54140 PHY"
359         depends on PHYLIB
360         depends on HWMON || HWMON=n
361         select BCM_NET_PHYLIB
362         help
363           Support the Broadcom BCM54140 Quad SGMII/QSGMII PHY.
364
365           This driver also supports the hardware monitoring of this PHY and
366           exposes voltage and temperature sensors.
367
368 config BCM84881_PHY
369         tristate "Broadcom BCM84881 PHY"
370         depends on PHYLIB
371         help
372           Support the Broadcom BCM84881 PHY.
373
374 config CICADA_PHY
375         tristate "Cicada PHYs"
376         help
377           Currently supports the cis8204
378
379 config CORTINA_PHY
380         tristate "Cortina EDC CDR 10G Ethernet PHY"
381         help
382           Currently supports the CS4340 phy.
383
384 config DAVICOM_PHY
385         tristate "Davicom PHYs"
386         help
387           Currently supports dm9161e and dm9131
388
389 config DP83822_PHY
390         tristate "Texas Instruments DP83822/825/826 PHYs"
391         help
392           Supports the DP83822, DP83825I, DP83825CM, DP83825CS, DP83825S,
393           DP83826C and DP83826NC PHYs.
394
395 config DP83TC811_PHY
396         tristate "Texas Instruments DP83TC811 PHY"
397         help
398           Supports the DP83TC811 PHY.
399
400 config DP83848_PHY
401         tristate "Texas Instruments DP83848 PHY"
402         help
403           Supports the DP83848 PHY.
404
405 config DP83867_PHY
406         tristate "Texas Instruments DP83867 Gigabit PHY"
407         help
408           Currently supports the DP83867 PHY.
409
410 config DP83869_PHY
411         tristate "Texas Instruments DP83869 Gigabit PHY"
412         help
413           Currently supports the DP83869 PHY.  This PHY supports copper and
414           fiber connections.
415
416 config FIXED_PHY
417         tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
418         depends on PHYLIB
419         select SWPHY
420         help
421           Adds the platform "fixed" MDIO Bus to cover the boards that use
422           PHYs that are not connected to the real MDIO bus.
423
424           Currently tested with mpc866ads and mpc8349e-mitx.
425
426 config ICPLUS_PHY
427         tristate "ICPlus PHYs"
428         help
429           Currently supports the IP175C and IP1001 PHYs.
430
431 config INTEL_XWAY_PHY
432         tristate "Intel XWAY PHYs"
433         help
434           Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
435           These PHYs are marked as standalone chips under the names
436           PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
437           SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
438
439 config LSI_ET1011C_PHY
440         tristate "LSI ET1011C PHY"
441         help
442           Supports the LSI ET1011C PHY.
443
444 config LXT_PHY
445         tristate "Intel LXT PHYs"
446         help
447           Currently supports the lxt970, lxt971
448
449 config MARVELL_PHY
450         tristate "Marvell PHYs"
451         help
452           Currently has a driver for the 88E1011S
453
454 config MARVELL_10G_PHY
455         tristate "Marvell Alaska 10Gbit PHYs"
456         help
457           Support for the Marvell Alaska MV88X3310 and compatible PHYs.
458
459 config MESON_GXL_PHY
460         tristate "Amlogic Meson GXL Internal PHY"
461         depends on ARCH_MESON || COMPILE_TEST
462         help
463           Currently has a driver for the Amlogic Meson GXL Internal PHY
464
465 config MICREL_PHY
466         tristate "Micrel PHYs"
467         help
468           Supports the KSZ9021, VSC8201, KS8001 PHYs.
469
470 config MICROCHIP_PHY
471         tristate "Microchip PHYs"
472         help
473           Supports the LAN88XX PHYs.
474
475 config MICROCHIP_T1_PHY
476         tristate "Microchip T1 PHYs"
477         help
478           Supports the LAN87XX PHYs.
479
480 config MICROSEMI_PHY
481         tristate "Microsemi PHYs"
482         depends on MACSEC || MACSEC=n
483         select CRYPTO_AES
484         select CRYPTO_ECB
485         help
486           Currently supports VSC8514, VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
487
488 config NATIONAL_PHY
489         tristate "National Semiconductor PHYs"
490         help
491           Currently supports the DP83865 PHY.
492
493 config NXP_TJA11XX_PHY
494         tristate "NXP TJA11xx PHYs support"
495         depends on HWMON
496         help
497           Currently supports the NXP TJA1100 and TJA1101 PHY.
498
499 config AT803X_PHY
500         tristate "Qualcomm Atheros AR803X PHYs"
501         depends on REGULATOR
502         help
503           Currently supports the AR8030, AR8031, AR8033 and AR8035 model
504
505 config QSEMI_PHY
506         tristate "Quality Semiconductor PHYs"
507         help
508           Currently supports the qs6612
509
510 config REALTEK_PHY
511         tristate "Realtek PHYs"
512         help
513           Supports the Realtek 821x PHY.
514
515 config RENESAS_PHY
516         tristate "Driver for Renesas PHYs"
517         help
518           Supports the Renesas PHYs uPD60620 and uPD60620A.
519
520 config ROCKCHIP_PHY
521         tristate "Driver for Rockchip Ethernet PHYs"
522         help
523           Currently supports the integrated Ethernet PHY.
524
525 config SMSC_PHY
526         tristate "SMSC PHYs"
527         help
528           Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
529
530 config STE10XP
531         tristate "STMicroelectronics STe10Xp PHYs"
532         help
533           This is the driver for the STe100p and STe101p PHYs.
534
535 config TERANETICS_PHY
536         tristate "Teranetics PHYs"
537         help
538           Currently supports the Teranetics TN2020
539
540 config VITESSE_PHY
541         tristate "Vitesse PHYs"
542         help
543           Currently supports the vsc8244
544
545 config XILINX_GMII2RGMII
546         tristate "Xilinx GMII2RGMII converter driver"
547         help
548           This driver support xilinx GMII to RGMII IP core it provides
549           the Reduced Gigabit Media Independent Interface(RGMII) between
550           Ethernet physical media devices and the Gigabit Ethernet controller.
551
552 endif # PHYLIB
553
554 config MICREL_KS8995MA
555         tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
556         depends on SPI