]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/net/phy/Kconfig
UBUNTU: Ubuntu-5.15.0-39.42
[mirror_ubuntu-jammy-kernel.git] / drivers / net / phy / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
00db8189
AF
2#
3# PHY Layer Configuration
4#
5
9525ae83
RK
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
6073512c 16menuconfig PHYLIB
9e8d438e 17 tristate "PHY Device support and infrastructure"
6073512c
JB
18 depends on NETDEVICES
19 select MDIO_DEVICE
1814cff2 20 select MDIO_DEVRES
6073512c
JB
21 help
22 Ethernet controllers are usually attached to PHY
23 devices. This option provides infrastructure for
24 managing PHY devices.
25
90eff909
FF
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
a7f7f624 34 help
90eff909
FF
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
3928ee64
MS
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:
54161ed4 41 <mii bus id>:<phy>:<speed>
90eff909
FF
42
43 Where speed is in the form:
3928ee64
MS
44 <Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link
45 for any speed known to the PHY.
90eff909
FF
46
47
0457eb26
AL
48config 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.
d75b4a22 57
73970055
RK
58config SFP
59 tristate "SFP cage support"
60 depends on I2C && PHYLINK
b5293443 61 depends on HWMON || HWMON=n
73970055
RK
62 select MDIO_I2C
63
0457eb26
AL
64comment "MII PHY device drivers"
65
66config AMD_PHY
67 tristate "AMD PHYs"
68 help
69 Currently supports the am79c874
70
71config 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
9c102981
AA
77config 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
d75b4a22 86config AQUANTIA_PHY
54161ed4 87 tristate "Aquantia PHYs"
a7f7f624 88 help
54161ed4 89 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
d75b4a22 90
a9520543 91config AX88796B_PHY
31dd83b9
MS
92 tristate "Asix PHYs"
93 help
94 Currently supports the Asix Electronics PHY found in the X-Surf 100
95 AX88796B package.
96
0457eb26
AL
97config BROADCOM_PHY
98 tristate "Broadcom 54XX PHYs"
99 select BCM_NET_PHYLIB
100 help
101 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
102 BCM5481, BCM54810 and BCM5482 PHYs.
103
104config BCM54140_PHY
105 tristate "Broadcom BCM54140 PHY"
106 depends on PHYLIB
107 depends on HWMON || HWMON=n
108 select BCM_NET_PHYLIB
109 help
110 Support the Broadcom BCM54140 Quad SGMII/QSGMII PHY.
111
112 This driver also supports the hardware monitoring of this PHY and
113 exposes voltage and temperature sensors.
114
09bb9aa0 115config BCM63XX_PHY
97c84389 116 tristate "Broadcom 63xx SOCs internal PHY"
15d8daf7 117 depends on BCM63XX || COMPILE_TEST
a1cba561 118 select BCM_NET_PHYLIB
a7f7f624 119 help
09bb9aa0
MB
120 Currently supports the 6348 and 6358 PHYs.
121
b560a58c 122config BCM7XXX_PHY
97c84389 123 tristate "Broadcom 7xxx SOCs internal PHYs"
a1cba561 124 select BCM_NET_PHYLIB
a7f7f624 125 help
b560a58c
FF
126 Currently supports the BCM7366, BCM7439, BCM7445, and
127 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
128
0457eb26
AL
129config BCM84881_PHY
130 tristate "Broadcom BCM84881 PHY"
131 depends on PHYLIB
132 help
133 Support the Broadcom BCM84881 PHY.
134
e9976d7c 135config BCM87XX_PHY
97c84389 136 tristate "Broadcom BCM8706 and BCM8727 PHYs"
e9976d7c
DD
137 help
138 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
139
d75b4a22 140config BCM_CYGNUS_PHY
a7a01ab3 141 tristate "Broadcom Cygnus/Omega SoC internal PHY"
17cc9821 142 depends on ARCH_BCM_IPROC || COMPILE_TEST
d75b4a22
AL
143 depends on MDIO_BCM_IPROC
144 select BCM_NET_PHYLIB
a7f7f624 145 help
d75b4a22 146 This PHY driver is for the 1G internal PHYs of the Broadcom
17cc9821 147 Cygnus and Omega Family SoC.
0cefeeba 148
d75b4a22
AL
149 Currently supports internal PHY's used in the BCM11300,
150 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
151 BCM58303 & BCM58305 Broadcom Cygnus SoCs.
097c2aa8 152
d75b4a22
AL
153config BCM_NET_PHYLIB
154 tristate
914804b9 155
d75b4a22 156config CICADA_PHY
97c84389 157 tristate "Cicada PHYs"
a7f7f624 158 help
d75b4a22 159 Currently supports the cis8204
dbb7a95d 160
15b9e533
BP
161config CORTINA_PHY
162 tristate "Cortina EDC CDR 10G Ethernet PHY"
a7f7f624 163 help
15b9e533
BP
164 Currently supports the CS4340 phy.
165
d75b4a22 166config DAVICOM_PHY
97c84389 167 tristate "Davicom PHYs"
a7f7f624 168 help
d75b4a22 169 Currently supports dm9161e and dm9131
d0507009 170
d75b4a22 171config ICPLUS_PHY
97c84389 172 tristate "ICPlus PHYs"
a7f7f624 173 help
d75b4a22 174 Currently supports the IP175C and IP1001 PHYs.
ddc24ae1 175
0457eb26
AL
176config LXT_PHY
177 tristate "Intel LXT PHYs"
178 help
179 Currently supports the lxt970, lxt971
180
112b558d 181config INTEL_XWAY_PHY
97c84389 182 tristate "Intel XWAY PHYs"
a7f7f624 183 help
112b558d
HM
184 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
185 These PHYs are marked as standalone chips under the names
186 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
187 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
188
d75b4a22 189config LSI_ET1011C_PHY
97c84389 190 tristate "LSI ET1011C PHY"
a7f7f624 191 help
d75b4a22 192 Supports the LSI ET1011C PHY.
4960e4b1 193
d75b4a22 194config MARVELL_PHY
0457eb26 195 tristate "Marvell Alaska PHYs"
a7f7f624 196 help
0457eb26 197 Currently has a driver for the 88E1XXX
d75b4a22 198
20b2af32
RK
199config MARVELL_10G_PHY
200 tristate "Marvell Alaska 10Gbit PHYs"
a7f7f624 201 help
20b2af32
RK
202 Support for the Marvell Alaska MV88X3310 and compatible PHYs.
203
6e3bac3e
IB
204config MARVELL_88X2222_PHY
205 tristate "Marvell 88X2222 PHY"
206 help
207 Support for the Marvell 88X2222 Dual-port Multi-speed Ethernet
208 Transceiver.
209
7d901a1e
XL
210config MAXLINEAR_GPHY
211 tristate "Maxlinear Ethernet PHYs"
212 help
213 Support for the Maxlinear GPY115, GPY211, GPY212, GPY215,
214 GPY241, GPY245 PHYs.
215
e40d2cca
DQ
216config MEDIATEK_GE_PHY
217 tristate "MediaTek Gigabit Ethernet PHYs"
218 help
219 Supports the MediaTek Gigabit Ethernet PHYs.
220
d75b4a22 221config MICREL_PHY
97c84389 222 tristate "Micrel PHYs"
a7f7f624 223 help
d75b4a22
AL
224 Supports the KSZ9021, VSC8201, KS8001 PHYs.
225
226config MICROCHIP_PHY
97c84389 227 tristate "Microchip PHYs"
43b3cf66 228 help
d75b4a22 229 Supports the LAN88XX PHYs.
43b3cf66 230
3e50d2da
NS
231config MICROCHIP_T1_PHY
232 tristate "Microchip T1 PHYs"
a7f7f624 233 help
3e50d2da
NS
234 Supports the LAN87XX PHYs.
235
d50736a8 236config MICROSEMI_PHY
4ffd03f5 237 tristate "Microsemi PHYs"
28c5107a 238 depends on MACSEC || MACSEC=n
e5f31552 239 depends on PTP_1588_CLOCK_OPTIONAL || !NETWORK_PHY_TIMESTAMPING
5a3235e5 240 select CRYPTO_LIB_AES if MACSEC
a7f7f624 241 help
e4f9ba64 242 Currently supports VSC8514, VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
d50736a8 243
48e8c6f1
PG
244config MOTORCOMM_PHY
245 tristate "Motorcomm PHYs"
246 help
247 Enables support for Motorcomm network PHYs.
248 Currently supports the YT8511 gigabit PHY.
249
d75b4a22 250config NATIONAL_PHY
97c84389 251 tristate "National Semiconductor PHYs"
a7f7f624 252 help
d75b4a22
AL
253 Currently supports the DP83865 PHY.
254
b050f2f1
RPNO
255config NXP_C45_TJA11XX_PHY
256 tristate "NXP C45 TJA11XX PHYs"
e5f31552 257 depends on PTP_1588_CLOCK_OPTIONAL
b050f2f1
RPNO
258 help
259 Enable support for NXP C45 TJA11XX PHYs.
260 Currently supports only the TJA1103 PHY.
261
ddf6ddb0
MV
262config NXP_TJA11XX_PHY
263 tristate "NXP TJA11xx PHYs support"
264 depends on HWMON
a7f7f624 265 help
ddf6ddb0
MV
266 Currently supports the NXP TJA1100 and TJA1101 PHY.
267
4985dffc 268config AT803X_PHY
272833b9 269 tristate "Qualcomm Atheros AR803X PHYs and QCA833x PHYs"
dddb318b 270 depends on REGULATOR
4985dffc 271 help
272833b9
AS
272 Currently supports the AR8030, AR8031, AR8033, AR8035 and internal
273 QCA8337(Internal qca8k PHY) model
4985dffc 274
d75b4a22 275config QSEMI_PHY
97c84389 276 tristate "Quality Semiconductor PHYs"
a7f7f624 277 help
d75b4a22
AL
278 Currently supports the qs6612
279
280config REALTEK_PHY
97c84389 281 tristate "Realtek PHYs"
a7f7f624 282 help
d75b4a22
AL
283 Supports the Realtek 821x PHY.
284
812b5ca7 285config RENESAS_PHY
0457eb26 286 tristate "Renesas PHYs"
a7f7f624 287 help
812b5ca7
BE
288 Supports the Renesas PHYs uPD60620 and uPD60620A.
289
baf6ee81 290config ROCKCHIP_PHY
0457eb26 291 tristate "Rockchip Ethernet PHYs"
a7f7f624 292 help
02bc5eb9 293 Currently supports the integrated Ethernet PHY.
baf6ee81 294
d75b4a22 295config SMSC_PHY
97c84389 296 tristate "SMSC PHYs"
a7f7f624 297 help
d75b4a22
AL
298 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
299
300config STE10XP
97c84389 301 tristate "STMicroelectronics STe10Xp PHYs"
a7f7f624 302 help
d75b4a22
AL
303 This is the driver for the STe100p and STe101p PHYs.
304
305config TERANETICS_PHY
54161ed4 306 tristate "Teranetics PHYs"
a7f7f624 307 help
54161ed4 308 Currently supports the Teranetics TN2020
d75b4a22 309
0457eb26
AL
310config DP83822_PHY
311 tristate "Texas Instruments DP83822/825/826 PHYs"
312 help
313 Supports the DP83822, DP83825I, DP83825CM, DP83825CS, DP83825S,
314 DP83826C and DP83826NC PHYs.
315
316config DP83TC811_PHY
317 tristate "Texas Instruments DP83TC811 PHY"
318 help
319 Supports the DP83TC811 PHY.
320
321config DP83848_PHY
322 tristate "Texas Instruments DP83848 PHY"
323 help
324 Supports the DP83848 PHY.
325
326config DP83867_PHY
327 tristate "Texas Instruments DP83867 Gigabit PHY"
328 help
329 Currently supports the DP83867 PHY.
330
331config DP83869_PHY
332 tristate "Texas Instruments DP83869 Gigabit PHY"
333 help
334 Currently supports the DP83869 PHY. This PHY supports copper and
335 fiber connections.
336
d75b4a22 337config VITESSE_PHY
54161ed4 338 tristate "Vitesse PHYs"
a7f7f624 339 help
54161ed4 340 Currently supports the vsc8244
d75b4a22 341
f411a616 342config XILINX_GMII2RGMII
54161ed4 343 tristate "Xilinx GMII2RGMII converter driver"
a7f7f624 344 help
54161ed4
MS
345 This driver support xilinx GMII to RGMII IP core it provides
346 the Reduced Gigabit Media Independent Interface(RGMII) between
347 Ethernet physical media devices and the Gigabit Ethernet controller.
f411a616 348
53f99941 349endif # PHYLIB
a8e510f6
FL
350
351config MICREL_KS8995MA
352 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
353 depends on SPI