[PATCH v2 0/4] Add support for MediaTek MT7987/MT7988 built-in 2.5Gb ethernet PHY (v2)
Weijie Gao
weijie.gao at mediatek.com
Wed Aug 27 10:55:39 CEST 2025
This patch adds PHY driver for MediaTek MT7987/MT7988 built-in 2.5Gb
ethernet PHY.
Changes in v2:
1. rename "pd-disable" property to "half-en"
2. rename "gbe-min-ipg-11-bytes" property to "gbe-min-ipg-11-bytes-en"
3. rename "auto-downshift-disable" property to "auto-downshift-dis"
4. add default settings for "auto-downshift-dis"
5. add default settings for "half-en"
6. add "retrain-dis" property
Weijie Gao (4):
net: mediatek: associate PHY device with dts node specified by
phy-handle
net: phy: Add MediaTek built-in 2.5Gb ethernet PHY driver
dt-bindings: mediatek: add doc for MediaTek MT7987/MT7988 2.5Gb
ethernrt PHY
MAINTAINERS: update ethernet-related file list for MediaTek ARM
platform
MAINTAINERS | 4 +-
.../net/phy/mediatek,mt798x-i2p5ge-phy.txt | 68 ++
drivers/net/mtk_eth/mtk_eth.c | 4 +
drivers/net/phy/Kconfig | 2 +
drivers/net/phy/Makefile | 1 +
drivers/net/phy/mediatek/Kconfig | 15 +
drivers/net/phy/mediatek/Makefile | 4 +
drivers/net/phy/mediatek/mtk-2p5ge.c | 638 ++++++++++++++++++
drivers/net/phy/mediatek/mtk-phy-lib.c | 106 +++
drivers/net/phy/mediatek/mtk.h | 103 +++
10 files changed, 943 insertions(+), 2 deletions(-)
create mode 100644 doc/device-tree-bindings/net/phy/mediatek,mt798x-i2p5ge-phy.txt
create mode 100644 drivers/net/phy/mediatek/Kconfig
create mode 100644 drivers/net/phy/mediatek/Makefile
create mode 100644 drivers/net/phy/mediatek/mtk-2p5ge.c
create mode 100644 drivers/net/phy/mediatek/mtk-phy-lib.c
create mode 100644 drivers/net/phy/mediatek/mtk.h
--
2.34.1
More information about the U-Boot
mailing list