xref: /openbmc/linux/drivers/net/phy/Kconfig (revision a9770eac)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# PHY Layer Configuration
4#
5
6config PHYLINK
7	tristate
8	depends on NETDEVICES
9	select PHYLIB
10	select SWPHY
11	help
12	  PHYlink models the link between the PHY and MAC, allowing fixed
13	  configuration links, PHYs, and Serdes links with MAC level
14	  autonegotiation modes.
15
16menuconfig PHYLIB
17	tristate "PHY Device support and infrastructure"
18	depends on NETDEVICES
19	select MDIO_DEVICE
20	select MDIO_DEVRES
21	help
22	  Ethernet controllers are usually attached to PHY
23	  devices.  This option provides infrastructure for
24	  managing PHY devices.
25
26if PHYLIB
27
28config SWPHY
29	bool
30
31config LED_TRIGGER_PHY
32	bool "Support LED triggers for tracking link state"
33	depends on LEDS_TRIGGERS
34	help
35	  Adds support for a set of LED trigger events per-PHY.  Link
36	  state change will trigger the events, for consumption by an
37	  LED class driver.  There are triggers for each link speed currently
38	  supported by the PHY and also a one common "link" trigger as a
39	  logical-or of all the link speed ones.
40	  All these triggers are named according to the following pattern:
41	      <mii bus id>:<phy>:<speed>
42
43	  Where speed is in the form:
44		<Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link
45		for any speed known to the PHY.
46
47
48comment "MII PHY device drivers"
49
50config SFP
51	tristate "SFP cage support"
52	depends on I2C && PHYLINK
53	depends on HWMON || HWMON=n
54	select MDIO_I2C
55
56config ADIN_PHY
57	tristate "Analog Devices Industrial Ethernet PHYs"
58	help
59	  Adds support for the Analog Devices Industrial Ethernet PHYs.
60	  Currently supports the:
61	  - ADIN1200 - Robust,Industrial, Low Power 10/100 Ethernet PHY
62	  - ADIN1300 - Robust,Industrial, Low Latency 10/100/1000 Gigabit
63	    Ethernet PHY
64
65config AMD_PHY
66	tristate "AMD PHYs"
67	help
68	  Currently supports the am79c874
69
70config AQUANTIA_PHY
71	tristate "Aquantia PHYs"
72	help
73	  Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
74
75config AX88796B_PHY
76	tristate "Asix PHYs"
77	help
78	  Currently supports the Asix Electronics PHY found in the X-Surf 100
79	  AX88796B package.
80
81config BCM63XX_PHY
82	tristate "Broadcom 63xx SOCs internal PHY"
83	depends on BCM63XX || COMPILE_TEST
84	select BCM_NET_PHYLIB
85	help
86	  Currently supports the 6348 and 6358 PHYs.
87
88config BCM7XXX_PHY
89	tristate "Broadcom 7xxx SOCs internal PHYs"
90	select BCM_NET_PHYLIB
91	help
92	  Currently supports the BCM7366, BCM7439, BCM7445, and
93	  40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
94
95config BCM87XX_PHY
96	tristate "Broadcom BCM8706 and BCM8727 PHYs"
97	help
98	  Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
99
100config BCM_CYGNUS_PHY
101	tristate "Broadcom Cygnus/Omega SoC internal PHY"
102	depends on ARCH_BCM_IPROC || COMPILE_TEST
103	depends on MDIO_BCM_IPROC
104	select BCM_NET_PHYLIB
105	help
106	  This PHY driver is for the 1G internal PHYs of the Broadcom
107	  Cygnus and Omega Family SoC.
108
109	  Currently supports internal PHY's used in the BCM11300,
110	  BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
111	  BCM58303 & BCM58305 Broadcom Cygnus SoCs.
112
113config BCM_NET_PHYLIB
114	tristate
115
116config BROADCOM_PHY
117	tristate "Broadcom PHYs"
118	select BCM_NET_PHYLIB
119	help
120	  Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
121	  BCM5481, BCM54810 and BCM5482 PHYs.
122
123config BCM54140_PHY
124	tristate "Broadcom BCM54140 PHY"
125	depends on PHYLIB
126	depends on HWMON || HWMON=n
127	select BCM_NET_PHYLIB
128	help
129	  Support the Broadcom BCM54140 Quad SGMII/QSGMII PHY.
130
131	  This driver also supports the hardware monitoring of this PHY and
132	  exposes voltage and temperature sensors.
133
134config BCM84881_PHY
135	tristate "Broadcom BCM84881 PHY"
136	depends on PHYLIB
137	help
138	  Support the Broadcom BCM84881 PHY.
139
140config CICADA_PHY
141	tristate "Cicada PHYs"
142	help
143	  Currently supports the cis8204
144
145config CORTINA_PHY
146	tristate "Cortina EDC CDR 10G Ethernet PHY"
147	help
148	  Currently supports the CS4340 phy.
149
150config DAVICOM_PHY
151	tristate "Davicom PHYs"
152	help
153	  Currently supports dm9161e and dm9131
154
155config DP83822_PHY
156	tristate "Texas Instruments DP83822/825/826 PHYs"
157	help
158	  Supports the DP83822, DP83825I, DP83825CM, DP83825CS, DP83825S,
159	  DP83826C and DP83826NC PHYs.
160
161config DP83TC811_PHY
162	tristate "Texas Instruments DP83TC811 PHY"
163	help
164	  Supports the DP83TC811 PHY.
165
166config DP83848_PHY
167	tristate "Texas Instruments DP83848 PHY"
168	help
169	  Supports the DP83848 PHY.
170
171config DP83867_PHY
172	tristate "Texas Instruments DP83867 Gigabit PHY"
173	help
174	  Currently supports the DP83867 PHY.
175
176config DP83869_PHY
177	tristate "Texas Instruments DP83869 Gigabit PHY"
178	help
179	  Currently supports the DP83869 PHY.  This PHY supports copper and
180	  fiber connections.
181
182config FIXED_PHY
183	tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
184	depends on PHYLIB
185	select SWPHY
186	help
187	  Adds the platform "fixed" MDIO Bus to cover the boards that use
188	  PHYs that are not connected to the real MDIO bus.
189
190	  Currently tested with mpc866ads and mpc8349e-mitx.
191
192config ICPLUS_PHY
193	tristate "ICPlus PHYs"
194	help
195	  Currently supports the IP175C and IP1001 PHYs.
196
197config INTEL_XWAY_PHY
198	tristate "Intel XWAY PHYs"
199	help
200	  Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
201	  These PHYs are marked as standalone chips under the names
202	  PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
203	  SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
204
205config LSI_ET1011C_PHY
206	tristate "LSI ET1011C PHY"
207	help
208	  Supports the LSI ET1011C PHY.
209
210config LXT_PHY
211	tristate "Intel LXT PHYs"
212	help
213	  Currently supports the lxt970, lxt971
214
215config MARVELL_PHY
216	tristate "Marvell PHYs"
217	help
218	  Currently has a driver for the 88E1011S
219
220config MARVELL_10G_PHY
221	tristate "Marvell Alaska 10Gbit PHYs"
222	help
223	  Support for the Marvell Alaska MV88X3310 and compatible PHYs.
224
225config MESON_GXL_PHY
226	tristate "Amlogic Meson GXL Internal PHY"
227	depends on ARCH_MESON || COMPILE_TEST
228	help
229	  Currently has a driver for the Amlogic Meson GXL Internal PHY
230
231config MICREL_PHY
232	tristate "Micrel PHYs"
233	help
234	  Supports the KSZ9021, VSC8201, KS8001 PHYs.
235
236config MICROCHIP_PHY
237	tristate "Microchip PHYs"
238	help
239	  Supports the LAN88XX PHYs.
240
241config MICROCHIP_T1_PHY
242	tristate "Microchip T1 PHYs"
243	help
244	  Supports the LAN87XX PHYs.
245
246config MICROSEMI_PHY
247	tristate "Microsemi PHYs"
248	depends on MACSEC || MACSEC=n
249	select CRYPTO_LIB_AES if MACSEC
250	help
251	  Currently supports VSC8514, VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
252
253config NATIONAL_PHY
254	tristate "National Semiconductor PHYs"
255	help
256	  Currently supports the DP83865 PHY.
257
258config NXP_TJA11XX_PHY
259	tristate "NXP TJA11xx PHYs support"
260	depends on HWMON
261	help
262	  Currently supports the NXP TJA1100 and TJA1101 PHY.
263
264config AT803X_PHY
265	tristate "Qualcomm Atheros AR803X PHYs"
266	depends on REGULATOR
267	help
268	  Currently supports the AR8030, AR8031, AR8033 and AR8035 model
269
270config QSEMI_PHY
271	tristate "Quality Semiconductor PHYs"
272	help
273	  Currently supports the qs6612
274
275config REALTEK_PHY
276	tristate "Realtek PHYs"
277	help
278	  Supports the Realtek 821x PHY.
279
280config RENESAS_PHY
281	tristate "Driver for Renesas PHYs"
282	help
283	  Supports the Renesas PHYs uPD60620 and uPD60620A.
284
285config ROCKCHIP_PHY
286	tristate "Driver for Rockchip Ethernet PHYs"
287	help
288	  Currently supports the integrated Ethernet PHY.
289
290config SMSC_PHY
291	tristate "SMSC PHYs"
292	help
293	  Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
294
295config STE10XP
296	tristate "STMicroelectronics STe10Xp PHYs"
297	help
298	  This is the driver for the STe100p and STe101p PHYs.
299
300config TERANETICS_PHY
301	tristate "Teranetics PHYs"
302	help
303	  Currently supports the Teranetics TN2020
304
305config VITESSE_PHY
306	tristate "Vitesse PHYs"
307	help
308	  Currently supports the vsc8244
309
310config XILINX_GMII2RGMII
311	tristate "Xilinx GMII2RGMII converter driver"
312	help
313	  This driver support xilinx GMII to RGMII IP core it provides
314	  the Reduced Gigabit Media Independent Interface(RGMII) between
315	  Ethernet physical media devices and the Gigabit Ethernet controller.
316
317endif # PHYLIB
318
319config MICREL_KS8995MA
320	tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
321	depends on SPI
322