xref: /openbmc/linux/drivers/net/phy/Kconfig (revision 2c684d89)
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 BCM_NET_PHYLIB
73	tristate
74
75config BROADCOM_PHY
76	tristate "Drivers for Broadcom PHYs"
77	select BCM_NET_PHYLIB
78	---help---
79	  Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
80	  BCM5481 and BCM5482 PHYs.
81
82config BCM_CYGNUS_PHY
83	tristate "Drivers for Broadcom Cygnus SoC internal PHY"
84	depends on ARCH_BCM_CYGNUS || COMPILE_TEST
85	depends on MDIO_BCM_IPROC
86	select BCM_NET_PHYLIB
87	---help---
88	  This PHY driver is for the 1G internal PHYs of the Broadcom
89	  Cygnus Family SoC.
90
91	  Currently supports internal PHY's used in the BCM11300,
92	  BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
93	  BCM58303 & BCM58305 Broadcom Cygnus SoCs.
94
95config BCM63XX_PHY
96	tristate "Drivers for Broadcom 63xx SOCs internal PHY"
97	depends on BCM63XX
98	select BCM_NET_PHYLIB
99	---help---
100	  Currently supports the 6348 and 6358 PHYs.
101
102config BCM7XXX_PHY
103	tristate "Drivers for Broadcom 7xxx SOCs internal PHYs"
104	select BCM_NET_PHYLIB
105	---help---
106	  Currently supports the BCM7366, BCM7439, BCM7445, and
107	  40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
108
109config BCM87XX_PHY
110	tristate "Driver for Broadcom BCM8706 and BCM8727 PHYs"
111	help
112	  Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
113
114config ICPLUS_PHY
115	tristate "Drivers for ICPlus PHYs"
116	---help---
117	  Currently supports the IP175C and IP1001 PHYs.
118
119config REALTEK_PHY
120	tristate "Drivers for Realtek PHYs"
121	---help---
122	  Supports the Realtek 821x PHY.
123
124config NATIONAL_PHY
125	tristate "Drivers for National Semiconductor PHYs"
126	---help---
127	  Currently supports the DP83865 PHY.
128
129config STE10XP
130	tristate "Driver for STMicroelectronics STe10Xp PHYs"
131	---help---
132	  This is the driver for the STe100p and STe101p PHYs.
133
134config LSI_ET1011C_PHY
135	tristate "Driver for LSI ET1011C PHY"
136	---help---
137	  Supports the LSI ET1011C PHY.
138
139config MICREL_PHY
140	tristate "Driver for Micrel PHYs"
141	---help---
142	  Supports the KSZ9021, VSC8201, KS8001 PHYs.
143
144config DP83848_PHY
145	tristate "Driver for Texas Instruments DP83848 PHY"
146	---help---
147	  Supports the DP83848 PHY.
148
149config DP83867_PHY
150	tristate "Drivers for Texas Instruments DP83867 Gigabit PHY"
151	---help---
152	  Currently supports the DP83867 PHY.
153
154config MICROCHIP_PHY
155	tristate "Drivers for Microchip PHYs"
156	help
157	  Supports the LAN88XX PHYs.
158
159config FIXED_PHY
160	tristate "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
161	depends on PHYLIB
162	---help---
163	  Adds the platform "fixed" MDIO Bus to cover the boards that use
164	  PHYs that are not connected to the real MDIO bus.
165
166	  Currently tested with mpc866ads and mpc8349e-mitx.
167
168config MDIO_BITBANG
169	tristate "Support for bitbanged MDIO buses"
170	help
171	  This module implements the MDIO bus protocol in software,
172	  for use by low level drivers that export the ability to
173	  drive the relevant pins.
174
175	  If in doubt, say N.
176
177config MDIO_GPIO
178	tristate "Support for GPIO lib-based bitbanged MDIO buses"
179	depends on MDIO_BITBANG && GPIOLIB
180	---help---
181	  Supports GPIO lib-based MDIO busses.
182
183	  To compile this driver as a module, choose M here: the module
184	  will be called mdio-gpio.
185
186config MDIO_OCTEON
187	tristate "Support for MDIO buses on Octeon and ThunderX SOCs"
188	depends on 64BIT
189	help
190
191	  This module provides a driver for the Octeon and ThunderX MDIO
192	  busses. It is required by the Octeon and ThunderX ethernet device
193	  drivers.
194
195config MDIO_SUN4I
196	tristate "Allwinner sun4i MDIO interface support"
197	depends on ARCH_SUNXI
198	help
199	  This driver supports the MDIO interface found in the network
200	  interface units of the Allwinner SoC that have an EMAC (A10,
201	  A12, A10s, etc.)
202
203config MDIO_MOXART
204        tristate "MOXA ART MDIO interface support"
205        depends on ARCH_MOXART
206        help
207          This driver supports the MDIO interface found in the network
208          interface units of the MOXA ART SoC
209
210config MDIO_BUS_MUX
211	tristate
212	depends on OF_MDIO
213	help
214	  This module provides a driver framework for MDIO bus
215	  multiplexers which connect one of several child MDIO busses
216	  to a parent bus.  Switching between child busses is done by
217	  device specific drivers.
218
219config MDIO_BUS_MUX_GPIO
220	tristate "Support for GPIO controlled MDIO bus multiplexers"
221	depends on OF_GPIO && OF_MDIO
222	select MDIO_BUS_MUX
223	help
224	  This module provides a driver for MDIO bus multiplexers that
225	  are controlled via GPIO lines.  The multiplexer connects one of
226	  several child MDIO busses to a parent bus.  Child bus
227	  selection is under the control of GPIO lines.
228
229config MDIO_BUS_MUX_MMIOREG
230	tristate "Support for MMIO device-controlled MDIO bus multiplexers"
231	depends on OF_MDIO && HAS_IOMEM
232	select MDIO_BUS_MUX
233	help
234	  This module provides a driver for MDIO bus multiplexers that
235	  are controlled via a simple memory-mapped device, like an FPGA.
236	  The multiplexer connects one of several child MDIO busses to a
237	  parent bus.  Child bus selection is under the control of one of
238	  the FPGA's registers.
239
240	  Currently, only 8-bit registers are supported.
241
242config MDIO_BCM_UNIMAC
243	tristate "Broadcom UniMAC MDIO bus controller"
244	depends on HAS_IOMEM
245	help
246	  This module provides a driver for the Broadcom UniMAC MDIO busses.
247	  This hardware can be found in the Broadcom GENET Ethernet MAC
248	  controllers as well as some Broadcom Ethernet switches such as the
249	  Starfighter 2 switches.
250
251config MDIO_BCM_IPROC
252	tristate "Broadcom iProc MDIO bus controller"
253	depends on ARCH_BCM_IPROC || COMPILE_TEST
254	depends on HAS_IOMEM && OF_MDIO
255	help
256	  This module provides a driver for the MDIO busses found in the
257	  Broadcom iProc SoC's.
258
259endif # PHYLIB
260
261config MICREL_KS8995MA
262	tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
263	depends on SPI
264