| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
config 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 |
|
| 13 |
config 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 |
|
| 24 |
config MEDIATEK_GE_SOC_PHY |
| 25 |
tristate "MediaTek SoC Ethernet PHYs" |
| 26 |
depends on ARM64 || COMPILE_TEST |
| 27 |
depends on ARCH_AIROHA || (ARCH_MEDIATEK && NVMEM_MTK_EFUSE) || \ |
| 28 |
COMPILE_TEST |
| 29 |
select MTK_NET_PHYLIB |
| 30 |
select PHY_PACKAGE |
| 31 |
help |
| 32 |
Supports MediaTek SoC built-in Gigabit Ethernet PHYs. |
| 33 |
|
| 34 |
Include support for built-in Ethernet PHYs which are present in |
| 35 |
the MT7981 and MT7988 SoCs. These PHYs need calibration data |
| 36 |
present in the SoCs efuse and will dynamically calibrate VCM |
| 37 |
(common-mode voltage) during startup. |
| 38 |
|
| 39 |
config MTK_NET_PHYLIB |
| 40 |
tristate |