xref: /openbmc/linux/drivers/net/phy/Kconfig (revision e2ad1f976b721df383ff12c12a6dcc805cbb80f3)
100db8189SAndy Fleming#
200db8189SAndy Fleming# PHY Layer Configuration
300db8189SAndy Fleming#
400db8189SAndy Fleming
553f99941SJan Engelhardtmenuconfig PHYLIB
6fc0b927dSBen Hutchings	tristate "PHY Device support and infrastructure"
7cba86f2eSRandy Dunlap	depends on NETDEVICES
800db8189SAndy Fleming	help
900db8189SAndy Fleming	  Ethernet controllers are usually attached to PHY
1000db8189SAndy Fleming	  devices.  This option provides infrastructure for
1100db8189SAndy Fleming	  managing PHY devices.
1200db8189SAndy Fleming
1353f99941SJan Engelhardtif PHYLIB
1453f99941SJan Engelhardt
1500db8189SAndy Flemingcomment "MII PHY device drivers"
1600db8189SAndy Fleming
17bee8259dSShaohui Xieconfig AQUANTIA_PHY
18bee8259dSShaohui Xie        tristate "Drivers for the Aquantia PHYs"
19bee8259dSShaohui Xie        ---help---
20bee8259dSShaohui Xie          Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
21bee8259dSShaohui Xie
220ca7111aSMatus Ujhelyiconfig AT803X_PHY
230ca7111aSMatus Ujhelyi	tristate "Drivers for Atheros AT803X PHYs"
240ca7111aSMatus Ujhelyi	---help---
250ca7111aSMatus Ujhelyi	  Currently supports the AT8030 and AT8035 model
260ca7111aSMatus Ujhelyi
2749099122SHeiko Schocherconfig AMD_PHY
2849099122SHeiko Schocher	tristate "Drivers for the AMD PHYs"
2949099122SHeiko Schocher	---help---
3049099122SHeiko Schocher	  Currently supports the am79c874
3149099122SHeiko Schocher
3200db8189SAndy Flemingconfig MARVELL_PHY
3367c4f3faSJeff Garzik	tristate "Drivers for Marvell PHYs"
3400db8189SAndy Fleming	---help---
3500db8189SAndy Fleming	  Currently has a driver for the 88E1011S
3600db8189SAndy Fleming
3700db8189SAndy Flemingconfig DAVICOM_PHY
3867c4f3faSJeff Garzik	tristate "Drivers for Davicom PHYs"
3900db8189SAndy Fleming	---help---
4000db8189SAndy Fleming	  Currently supports dm9161e and dm9131
4100db8189SAndy Fleming
4200db8189SAndy Flemingconfig QSEMI_PHY
4367c4f3faSJeff Garzik	tristate "Drivers for Quality Semiconductor PHYs"
4400db8189SAndy Fleming	---help---
4500db8189SAndy Fleming	  Currently supports the qs6612
4600db8189SAndy Fleming
4700db8189SAndy Flemingconfig LXT_PHY
4867c4f3faSJeff Garzik	tristate "Drivers for the Intel LXT PHYs"
4900db8189SAndy Fleming	---help---
5000db8189SAndy Fleming	  Currently supports the lxt970, lxt971
5100db8189SAndy Fleming
5200db8189SAndy Flemingconfig CICADA_PHY
5367c4f3faSJeff Garzik	tristate "Drivers for the Cicada PHYs"
5400db8189SAndy Fleming	---help---
5500db8189SAndy Fleming	  Currently supports the cis8204
5653f99941SJan Engelhardt
57ef82a306SJon Loeligerconfig VITESSE_PHY
58ef82a306SJon Loeliger        tristate "Drivers for the Vitesse PHYs"
59ef82a306SJon Loeliger        ---help---
60ef82a306SJon Loeliger          Currently supports the vsc8244
6100db8189SAndy Fleming
62f61687c0SShaohui Xieconfig TERANETICS_PHY
63f61687c0SShaohui Xie        tristate "Drivers for the Teranetics PHYs"
64f61687c0SShaohui Xie        ---help---
65f61687c0SShaohui Xie          Currently supports the Teranetics TN2020
66f61687c0SShaohui Xie
67c9e055acSHerbert Valerio Riedelconfig SMSC_PHY
68c9e055acSHerbert Valerio Riedel	tristate "Drivers for SMSC PHYs"
69c9e055acSHerbert Valerio Riedel	---help---
704d9b1a02SSteve Glendinning	  Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
71c9e055acSHerbert Valerio Riedel
72a1cba561SArun Parameswaranconfig BCM_NET_PHYLIB
73a1cba561SArun Parameswaran	tristate
74a1cba561SArun Parameswaran
75c4b41c9fSMaciej W. Rozyckiconfig BROADCOM_PHY
76c4b41c9fSMaciej W. Rozycki	tristate "Drivers for Broadcom PHYs"
77a1cba561SArun Parameswaran	select BCM_NET_PHYLIB
78c4b41c9fSMaciej W. Rozycki	---help---
793bca4cf6SAlessio Igor Bogani	  Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
803bca4cf6SAlessio Igor Bogani	  BCM5481 and BCM5482 PHYs.
81c4b41c9fSMaciej W. Rozycki
828e185d69SArun Parameswaranconfig BCM_CYGNUS_PHY
838e185d69SArun Parameswaran	tristate "Drivers for Broadcom Cygnus SoC internal PHY"
848e185d69SArun Parameswaran	depends on ARCH_BCM_CYGNUS || COMPILE_TEST
858e185d69SArun Parameswaran	depends on MDIO_BCM_IPROC
868e185d69SArun Parameswaran	select BCM_NET_PHYLIB
878e185d69SArun Parameswaran	---help---
888e185d69SArun Parameswaran	  This PHY driver is for the 1G internal PHYs of the Broadcom
898e185d69SArun Parameswaran	  Cygnus Family SoC.
908e185d69SArun Parameswaran
918e185d69SArun Parameswaran	  Currently supports internal PHY's used in the BCM11300,
928e185d69SArun Parameswaran	  BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
938e185d69SArun Parameswaran	  BCM58303 & BCM58305 Broadcom Cygnus SoCs.
948e185d69SArun Parameswaran
9509bb9aa0SMaxime Bizonconfig BCM63XX_PHY
9609bb9aa0SMaxime Bizon	tristate "Drivers for Broadcom 63xx SOCs internal PHY"
97f1dc045eSRalf Baechle	depends on BCM63XX
98a1cba561SArun Parameswaran	select BCM_NET_PHYLIB
9909bb9aa0SMaxime Bizon	---help---
10009bb9aa0SMaxime Bizon	  Currently supports the 6348 and 6358 PHYs.
10109bb9aa0SMaxime Bizon
102b560a58cSFlorian Fainelliconfig BCM7XXX_PHY
103b560a58cSFlorian Fainelli	tristate "Drivers for Broadcom 7xxx SOCs internal PHYs"
104a1cba561SArun Parameswaran	select BCM_NET_PHYLIB
105b560a58cSFlorian Fainelli	---help---
106b560a58cSFlorian Fainelli	  Currently supports the BCM7366, BCM7439, BCM7445, and
107b560a58cSFlorian Fainelli	  40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
108b560a58cSFlorian Fainelli
109e9976d7cSDavid Daneyconfig BCM87XX_PHY
110e9976d7cSDavid Daney	tristate "Driver for Broadcom BCM8706 and BCM8727 PHYs"
111e9976d7cSDavid Daney	help
112e9976d7cSDavid Daney	  Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
113e9976d7cSDavid Daney
1140cefeebaSMichael Barkowskiconfig ICPLUS_PHY
1150cefeebaSMichael Barkowski	tristate "Drivers for ICPlus PHYs"
1160cefeebaSMichael Barkowski	---help---
117377ecca9SGiuseppe CAVALLARO	  Currently supports the IP175C and IP1001 PHYs.
1180cefeebaSMichael Barkowski
119097c2aa8SJohnson Leungconfig REALTEK_PHY
120097c2aa8SJohnson Leung	tristate "Drivers for Realtek PHYs"
121097c2aa8SJohnson Leung	---help---
122097c2aa8SJohnson Leung	  Supports the Realtek 821x PHY.
123097c2aa8SJohnson Leung
124914804b9SGiuseppe Cavallaroconfig NATIONAL_PHY
125914804b9SGiuseppe Cavallaro	tristate "Drivers for National Semiconductor PHYs"
126914804b9SGiuseppe Cavallaro	---help---
127914804b9SGiuseppe Cavallaro	  Currently supports the DP83865 PHY.
128914804b9SGiuseppe Cavallaro
129f95be180SGiuseppe Cavallaroconfig STE10XP
130f95be180SGiuseppe Cavallaro	tristate "Driver for STMicroelectronics STe10Xp PHYs"
131f95be180SGiuseppe Cavallaro	---help---
132f95be180SGiuseppe Cavallaro	  This is the driver for the STe100p and STe101p PHYs.
133f95be180SGiuseppe Cavallaro
134dbb7a95dSChaithrika U Sconfig LSI_ET1011C_PHY
135dbb7a95dSChaithrika U S	tristate "Driver for LSI ET1011C PHY"
136dbb7a95dSChaithrika U S	---help---
137dbb7a95dSChaithrika U S	  Supports the LSI ET1011C PHY.
138dbb7a95dSChaithrika U S
139d0507009SDavid J. Choiconfig MICREL_PHY
140d0507009SDavid J. Choi	tristate "Driver for Micrel PHYs"
141d0507009SDavid J. Choi	---help---
142d0507009SDavid J. Choi	  Supports the KSZ9021, VSC8201, KS8001 PHYs.
143d0507009SDavid J. Choi
14434e45ad9SAndrew F. Davisconfig DP83848_PHY
14534e45ad9SAndrew F. Davis	tristate "Driver for Texas Instruments DP83848 PHY"
14634e45ad9SAndrew F. Davis	---help---
14734e45ad9SAndrew F. Davis	  Supports the DP83848 PHY.
14834e45ad9SAndrew F. Davis
1492a10154aSDan Murphyconfig DP83867_PHY
1502a10154aSDan Murphy	tristate "Drivers for Texas Instruments DP83867 Gigabit PHY"
1512a10154aSDan Murphy	---help---
1522a10154aSDan Murphy	  Currently supports the DP83867 PHY.
1532a10154aSDan Murphy
154792aec47SWoojung.Huh@microchip.comconfig MICROCHIP_PHY
155792aec47SWoojung.Huh@microchip.com	tristate "Drivers for Microchip PHYs"
156792aec47SWoojung.Huh@microchip.com	help
157792aec47SWoojung.Huh@microchip.com	  Supports the LAN88XX PHYs.
158792aec47SWoojung.Huh@microchip.com
15911b0bacdSVitaly Bordugconfig FIXED_PHY
1606539c44dSDavid S. Miller	tristate "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
1616539c44dSDavid S. Miller	depends on PHYLIB
16211b0bacdSVitaly Bordug	---help---
163a79d8e93SVitaly Bordug	  Adds the platform "fixed" MDIO Bus to cover the boards that use
164a79d8e93SVitaly Bordug	  PHYs that are not connected to the real MDIO bus.
16511b0bacdSVitaly Bordug
166a79d8e93SVitaly Bordug	  Currently tested with mpc866ads and mpc8349e-mitx.
1677c32f470SVitaly Bordug
168e2ec4581SScott Woodconfig MDIO_BITBANG
169e2ec4581SScott Wood	tristate "Support for bitbanged MDIO buses"
170e2ec4581SScott Wood	help
171e2ec4581SScott Wood	  This module implements the MDIO bus protocol in software,
172e2ec4581SScott Wood	  for use by low level drivers that export the ability to
173e2ec4581SScott Wood	  drive the relevant pins.
174e2ec4581SScott Wood
175e2ec4581SScott Wood	  If in doubt, say N.
176e2ec4581SScott Wood
17772af187fSPaulius Zaleckasconfig MDIO_GPIO
178a5edeccbSLaurent Pinchart	tristate "Support for GPIO lib-based bitbanged MDIO buses"
17976ec9d18SAlexandre Courbot	depends on MDIO_BITBANG && GPIOLIB
180a5edeccbSLaurent Pinchart	---help---
181a5edeccbSLaurent Pinchart	  Supports GPIO lib-based MDIO busses.
182a5edeccbSLaurent Pinchart
183f004f3eaSPaulius Zaleckas	  To compile this driver as a module, choose M here: the module
184f004f3eaSPaulius Zaleckas	  will be called mdio-gpio.
185f004f3eaSPaulius Zaleckas
1861eefee90SDavid Daneyconfig MDIO_CAVIUM
1871eefee90SDavid Daney	tristate
1881eefee90SDavid Daney
18925d967b7SDavid Daneyconfig MDIO_OCTEON
1901eefee90SDavid Daney	tristate "Support for MDIO buses on Octeon and some ThunderX SOCs"
191a6d67864SRadha Mohan Chintakuntla	depends on 64BIT
192c731f0e3SRichard Weinberger	depends on HAS_IOMEM
1931eefee90SDavid Daney	select MDIO_CAVIUM
19425d967b7SDavid Daney	help
195a6d67864SRadha Mohan Chintakuntla	  This module provides a driver for the Octeon and ThunderX MDIO
1961eefee90SDavid Daney	  buses. It is required by the Octeon and ThunderX ethernet device
1971eefee90SDavid Daney	  drivers on some systems.
19825d967b7SDavid Daney
199379d7ac7SDavid Daneyconfig MDIO_THUNDER
200*e2ad1f97SAndreas Färber	tristate "Support for MDIO buses on ThunderX SOCs"
201379d7ac7SDavid Daney	depends on 64BIT
202379d7ac7SDavid Daney	depends on PCI
203379d7ac7SDavid Daney	select MDIO_CAVIUM
204379d7ac7SDavid Daney	help
205379d7ac7SDavid Daney	  This driver supports the MDIO interfaces found on Cavium
206*e2ad1f97SAndreas Färber	  ThunderX SoCs when the MDIO bus device appears as a PCI
207379d7ac7SDavid Daney	  device.
208379d7ac7SDavid Daney
209379d7ac7SDavid Daney
2104bdcb1ddSMaxime Ripardconfig MDIO_SUN4I
2114bdcb1ddSMaxime Ripard	tristate "Allwinner sun4i MDIO interface support"
2124bdcb1ddSMaxime Ripard	depends on ARCH_SUNXI
2134bdcb1ddSMaxime Ripard	help
2144bdcb1ddSMaxime Ripard	  This driver supports the MDIO interface found in the network
2154bdcb1ddSMaxime Ripard	  interface units of the Allwinner SoC that have an EMAC (A10,
2164bdcb1ddSMaxime Ripard	  A12, A10s, etc.)
2174bdcb1ddSMaxime Ripard
218b0db7b0cSJonas Jensenconfig MDIO_MOXART
219b0db7b0cSJonas Jensen        tristate "MOXA ART MDIO interface support"
220b0db7b0cSJonas Jensen        depends on ARCH_MOXART
221b0db7b0cSJonas Jensen        help
222b0db7b0cSJonas Jensen          This driver supports the MDIO interface found in the network
223b0db7b0cSJonas Jensen          interface units of the MOXA ART SoC
224b0db7b0cSJonas Jensen
2250ca2997dSDavid Daneyconfig MDIO_BUS_MUX
2260ca2997dSDavid Daney	tristate
2270ca2997dSDavid Daney	depends on OF_MDIO
2280ca2997dSDavid Daney	help
2290ca2997dSDavid Daney	  This module provides a driver framework for MDIO bus
2300ca2997dSDavid Daney	  multiplexers which connect one of several child MDIO busses
2310ca2997dSDavid Daney	  to a parent bus.  Switching between child busses is done by
2320ca2997dSDavid Daney	  device specific drivers.
2330ca2997dSDavid Daney
234416912a1SDavid Daneyconfig MDIO_BUS_MUX_GPIO
235416912a1SDavid Daney	tristate "Support for GPIO controlled MDIO bus multiplexers"
236416912a1SDavid Daney	depends on OF_GPIO && OF_MDIO
237416912a1SDavid Daney	select MDIO_BUS_MUX
238416912a1SDavid Daney	help
239416912a1SDavid Daney	  This module provides a driver for MDIO bus multiplexers that
240416912a1SDavid Daney	  are controlled via GPIO lines.  The multiplexer connects one of
241416912a1SDavid Daney	  several child MDIO busses to a parent bus.  Child bus
242416912a1SDavid Daney	  selection is under the control of GPIO lines.
243416912a1SDavid Daney
2446cc2ff82STimur Tabiconfig MDIO_BUS_MUX_MMIOREG
2456cc2ff82STimur Tabi	tristate "Support for MMIO device-controlled MDIO bus multiplexers"
246cfa52005SRob Herring	depends on OF_MDIO && HAS_IOMEM
2476cc2ff82STimur Tabi	select MDIO_BUS_MUX
2486cc2ff82STimur Tabi	help
2496cc2ff82STimur Tabi	  This module provides a driver for MDIO bus multiplexers that
2506cc2ff82STimur Tabi	  are controlled via a simple memory-mapped device, like an FPGA.
2516cc2ff82STimur Tabi	  The multiplexer connects one of several child MDIO busses to a
2526cc2ff82STimur Tabi	  parent bus.  Child bus selection is under the control of one of
2536cc2ff82STimur Tabi	  the FPGA's registers.
2546cc2ff82STimur Tabi
2556cc2ff82STimur Tabi	  Currently, only 8-bit registers are supported.
2566cc2ff82STimur Tabi
2572ba1b163SFlorian Fainelliconfig MDIO_BCM_UNIMAC
2582ba1b163SFlorian Fainelli	tristate "Broadcom UniMAC MDIO bus controller"
259b3a00c91SChen Gang	depends on HAS_IOMEM
2602ba1b163SFlorian Fainelli	help
2612ba1b163SFlorian Fainelli	  This module provides a driver for the Broadcom UniMAC MDIO busses.
2622ba1b163SFlorian Fainelli	  This hardware can be found in the Broadcom GENET Ethernet MAC
2632ba1b163SFlorian Fainelli	  controllers as well as some Broadcom Ethernet switches such as the
2642ba1b163SFlorian Fainelli	  Starfighter 2 switches.
265ddc24ae1SArun Parameswaran
266ddc24ae1SArun Parameswaranconfig MDIO_BCM_IPROC
267ddc24ae1SArun Parameswaran	tristate "Broadcom iProc MDIO bus controller"
268ddc24ae1SArun Parameswaran	depends on ARCH_BCM_IPROC || COMPILE_TEST
269ddc24ae1SArun Parameswaran	depends on HAS_IOMEM && OF_MDIO
270ddc24ae1SArun Parameswaran	help
271ddc24ae1SArun Parameswaran	  This module provides a driver for the MDIO busses found in the
272ddc24ae1SArun Parameswaran	  Broadcom iProc SoC's.
273ddc24ae1SArun Parameswaran
27453f99941SJan Engelhardtendif # PHYLIB
275a8e510f6SFrederic LAMBERT
276a8e510f6SFrederic LAMBERTconfig MICREL_KS8995MA
277a8e510f6SFrederic LAMBERT	tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
278a8e510f6SFrederic LAMBERT	depends on SPI
279