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