mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-13 03:50:03 -04:00
Add support for internal 2.5Gphy on MT7988. This driver will load necessary firmware and add appropriate time delay to make sure that firmware works stably. The firmware loading procedure takes about 11ms in this driver. Signed-off-by: Sky Huang <skylake.huang@mediatek.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20250516102327.2014531-3-SkyLake.Huang@mediatek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config MEDIATEK_2P5GE_PHY
|
|
tristate "MediaTek 2.5Gb Ethernet PHYs"
|
|
depends on (ARM64 && ARCH_MEDIATEK) || COMPILE_TEST
|
|
select MTK_NET_PHYLIB
|
|
help
|
|
Supports MediaTek SoC built-in 2.5Gb Ethernet PHYs.
|
|
|
|
This will load necessary firmware and add appropriate time delay.
|
|
Accelerate this procedure through internal pbus instead of MDIO
|
|
bus. Certain link-up issues will also be fixed here.
|
|
|
|
config MEDIATEK_GE_PHY
|
|
tristate "MediaTek Gigabit Ethernet PHYs"
|
|
select MTK_NET_PHYLIB
|
|
help
|
|
Supports the MediaTek non-built-in Gigabit Ethernet PHYs.
|
|
|
|
Non-built-in Gigabit Ethernet PHYs include mt7530/mt7531.
|
|
You may find mt7530 inside mt7621. This driver shares some
|
|
common operations with MediaTek SoC built-in Gigabit
|
|
Ethernet PHYs.
|
|
|
|
config MEDIATEK_GE_SOC_PHY
|
|
tristate "MediaTek SoC Ethernet PHYs"
|
|
depends on ARM64 || COMPILE_TEST
|
|
depends on ARCH_AIROHA || (ARCH_MEDIATEK && NVMEM_MTK_EFUSE) || \
|
|
COMPILE_TEST
|
|
select MTK_NET_PHYLIB
|
|
help
|
|
Supports MediaTek SoC built-in Gigabit Ethernet PHYs.
|
|
|
|
Include support for built-in Ethernet PHYs which are present in
|
|
the MT7981 and MT7988 SoCs. These PHYs need calibration data
|
|
present in the SoCs efuse and will dynamically calibrate VCM
|
|
(common-mode voltage) during startup.
|
|
|
|
config MTK_NET_PHYLIB
|
|
tristate
|