1# SPDX-License-Identifier: GPL-2.0-only 2config MEDIATEK_2P5GE_PHY 3 tristate "MediaTek 2.5Gb Ethernet PHYs" 4 depends on (ARM64 && ARCH_MEDIATEK) || COMPILE_TEST 5 select MTK_NET_PHYLIB 6 help 7 Supports MediaTek SoC built-in 2.5Gb Ethernet PHYs. 8 9 This will load necessary firmware and add appropriate time delay. 10 Accelerate this procedure through internal pbus instead of MDIO 11 bus. Certain link-up issues will also be fixed here. 12 13config MEDIATEK_GE_PHY 14 tristate "MediaTek Gigabit Ethernet PHYs" 15 select MTK_NET_PHYLIB 16 help 17 Supports the MediaTek non-built-in Gigabit Ethernet PHYs. 18 19 Non-built-in Gigabit Ethernet PHYs include mt7530/mt7531. 20 You may find mt7530 inside mt7621. This driver shares some 21 common operations with MediaTek SoC built-in Gigabit 22 Ethernet PHYs. 23 24config MEDIATEK_FE_SOC_PHY 25 tristate "MediaTek SoC Fast Ethernet PHYs" 26 depends on SOC_MT7620 || COMPILE_TEST 27 help 28 Support for MediaTek MT7628 built-in Fast Ethernet PHYs. 29 This driver only sets an initialization bit required for the PHY 30 to establish 100 Mbps links. All other PHY operations are handled 31 by the kernel's generic PHY code. 32 33config MEDIATEK_GE_SOC_PHY 34 tristate "MediaTek SoC Gigabit Ethernet PHYs" 35 depends on ARM64 || ECONET || COMPILE_TEST 36 depends on ARCH_AIROHA || (ARCH_MEDIATEK && NVMEM_MTK_EFUSE) || \ 37 ECONET || COMPILE_TEST 38 select MTK_NET_PHYLIB 39 select PHY_PACKAGE 40 help 41 Supports MediaTek SoC built-in Gigabit Ethernet PHYs. 42 43 Include support for built-in Ethernet PHYs which are present in 44 the MT7981 and MT7988 SoCs. These PHYs need calibration data 45 present in the SoCs efuse and will dynamically calibrate VCM 46 (common-mode voltage) during startup. 47 48 Also include support for the built-in Gigabit Ethernet PHYs of 49 the Airoha AN7581 and AN7583 SoCs and of the EcoNet EN7528 SoC, 50 which need no efuse calibration data. 51 52config MTK_NET_PHYLIB 53 tristate 54