bbbf6c07ea530518d3b10b256656917b57a3d885
[sfrench/cifs-2.6.git] / drivers / net / phy / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # PHY Layer Configuration
4 #
5
6 config 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
16 menuconfig 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
26 if PHYLIB
27
28 config SWPHY
29         bool
30
31 config 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
48 config FIXED_PHY
49         tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
50         depends on PHYLIB
51         select SWPHY
52         help
53           Adds the platform "fixed" MDIO Bus to cover the boards that use
54           PHYs that are not connected to the real MDIO bus.
55
56           Currently tested with mpc866ads and mpc8349e-mitx.
57
58 config SFP
59         tristate "SFP cage support"
60         depends on I2C && PHYLINK
61         depends on HWMON || HWMON=n
62         select MDIO_I2C
63
64 comment "MII PHY device drivers"
65
66 config AMD_PHY
67         tristate "AMD PHYs"
68         help
69           Currently supports the am79c874
70
71 config MESON_GXL_PHY
72         tristate "Amlogic Meson GXL Internal PHY"
73         depends on ARCH_MESON || COMPILE_TEST
74         help
75           Currently has a driver for the Amlogic Meson GXL Internal PHY
76
77 config ADIN_PHY
78         tristate "Analog Devices Industrial Ethernet PHYs"
79         help
80           Adds support for the Analog Devices Industrial Ethernet PHYs.
81           Currently supports the:
82           - ADIN1200 - Robust,Industrial, Low Power 10/100 Ethernet PHY
83           - ADIN1300 - Robust,Industrial, Low Latency 10/100/1000 Gigabit
84             Ethernet PHY
85
86 config ADIN1100_PHY
87         tristate "Analog Devices Industrial Ethernet T1L PHYs"
88         help
89           Adds support for the Analog Devices Industrial T1L Ethernet PHYs.
90           Currently supports the:
91           - ADIN1100 - Robust,Industrial, Low Power 10BASE-T1L Ethernet PHY
92
93 config AQUANTIA_PHY
94         tristate "Aquantia PHYs"
95         help
96           Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
97
98 config AX88796B_PHY
99         tristate "Asix PHYs"
100         help
101           Currently supports the Asix Electronics PHY found in the X-Surf 100
102           AX88796B package.
103
104 config BROADCOM_PHY
105         tristate "Broadcom 54XX PHYs"
106         select BCM_NET_PHYLIB
107         help
108           Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
109           BCM5481, BCM54810 and BCM5482 PHYs.
110
111 config BCM54140_PHY
112         tristate "Broadcom BCM54140 PHY"
113         depends on PHYLIB
114         depends on HWMON || HWMON=n
115         select BCM_NET_PHYLIB
116         help
117           Support the Broadcom BCM54140 Quad SGMII/QSGMII PHY.
118
119           This driver also supports the hardware monitoring of this PHY and
120           exposes voltage and temperature sensors.
121
122 config BCM63XX_PHY
123         tristate "Broadcom 63xx SOCs internal PHY"
124         depends on BCM63XX || COMPILE_TEST
125         select BCM_NET_PHYLIB
126         help
127           Currently supports the 6348 and 6358 PHYs.
128
129 config BCM7XXX_PHY
130         tristate "Broadcom 7xxx SOCs internal PHYs"
131         select BCM_NET_PHYLIB
132         help
133           Currently supports the BCM7366, BCM7439, BCM7445, and
134           40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
135
136 config BCM84881_PHY
137         tristate "Broadcom BCM84881 PHY"
138         depends on PHYLIB
139         help
140           Support the Broadcom BCM84881 PHY.
141
142 config BCM87XX_PHY
143         tristate "Broadcom BCM8706 and BCM8727 PHYs"
144         help
145           Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
146
147 config BCM_CYGNUS_PHY
148         tristate "Broadcom Cygnus/Omega SoC internal PHY"
149         depends on ARCH_BCM_IPROC || COMPILE_TEST
150         depends on MDIO_BCM_IPROC
151         select BCM_NET_PHYLIB
152         help
153           This PHY driver is for the 1G internal PHYs of the Broadcom
154           Cygnus and Omega Family SoC.
155
156           Currently supports internal PHY's used in the BCM11300,
157           BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
158           BCM58303 & BCM58305 Broadcom Cygnus SoCs.
159
160 config BCM_NET_PHYLIB
161         tristate
162
163 config CICADA_PHY
164         tristate "Cicada PHYs"
165         help
166           Currently supports the cis8204
167
168 config CORTINA_PHY
169         tristate "Cortina EDC CDR 10G Ethernet PHY"
170         help
171           Currently supports the CS4340 phy.
172
173 config DAVICOM_PHY
174         tristate "Davicom PHYs"
175         help
176           Currently supports dm9161e and dm9131
177
178 config ICPLUS_PHY
179         tristate "ICPlus PHYs"
180         help
181           Currently supports the IP175C and IP1001 PHYs.
182
183 config LXT_PHY
184         tristate "Intel LXT PHYs"
185         help
186           Currently supports the lxt970, lxt971
187
188 config INTEL_XWAY_PHY
189         tristate "Intel XWAY PHYs"
190         help
191           Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
192           These PHYs are marked as standalone chips under the names
193           PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
194           SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
195
196 config LSI_ET1011C_PHY
197         tristate "LSI ET1011C PHY"
198         help
199           Supports the LSI ET1011C PHY.
200
201 config MARVELL_PHY
202         tristate "Marvell Alaska PHYs"
203         help
204           Currently has a driver for the 88E1XXX
205
206 config MARVELL_10G_PHY
207         tristate "Marvell Alaska 10Gbit PHYs"
208         help
209           Support for the Marvell Alaska MV88X3310 and compatible PHYs.
210
211 config MARVELL_88X2222_PHY
212         tristate "Marvell 88X2222 PHY"
213         help
214           Support for the Marvell 88X2222 Dual-port Multi-speed Ethernet
215           Transceiver.
216
217 config MAXLINEAR_GPHY
218         tristate "Maxlinear Ethernet PHYs"
219         help
220           Support for the Maxlinear GPY115, GPY211, GPY212, GPY215,
221           GPY241, GPY245 PHYs.
222
223 config MEDIATEK_GE_PHY
224         tristate "MediaTek Gigabit Ethernet PHYs"
225         help
226           Supports the MediaTek Gigabit Ethernet PHYs.
227
228 config MICREL_PHY
229         tristate "Micrel PHYs"
230         depends on PTP_1588_CLOCK_OPTIONAL
231         help
232           Supports the KSZ9021, VSC8201, KS8001 PHYs.
233
234 config MICROCHIP_PHY
235         tristate "Microchip PHYs"
236         help
237           Supports the LAN88XX PHYs.
238
239 config MICROCHIP_T1_PHY
240         tristate "Microchip T1 PHYs"
241         help
242           Supports the LAN87XX PHYs.
243
244 config MICROSEMI_PHY
245         tristate "Microsemi PHYs"
246         depends on MACSEC || MACSEC=n
247         depends on PTP_1588_CLOCK_OPTIONAL || !NETWORK_PHY_TIMESTAMPING
248         select CRYPTO_LIB_AES if MACSEC
249         help
250           Currently supports VSC8514, VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
251
252 config MOTORCOMM_PHY
253         tristate "Motorcomm PHYs"
254         help
255           Enables support for Motorcomm network PHYs.
256           Currently supports the YT8511 gigabit PHY.
257
258 config NATIONAL_PHY
259         tristate "National Semiconductor PHYs"
260         help
261           Currently supports the DP83865 PHY.
262
263 config NXP_C45_TJA11XX_PHY
264         tristate "NXP C45 TJA11XX PHYs"
265         depends on PTP_1588_CLOCK_OPTIONAL
266         help
267           Enable support for NXP C45 TJA11XX PHYs.
268           Currently supports only the TJA1103 PHY.
269
270 config NXP_TJA11XX_PHY
271         tristate "NXP TJA11xx PHYs support"
272         depends on HWMON
273         help
274           Currently supports the NXP TJA1100 and TJA1101 PHY.
275
276 config AT803X_PHY
277         tristate "Qualcomm Atheros AR803X PHYs and QCA833x PHYs"
278         depends on REGULATOR
279         help
280           Currently supports the AR8030, AR8031, AR8033, AR8035 and internal
281           QCA8337(Internal qca8k PHY) model
282
283 config QSEMI_PHY
284         tristate "Quality Semiconductor PHYs"
285         help
286           Currently supports the qs6612
287
288 config REALTEK_PHY
289         tristate "Realtek PHYs"
290         help
291           Supports the Realtek 821x PHY.
292
293 config RENESAS_PHY
294         tristate "Renesas PHYs"
295         help
296           Supports the Renesas PHYs uPD60620 and uPD60620A.
297
298 config ROCKCHIP_PHY
299         tristate "Rockchip Ethernet PHYs"
300         help
301           Currently supports the integrated Ethernet PHY.
302
303 config SMSC_PHY
304         tristate "SMSC PHYs"
305         help
306           Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
307
308 config STE10XP
309         tristate "STMicroelectronics STe10Xp PHYs"
310         help
311           This is the driver for the STe100p and STe101p PHYs.
312
313 config TERANETICS_PHY
314         tristate "Teranetics PHYs"
315         help
316           Currently supports the Teranetics TN2020
317
318 config DP83822_PHY
319         tristate "Texas Instruments DP83822/825/826 PHYs"
320         help
321           Supports the DP83822, DP83825I, DP83825CM, DP83825CS, DP83825S,
322           DP83826C and DP83826NC PHYs.
323
324 config DP83TC811_PHY
325         tristate "Texas Instruments DP83TC811 PHY"
326         help
327           Supports the DP83TC811 PHY.
328
329 config DP83848_PHY
330         tristate "Texas Instruments DP83848 PHY"
331         help
332           Supports the DP83848 PHY.
333
334 config DP83867_PHY
335         tristate "Texas Instruments DP83867 Gigabit PHY"
336         help
337           Currently supports the DP83867 PHY.
338
339 config DP83869_PHY
340         tristate "Texas Instruments DP83869 Gigabit PHY"
341         help
342           Currently supports the DP83869 PHY.  This PHY supports copper and
343           fiber connections.
344
345 config VITESSE_PHY
346         tristate "Vitesse PHYs"
347         help
348           Currently supports the vsc8244
349
350 config XILINX_GMII2RGMII
351         tristate "Xilinx GMII2RGMII converter driver"
352         help
353           This driver support xilinx GMII to RGMII IP core it provides
354           the Reduced Gigabit Media Independent Interface(RGMII) between
355           Ethernet physical media devices and the Gigabit Ethernet controller.
356
357 endif # PHYLIB
358
359 config MICREL_KS8995MA
360         tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
361         depends on SPI