xref: /openbmc/linux/drivers/net/phy/Kconfig (revision bbde9fc1824aab58bc78c084163007dd6c03fe5b)
1#
2# PHY Layer Configuration
3#
4
5menuconfig PHYLIB
6	tristate "PHY Device support and infrastructure"
7	depends on NETDEVICES
8	help
9	  Ethernet controllers are usually attached to PHY
10	  devices.  This option provides infrastructure for
11	  managing PHY devices.
12
13if PHYLIB
14
15comment "MII PHY device drivers"
16
17config AQUANTIA_PHY
18        tristate "Drivers for the Aquantia PHYs"
19        ---help---
20          Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
21
22config AT803X_PHY
23	tristate "Drivers for Atheros AT803X PHYs"
24	---help---
25	  Currently supports the AT8030 and AT8035 model
26
27config AMD_PHY
28	tristate "Drivers for the AMD PHYs"
29	---help---
30	  Currently supports the am79c874
31
32config MARVELL_PHY
33	tristate "Drivers for Marvell PHYs"
34	---help---
35	  Currently has a driver for the 88E1011S
36
37config DAVICOM_PHY
38	tristate "Drivers for Davicom PHYs"
39	---help---
40	  Currently supports dm9161e and dm9131
41
42config QSEMI_PHY
43	tristate "Drivers for Quality Semiconductor PHYs"
44	---help---
45	  Currently supports the qs6612
46
47config LXT_PHY
48	tristate "Drivers for the Intel LXT PHYs"
49	---help---
50	  Currently supports the lxt970, lxt971
51
52config CICADA_PHY
53	tristate "Drivers for the Cicada PHYs"
54	---help---
55	  Currently supports the cis8204
56
57config VITESSE_PHY
58        tristate "Drivers for the Vitesse PHYs"
59        ---help---
60          Currently supports the vsc8244
61
62config TERANETICS_PHY
63        tristate "Drivers for the Teranetics PHYs"
64        ---help---
65          Currently supports the Teranetics TN2020
66
67config SMSC_PHY
68	tristate "Drivers for SMSC PHYs"
69	---help---
70	  Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
71
72config BROADCOM_PHY
73	tristate "Drivers for Broadcom PHYs"
74	---help---
75	  Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
76	  BCM5481 and BCM5482 PHYs.
77
78config BCM63XX_PHY
79	tristate "Drivers for Broadcom 63xx SOCs internal PHY"
80	depends on BCM63XX
81	---help---
82	  Currently supports the 6348 and 6358 PHYs.
83
84config BCM7XXX_PHY
85	tristate "Drivers for Broadcom 7xxx SOCs internal PHYs"
86	---help---
87	  Currently supports the BCM7366, BCM7439, BCM7445, and
88	  40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
89
90config BCM87XX_PHY
91	tristate "Driver for Broadcom BCM8706 and BCM8727 PHYs"
92	help
93	  Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
94
95config ICPLUS_PHY
96	tristate "Drivers for ICPlus PHYs"
97	---help---
98	  Currently supports the IP175C and IP1001 PHYs.
99
100config REALTEK_PHY
101	tristate "Drivers for Realtek PHYs"
102	---help---
103	  Supports the Realtek 821x PHY.
104
105config NATIONAL_PHY
106	tristate "Drivers for National Semiconductor PHYs"
107	---help---
108	  Currently supports the DP83865 PHY.
109
110config STE10XP
111	tristate "Driver for STMicroelectronics STe10Xp PHYs"
112	---help---
113	  This is the driver for the STe100p and STe101p PHYs.
114
115config LSI_ET1011C_PHY
116	tristate "Driver for LSI ET1011C PHY"
117	---help---
118	  Supports the LSI ET1011C PHY.
119
120config MICREL_PHY
121	tristate "Driver for Micrel PHYs"
122	---help---
123	  Supports the KSZ9021, VSC8201, KS8001 PHYs.
124
125config DP83867_PHY
126	tristate "Drivers for Texas Instruments DP83867 Gigabit PHY"
127	---help---
128	  Currently supports the DP83867 PHY.
129
130config FIXED_PHY
131	tristate "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
132	depends on PHYLIB
133	---help---
134	  Adds the platform "fixed" MDIO Bus to cover the boards that use
135	  PHYs that are not connected to the real MDIO bus.
136
137	  Currently tested with mpc866ads and mpc8349e-mitx.
138
139config MDIO_BITBANG
140	tristate "Support for bitbanged MDIO buses"
141	help
142	  This module implements the MDIO bus protocol in software,
143	  for use by low level drivers that export the ability to
144	  drive the relevant pins.
145
146	  If in doubt, say N.
147
148config MDIO_GPIO
149	tristate "Support for GPIO lib-based bitbanged MDIO buses"
150	depends on MDIO_BITBANG && GPIOLIB
151	---help---
152	  Supports GPIO lib-based MDIO busses.
153
154	  To compile this driver as a module, choose M here: the module
155	  will be called mdio-gpio.
156
157config MDIO_OCTEON
158	tristate "Support for MDIO buses on Octeon and ThunderX SOCs"
159	depends on 64BIT
160	help
161
162	  This module provides a driver for the Octeon and ThunderX MDIO
163	  busses. It is required by the Octeon and ThunderX ethernet device
164	  drivers.
165
166	  If in doubt, say Y.
167
168config MDIO_SUN4I
169	tristate "Allwinner sun4i MDIO interface support"
170	depends on ARCH_SUNXI
171	help
172	  This driver supports the MDIO interface found in the network
173	  interface units of the Allwinner SoC that have an EMAC (A10,
174	  A12, A10s, etc.)
175
176config MDIO_MOXART
177        tristate "MOXA ART MDIO interface support"
178        depends on ARCH_MOXART
179        help
180          This driver supports the MDIO interface found in the network
181          interface units of the MOXA ART SoC
182
183config MDIO_BUS_MUX
184	tristate
185	depends on OF_MDIO
186	help
187	  This module provides a driver framework for MDIO bus
188	  multiplexers which connect one of several child MDIO busses
189	  to a parent bus.  Switching between child busses is done by
190	  device specific drivers.
191
192config MDIO_BUS_MUX_GPIO
193	tristate "Support for GPIO controlled MDIO bus multiplexers"
194	depends on OF_GPIO && OF_MDIO
195	select MDIO_BUS_MUX
196	help
197	  This module provides a driver for MDIO bus multiplexers that
198	  are controlled via GPIO lines.  The multiplexer connects one of
199	  several child MDIO busses to a parent bus.  Child bus
200	  selection is under the control of GPIO lines.
201
202config MDIO_BUS_MUX_MMIOREG
203	tristate "Support for MMIO device-controlled MDIO bus multiplexers"
204	depends on OF_MDIO && HAS_IOMEM
205	select MDIO_BUS_MUX
206	help
207	  This module provides a driver for MDIO bus multiplexers that
208	  are controlled via a simple memory-mapped device, like an FPGA.
209	  The multiplexer connects one of several child MDIO busses to a
210	  parent bus.  Child bus selection is under the control of one of
211	  the FPGA's registers.
212
213	  Currently, only 8-bit registers are supported.
214
215config MDIO_BCM_UNIMAC
216	tristate "Broadcom UniMAC MDIO bus controller"
217	depends on HAS_IOMEM
218	help
219	  This module provides a driver for the Broadcom UniMAC MDIO busses.
220	  This hardware can be found in the Broadcom GENET Ethernet MAC
221	  controllers as well as some Broadcom Ethernet switches such as the
222	  Starfighter 2 switches.
223endif # PHYLIB
224
225config MICREL_KS8995MA
226	tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
227	depends on SPI
228