1# SPDX-License-Identifier: GPL-2.0-only 2# 3# PHY Layer Configuration 4# 5 6config MDIO_BUS 7 tristate "MDIO bus consumer layer" 8 help 9 MDIO bus consumer layer 10 11config PHYLINK 12 tristate 13 select PHYLIB 14 select SWPHY 15 help 16 PHYlink models the link between the PHY and MAC, allowing fixed 17 configuration links, PHYs, and Serdes links with MAC level 18 autonegotiation modes. 19 20menuconfig PHYLIB 21 tristate "PHY Device support and infrastructure" 22 select MDIO_BUS 23 help 24 Ethernet controllers are usually attached to PHY 25 devices. This option provides infrastructure for 26 managing PHY devices. 27 28if PHYLIB 29 30config SWPHY 31 bool 32 33config PHY_PACKAGE 34 tristate 35 36config LED_TRIGGER_PHY 37 bool "Support LED triggers for tracking link state" 38 depends on LEDS_TRIGGERS 39 help 40 Adds support for a set of LED trigger events per-PHY. Link 41 state change will trigger the events, for consumption by an 42 LED class driver. There are triggers for each link speed currently 43 supported by the PHY and also a one common "link" trigger as a 44 logical-or of all the link speed ones. 45 All these triggers are named according to the following pattern: 46 <mii bus id>:<phy>:<speed> 47 48 Where speed is in the form: 49 <Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link 50 for any speed known to the PHY. 51 52config OPEN_ALLIANCE_HELPERS 53 bool 54 55config PHYLIB_LEDS 56 def_bool OF 57 depends on LEDS_CLASS=y || LEDS_CLASS=PHYLIB 58 help 59 When LED class support is enabled, phylib can automatically 60 probe LED setting from device tree. 61 62config FIXED_PHY 63 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs" 64 select SWPHY 65 help 66 Adds the platform "fixed" MDIO Bus to cover the boards that use 67 PHYs that are not connected to the real MDIO bus. 68 69 Currently tested with mpc866ads and mpc8349e-mitx. 70 71config RUST_PHYLIB_ABSTRACTIONS 72 bool "Rust PHYLIB abstractions support" 73 depends on RUST 74 depends on PHYLIB=y 75 help 76 Adds support needed for PHY drivers written in Rust. It provides 77 a wrapper around the C phylib core. 78 79config SFP 80 tristate "SFP cage support" 81 depends on I2C && PHYLINK 82 depends on HWMON || HWMON=n 83 select MDIO_I2C 84 85comment "MII PHY device drivers" 86 87config AS21XXX_PHY 88 tristate "Aeonsemi AS21xxx PHYs" 89 help 90 Currently supports the Aeonsemi AS21xxx PHY. 91 92 These are C45 PHYs 10G that require all a generic firmware. 93 94 Supported PHYs AS21011JB1, AS21011PB1, AS21010JB1, AS21010PB1, 95 AS21511JB1, AS21511PB1, AS21510JB1, AS21510PB1, AS21210JB1, 96 AS21210PB1 that all register with the PHY ID 0x7500 0x7500 97 before the firmware is loaded. 98 99config AIR_EN8811H_PHY 100 tristate "Airoha EN8811H 2.5 Gigabit PHY" 101 help 102 Currently supports the Airoha EN8811H PHY. 103 104config AMD_PHY 105 tristate "AMD and Altima PHYs" 106 help 107 Currently supports the AMD am79c874 and Altima AC101L. 108 109config MESON_GXL_PHY 110 tristate "Amlogic Meson GXL Internal PHY" 111 depends on ARCH_MESON || COMPILE_TEST 112 select SMSC_PHY 113 help 114 Currently has a driver for the Amlogic Meson GXL Internal PHY 115 116config ADIN_PHY 117 tristate "Analog Devices Industrial Ethernet PHYs" 118 help 119 Adds support for the Analog Devices Industrial Ethernet PHYs. 120 Currently supports the: 121 - ADIN1200 - Robust,Industrial, Low Power 10/100 Ethernet PHY 122 - ADIN1300 - Robust,Industrial, Low Latency 10/100/1000 Gigabit 123 Ethernet PHY 124 125config ADIN1100_PHY 126 tristate "Analog Devices Industrial Ethernet T1L PHYs" 127 help 128 Adds support for the Analog Devices Industrial T1L Ethernet PHYs. 129 Currently supports the: 130 - ADIN1100 - Robust,Industrial, Low Power 10BASE-T1L Ethernet PHY 131 132config AMCC_QT2025_PHY 133 tristate "AMCC QT2025 PHY" 134 depends on RUST_PHYLIB_ABSTRACTIONS 135 depends on RUST_FW_LOADER_ABSTRACTIONS 136 help 137 Adds support for the Applied Micro Circuits Corporation QT2025 PHY. 138 139source "drivers/net/phy/aquantia/Kconfig" 140 141config AX88796B_PHY 142 tristate "Asix PHYs" 143 help 144 Currently supports the Asix Electronics PHY found in the X-Surf 100 145 AX88796B package. 146 147config AX88796B_RUST_PHY 148 bool "Rust reference driver for Asix PHYs" 149 depends on RUST_PHYLIB_ABSTRACTIONS && AX88796B_PHY 150 help 151 Uses the Rust reference driver for Asix PHYs (ax88796b_rust.ko). 152 The features are equivalent. It supports the Asix Electronics PHY 153 found in the X-Surf 100 AX88796B package. 154 155config BROADCOM_PHY 156 tristate "Broadcom 54XX PHYs" 157 select BCM_NET_PHYLIB 158 select BCM_NET_PHYPTP if NETWORK_PHY_TIMESTAMPING 159 depends on PTP_1588_CLOCK_OPTIONAL 160 help 161 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464, 162 BCM5481, BCM54810 and BCM5482 PHYs. 163 164config BCM54140_PHY 165 tristate "Broadcom BCM54140 PHY" 166 depends on HWMON || HWMON=n 167 select BCM_NET_PHYLIB 168 select PHY_PACKAGE 169 help 170 Support the Broadcom BCM54140 Quad SGMII/QSGMII PHY. 171 172 This driver also supports the hardware monitoring of this PHY and 173 exposes voltage and temperature sensors. 174 175config BCM63XX_PHY 176 tristate "Broadcom 63xx SOCs internal PHY" 177 depends on BCM63XX || COMPILE_TEST 178 select BCM_NET_PHYLIB 179 help 180 Currently supports the 6348 and 6358 PHYs. 181 182config BCM7XXX_PHY 183 tristate "Broadcom 7xxx SOCs internal PHYs" 184 select BCM_NET_PHYLIB 185 help 186 Currently supports the BCM7366, BCM7439, BCM7445, and 187 40nm and 65nm generation of BCM7xxx Set Top Box SoCs. 188 189config BCM84881_PHY 190 tristate "Broadcom BCM84881 PHY" 191 help 192 Support the Broadcom BCM84881 PHY. 193 194config BCM87XX_PHY 195 tristate "Broadcom BCM8706 and BCM8727 PHYs" 196 help 197 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs. 198 199config BCM_CYGNUS_PHY 200 tristate "Broadcom Cygnus/Omega SoC internal PHY" 201 depends on ARCH_BCM_IPROC || COMPILE_TEST 202 depends on MDIO_BCM_IPROC 203 select BCM_NET_PHYLIB 204 help 205 This PHY driver is for the 1G internal PHYs of the Broadcom 206 Cygnus and Omega Family SoC. 207 208 Currently supports internal PHY's used in the BCM11300, 209 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302, 210 BCM58303 & BCM58305 Broadcom Cygnus SoCs. 211 212config BCM_NET_PHYLIB 213 tristate 214 215config BCM_NET_PHYPTP 216 tristate 217 218config CICADA_PHY 219 tristate "Cicada PHYs" 220 help 221 Currently supports the cis8204 222 223config CORTINA_PHY 224 tristate "Cortina EDC CDR 10G Ethernet PHY" 225 help 226 Currently supports the CS4340 phy. 227 228config DAVICOM_PHY 229 tristate "Davicom PHYs" 230 help 231 Currently supports dm9161e and dm9131 232 233config ICPLUS_PHY 234 tristate "ICPlus PHYs" 235 help 236 Currently supports the IP175C and IP1001 PHYs. 237 238config LXT_PHY 239 tristate "Intel LXT PHYs" 240 help 241 Currently supports the lxt970, lxt971 242 243config INTEL_XWAY_PHY 244 tristate "Intel XWAY PHYs" 245 help 246 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs. 247 These PHYs are marked as standalone chips under the names 248 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel 249 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550. 250 251config LSI_ET1011C_PHY 252 tristate "LSI ET1011C PHY" 253 help 254 Supports the LSI ET1011C PHY. 255 256config MARVELL_PHY 257 tristate "Marvell Alaska PHYs" 258 help 259 Currently has a driver for the 88E1XXX 260 261config MARVELL_10G_PHY 262 tristate "Marvell Alaska 10Gbit PHYs" 263 help 264 Support for the Marvell Alaska MV88X3310 and compatible PHYs. 265 266config MARVELL_88Q2XXX_PHY 267 tristate "Marvell 88Q2XXX PHY" 268 depends on HWMON || HWMON=n 269 help 270 Support for the Marvell 88Q2XXX 100/1000BASE-T1 Automotive Ethernet 271 PHYs. 272 273config MARVELL_88X2222_PHY 274 tristate "Marvell 88X2222 PHY" 275 help 276 Support for the Marvell 88X2222 Dual-port Multi-speed Ethernet 277 Transceiver. 278 279config MAXLINEAR_GPHY 280 tristate "Maxlinear Ethernet PHYs" 281 select POLYNOMIAL if HWMON 282 depends on HWMON || HWMON=n 283 help 284 Support for the Maxlinear GPY115, GPY211, GPY212, GPY215, 285 GPY241, GPY245 PHYs. 286 287config MAXLINEAR_86110_PHY 288 tristate "MaxLinear MXL86110 PHY support" 289 help 290 Support for the MaxLinear MXL86110 Gigabit Ethernet 291 Physical Layer transceiver. 292 The MXL86110 is commonly used in networking equipment such as 293 routers, switches, and embedded systems, providing the 294 physical interface for 10/100/1000 Mbps Ethernet connections 295 over copper media. 296 If you are using a board with the MXL86110 PHY connected to your 297 Ethernet MAC, you should enable this option. 298 299source "drivers/net/phy/mediatek/Kconfig" 300 301config MICREL_PHY 302 tristate "Micrel PHYs" 303 depends on PTP_1588_CLOCK_OPTIONAL 304 select PHY_PACKAGE 305 help 306 Supports the KSZ8xxx, KSZ9xxx, and LAN88xx families of Micrel/Microchip PHYs. 307 308config MICROCHIP_T1S_PHY 309 tristate "Microchip 10BASE-T1S Ethernet PHYs" 310 help 311 Currently supports the LAN8670/1/2 Rev.B1/C1/C2 and 312 LAN8650/1 Rev.B0/B1 Internal PHYs. 313 314config MICROCHIP_PHY 315 tristate "Microchip PHYs" 316 help 317 Supports the LAN88XX PHYs. 318 319config MICROCHIP_T1_PHY 320 tristate "Microchip T1 PHYs" 321 select MICROCHIP_PHY_RDS_PTP if NETWORK_PHY_TIMESTAMPING 322 depends on PTP_1588_CLOCK_OPTIONAL 323 help 324 Supports the LAN8XXX PHYs. 325 326config MICROCHIP_PHY_RDS_PTP 327 tristate 328 help 329 Currently supports LAN887X T1 PHY 330 331config MICROSEMI_PHY 332 tristate "Microsemi PHYs" 333 depends on MACSEC || MACSEC=n 334 depends on PTP_1588_CLOCK_OPTIONAL || !NETWORK_PHY_TIMESTAMPING 335 select CRYPTO_LIB_AES if MACSEC 336 select PHY_PACKAGE 337 help 338 Currently supports VSC8514, VSC8530, VSC8531, VSC8540 and VSC8541 PHYs 339 340config MOTORCOMM_PHY 341 tristate "Motorcomm PHYs" 342 help 343 Enables support for Motorcomm network PHYs. 344 Currently supports YT85xx Gigabit Ethernet PHYs. 345 346config NATIONAL_PHY 347 tristate "National Semiconductor PHYs" 348 help 349 Currently supports the DP83865 PHY. 350 351config NXP_CBTX_PHY 352 tristate "NXP 100BASE-TX PHYs" 353 help 354 Support the 100BASE-TX PHY integrated on the SJA1110 automotive 355 switch family. 356 357config NXP_C45_TJA11XX_PHY 358 tristate "NXP C45 TJA11XX PHYs" 359 depends on PTP_1588_CLOCK_OPTIONAL 360 depends on MACSEC || !MACSEC 361 help 362 Enable support for NXP C45 TJA11XX PHYs. 363 Currently supports the TJA1103, TJA1104, TJA1120 and TJA1121 PHYs. 364 365config NXP_TJA11XX_PHY 366 tristate "NXP TJA11xx PHYs support" 367 depends on HWMON 368 help 369 Currently supports the NXP TJA1100, TJA1101 and TJA1102 PHYs. 370 371config NCN26000_PHY 372 tristate "Onsemi 10BASE-T1S Ethernet PHY" 373 help 374 Adds support for the onsemi 10BASE-T1S Ethernet PHY. 375 Currently supports the NCN26000 10BASE-T1S Industrial PHY 376 with MII interface. 377 378source "drivers/net/phy/qcom/Kconfig" 379 380config QSEMI_PHY 381 tristate "Quality Semiconductor PHYs" 382 help 383 Currently supports the qs6612 384 385source "drivers/net/phy/realtek/Kconfig" 386 387config RENESAS_PHY 388 tristate "Renesas PHYs" 389 help 390 Supports the Renesas PHYs uPD60620 and uPD60620A. 391 392config ROCKCHIP_PHY 393 tristate "Rockchip Ethernet PHYs" 394 help 395 Currently supports the integrated Ethernet PHY. 396 397config SMSC_PHY 398 tristate "SMSC PHYs" 399 select CRC16 400 help 401 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs 402 403config STE10XP 404 tristate "STMicroelectronics STe10Xp PHYs" 405 help 406 This is the driver for the STe100p and STe101p PHYs. 407 408config TERANETICS_PHY 409 tristate "Teranetics PHYs" 410 help 411 Currently supports the Teranetics TN2020 412 413config DP83822_PHY 414 tristate "Texas Instruments DP83822/825/826 PHYs" 415 help 416 Supports the DP83822, DP83825I, DP83825CM, DP83825CS, DP83825S, 417 DP83826C and DP83826NC PHYs. 418 419config DP83TC811_PHY 420 tristate "Texas Instruments DP83TC811 PHY" 421 help 422 Supports the DP83TC811 PHY. 423 424config DP83848_PHY 425 tristate "Texas Instruments DP83848 PHY" 426 help 427 Supports the DP83848 PHY. 428 429config DP83867_PHY 430 tristate "Texas Instruments DP83867 Gigabit PHY" 431 help 432 Currently supports the DP83867 PHY. 433 434config DP83869_PHY 435 tristate "Texas Instruments DP83869 Gigabit PHY" 436 help 437 Currently supports the DP83869 PHY. This PHY supports copper and 438 fiber connections. 439 440config DP83TD510_PHY 441 tristate "Texas Instruments DP83TD510 Ethernet 10Base-T1L PHY" 442 help 443 Support for the DP83TD510 Ethernet 10Base-T1L PHY. This PHY supports 444 a 10M single pair Ethernet connection for up to 1000 meter cable. 445 446config DP83TG720_PHY 447 tristate "Texas Instruments DP83TG720 Ethernet 1000Base-T1 PHY" 448 select OPEN_ALLIANCE_HELPERS 449 help 450 The DP83TG720S-Q1 is an automotive Ethernet physical layer 451 transceiver compliant with IEEE 802.3bp and Open Alliance 452 standards. It supports key functions necessary for 453 transmitting and receiving data over both unshielded and 454 shielded single twisted-pair cables. This device offers 455 flexible xMII interface options, including support for both 456 RGMII and SGMII MAC interfaces. It's suitable for applications 457 requiring high-speed data transmission in automotive 458 networking environments. 459 460config VITESSE_PHY 461 tristate "Vitesse PHYs" 462 help 463 Currently supports the vsc8244 464 465config XILINX_GMII2RGMII 466 tristate "Xilinx GMII2RGMII converter driver" 467 help 468 This driver support xilinx GMII to RGMII IP core it provides 469 the Reduced Gigabit Media Independent Interface(RGMII) between 470 Ethernet physical media devices and the Gigabit Ethernet controller. 471 472endif # PHYLIB 473