xref: /openbmc/linux/drivers/net/phy/Kconfig (revision 4bdcb1dd9feb03608e12cfa46aba385035af8ea5)
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
170ca7111aSMatus Ujhelyiconfig AT803X_PHY
180ca7111aSMatus Ujhelyi	tristate "Drivers for Atheros AT803X PHYs"
190ca7111aSMatus Ujhelyi	---help---
200ca7111aSMatus Ujhelyi	  Currently supports the AT8030 and AT8035 model
210ca7111aSMatus Ujhelyi
2249099122SHeiko Schocherconfig AMD_PHY
2349099122SHeiko Schocher	tristate "Drivers for the AMD PHYs"
2449099122SHeiko Schocher	---help---
2549099122SHeiko Schocher	  Currently supports the am79c874
2649099122SHeiko Schocher
2700db8189SAndy Flemingconfig MARVELL_PHY
2867c4f3faSJeff Garzik	tristate "Drivers for Marvell PHYs"
2900db8189SAndy Fleming	---help---
3000db8189SAndy Fleming	  Currently has a driver for the 88E1011S
3100db8189SAndy Fleming
3200db8189SAndy Flemingconfig DAVICOM_PHY
3367c4f3faSJeff Garzik	tristate "Drivers for Davicom PHYs"
3400db8189SAndy Fleming	---help---
3500db8189SAndy Fleming	  Currently supports dm9161e and dm9131
3600db8189SAndy Fleming
3700db8189SAndy Flemingconfig QSEMI_PHY
3867c4f3faSJeff Garzik	tristate "Drivers for Quality Semiconductor PHYs"
3900db8189SAndy Fleming	---help---
4000db8189SAndy Fleming	  Currently supports the qs6612
4100db8189SAndy Fleming
4200db8189SAndy Flemingconfig LXT_PHY
4367c4f3faSJeff Garzik	tristate "Drivers for the Intel LXT PHYs"
4400db8189SAndy Fleming	---help---
4500db8189SAndy Fleming	  Currently supports the lxt970, lxt971
4600db8189SAndy Fleming
4700db8189SAndy Flemingconfig CICADA_PHY
4867c4f3faSJeff Garzik	tristate "Drivers for the Cicada PHYs"
4900db8189SAndy Fleming	---help---
5000db8189SAndy Fleming	  Currently supports the cis8204
5153f99941SJan Engelhardt
52ef82a306SJon Loeligerconfig VITESSE_PHY
53ef82a306SJon Loeliger        tristate "Drivers for the Vitesse PHYs"
54ef82a306SJon Loeliger        ---help---
55ef82a306SJon Loeliger          Currently supports the vsc8244
5600db8189SAndy Fleming
57c9e055acSHerbert Valerio Riedelconfig SMSC_PHY
58c9e055acSHerbert Valerio Riedel	tristate "Drivers for SMSC PHYs"
59c9e055acSHerbert Valerio Riedel	---help---
604d9b1a02SSteve Glendinning	  Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
61c9e055acSHerbert Valerio Riedel
62c4b41c9fSMaciej W. Rozyckiconfig BROADCOM_PHY
63c4b41c9fSMaciej W. Rozycki	tristate "Drivers for Broadcom PHYs"
64c4b41c9fSMaciej W. Rozycki	---help---
651b0771abSMaciej W. Rozycki	  Currently supports the BCM5411, BCM5421, BCM5461, BCM5464, BCM5481
661b0771abSMaciej W. Rozycki	  and BCM5482 PHYs.
67c4b41c9fSMaciej W. Rozycki
6809bb9aa0SMaxime Bizonconfig BCM63XX_PHY
6909bb9aa0SMaxime Bizon	tristate "Drivers for Broadcom 63xx SOCs internal PHY"
70f1dc045eSRalf Baechle	depends on BCM63XX
7109bb9aa0SMaxime Bizon	---help---
7209bb9aa0SMaxime Bizon	  Currently supports the 6348 and 6358 PHYs.
7309bb9aa0SMaxime Bizon
74e9976d7cSDavid Daneyconfig BCM87XX_PHY
75e9976d7cSDavid Daney	tristate "Driver for Broadcom BCM8706 and BCM8727 PHYs"
76e9976d7cSDavid Daney	help
77e9976d7cSDavid Daney	  Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
78e9976d7cSDavid Daney
790cefeebaSMichael Barkowskiconfig ICPLUS_PHY
800cefeebaSMichael Barkowski	tristate "Drivers for ICPlus PHYs"
810cefeebaSMichael Barkowski	---help---
82377ecca9SGiuseppe CAVALLARO	  Currently supports the IP175C and IP1001 PHYs.
830cefeebaSMichael Barkowski
84097c2aa8SJohnson Leungconfig REALTEK_PHY
85097c2aa8SJohnson Leung	tristate "Drivers for Realtek PHYs"
86097c2aa8SJohnson Leung	---help---
87097c2aa8SJohnson Leung	  Supports the Realtek 821x PHY.
88097c2aa8SJohnson Leung
89914804b9SGiuseppe Cavallaroconfig NATIONAL_PHY
90914804b9SGiuseppe Cavallaro	tristate "Drivers for National Semiconductor PHYs"
91914804b9SGiuseppe Cavallaro	---help---
92914804b9SGiuseppe Cavallaro	  Currently supports the DP83865 PHY.
93914804b9SGiuseppe Cavallaro
94f95be180SGiuseppe Cavallaroconfig STE10XP
95f95be180SGiuseppe Cavallaro	tristate "Driver for STMicroelectronics STe10Xp PHYs"
96f95be180SGiuseppe Cavallaro	---help---
97f95be180SGiuseppe Cavallaro	  This is the driver for the STe100p and STe101p PHYs.
98f95be180SGiuseppe Cavallaro
99dbb7a95dSChaithrika U Sconfig LSI_ET1011C_PHY
100dbb7a95dSChaithrika U S	tristate "Driver for LSI ET1011C PHY"
101dbb7a95dSChaithrika U S	---help---
102dbb7a95dSChaithrika U S	  Supports the LSI ET1011C PHY.
103dbb7a95dSChaithrika U S
104d0507009SDavid J. Choiconfig MICREL_PHY
105d0507009SDavid J. Choi	tristate "Driver for Micrel PHYs"
106d0507009SDavid J. Choi	---help---
107d0507009SDavid J. Choi	  Supports the KSZ9021, VSC8201, KS8001 PHYs.
108d0507009SDavid J. Choi
10911b0bacdSVitaly Bordugconfig FIXED_PHY
110a79d8e93SVitaly Bordug	bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
111f9e7d100SAdrian Bunk	depends on PHYLIB=y
11211b0bacdSVitaly Bordug	---help---
113a79d8e93SVitaly Bordug	  Adds the platform "fixed" MDIO Bus to cover the boards that use
114a79d8e93SVitaly Bordug	  PHYs that are not connected to the real MDIO bus.
11511b0bacdSVitaly Bordug
116a79d8e93SVitaly Bordug	  Currently tested with mpc866ads and mpc8349e-mitx.
1177c32f470SVitaly Bordug
118e2ec4581SScott Woodconfig MDIO_BITBANG
119e2ec4581SScott Wood	tristate "Support for bitbanged MDIO buses"
120e2ec4581SScott Wood	help
121e2ec4581SScott Wood	  This module implements the MDIO bus protocol in software,
122e2ec4581SScott Wood	  for use by low level drivers that export the ability to
123e2ec4581SScott Wood	  drive the relevant pins.
124e2ec4581SScott Wood
125e2ec4581SScott Wood	  If in doubt, say N.
126e2ec4581SScott Wood
12772af187fSPaulius Zaleckasconfig MDIO_GPIO
128a5edeccbSLaurent Pinchart	tristate "Support for GPIO lib-based bitbanged MDIO buses"
12976ec9d18SAlexandre Courbot	depends on MDIO_BITBANG && GPIOLIB
130a5edeccbSLaurent Pinchart	---help---
131a5edeccbSLaurent Pinchart	  Supports GPIO lib-based MDIO busses.
132a5edeccbSLaurent Pinchart
133f004f3eaSPaulius Zaleckas	  To compile this driver as a module, choose M here: the module
134f004f3eaSPaulius Zaleckas	  will be called mdio-gpio.
135f004f3eaSPaulius Zaleckas
13625d967b7SDavid Daneyconfig MDIO_OCTEON
13725d967b7SDavid Daney	tristate "Support for MDIO buses on Octeon SOCs"
13825d967b7SDavid Daney	depends on  CPU_CAVIUM_OCTEON
13925d967b7SDavid Daney	default y
14025d967b7SDavid Daney	help
14125d967b7SDavid Daney
14225d967b7SDavid Daney	  This module provides a driver for the Octeon MDIO busses.
14325d967b7SDavid Daney	  It is required by the Octeon Ethernet device drivers.
14425d967b7SDavid Daney
14525d967b7SDavid Daney	  If in doubt, say Y.
14625d967b7SDavid Daney
147*4bdcb1ddSMaxime Ripardconfig MDIO_SUN4I
148*4bdcb1ddSMaxime Ripard	tristate "Allwinner sun4i MDIO interface support"
149*4bdcb1ddSMaxime Ripard	depends on ARCH_SUNXI
150*4bdcb1ddSMaxime Ripard	select REGULATOR
151*4bdcb1ddSMaxime Ripard	select REGULATOR_FIXED_VOLTAGE
152*4bdcb1ddSMaxime Ripard	help
153*4bdcb1ddSMaxime Ripard	  This driver supports the MDIO interface found in the network
154*4bdcb1ddSMaxime Ripard	  interface units of the Allwinner SoC that have an EMAC (A10,
155*4bdcb1ddSMaxime Ripard	  A12, A10s, etc.)
156*4bdcb1ddSMaxime Ripard
1570ca2997dSDavid Daneyconfig MDIO_BUS_MUX
1580ca2997dSDavid Daney	tristate
1590ca2997dSDavid Daney	depends on OF_MDIO
1600ca2997dSDavid Daney	help
1610ca2997dSDavid Daney	  This module provides a driver framework for MDIO bus
1620ca2997dSDavid Daney	  multiplexers which connect one of several child MDIO busses
1630ca2997dSDavid Daney	  to a parent bus.  Switching between child busses is done by
1640ca2997dSDavid Daney	  device specific drivers.
1650ca2997dSDavid Daney
166416912a1SDavid Daneyconfig MDIO_BUS_MUX_GPIO
167416912a1SDavid Daney	tristate "Support for GPIO controlled MDIO bus multiplexers"
168416912a1SDavid Daney	depends on OF_GPIO && OF_MDIO
169416912a1SDavid Daney	select MDIO_BUS_MUX
170416912a1SDavid Daney	help
171416912a1SDavid Daney	  This module provides a driver for MDIO bus multiplexers that
172416912a1SDavid Daney	  are controlled via GPIO lines.  The multiplexer connects one of
173416912a1SDavid Daney	  several child MDIO busses to a parent bus.  Child bus
174416912a1SDavid Daney	  selection is under the control of GPIO lines.
175416912a1SDavid Daney
1766cc2ff82STimur Tabiconfig MDIO_BUS_MUX_MMIOREG
1776cc2ff82STimur Tabi	tristate "Support for MMIO device-controlled MDIO bus multiplexers"
1786cc2ff82STimur Tabi	depends on OF_MDIO
1796cc2ff82STimur Tabi	select MDIO_BUS_MUX
1806cc2ff82STimur Tabi	help
1816cc2ff82STimur Tabi	  This module provides a driver for MDIO bus multiplexers that
1826cc2ff82STimur Tabi	  are controlled via a simple memory-mapped device, like an FPGA.
1836cc2ff82STimur Tabi	  The multiplexer connects one of several child MDIO busses to a
1846cc2ff82STimur Tabi	  parent bus.  Child bus selection is under the control of one of
1856cc2ff82STimur Tabi	  the FPGA's registers.
1866cc2ff82STimur Tabi
1876cc2ff82STimur Tabi	  Currently, only 8-bit registers are supported.
1886cc2ff82STimur Tabi
18953f99941SJan Engelhardtendif # PHYLIB
190a8e510f6SFrederic LAMBERT
191a8e510f6SFrederic LAMBERTconfig MICREL_KS8995MA
192a8e510f6SFrederic LAMBERT	tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
193a8e510f6SFrederic LAMBERT	depends on SPI
194