[PATCH 0/3] net: phy: mediatek: Integrate mtk-phy-lib and add 2.5Gphy support
Sky Huang
SkyLake.Huang at mediatek.com
Wed Apr 24 19:33:22 PDT 2024
From: "SkyLake.Huang" <skylake.huang at mediatek.com>
Re-organize MTK ethernet phy drivers and integrate common manipulations
into mtk-phy-lib. Also, add support for build-in 2.5Gphy on MT7988.
SkyLake.Huang (3):
net: phy: mediatek: Re-organize MediaTek ethernet phy drivers
net: phy: mediatek: Add mtk phy lib for token ring access & LED/other
manipulations
net: phy: mediatek: add support for built-in 2.5G ethernet PHY on
MT7988
MAINTAINERS | 7 +-
drivers/net/phy/Kconfig | 17 +-
drivers/net/phy/Makefile | 3 +-
drivers/net/phy/mediatek-ge.c | 111 ----
drivers/net/phy/mediatek/Kconfig | 33 ++
drivers/net/phy/mediatek/Makefile | 5 +
drivers/net/phy/mediatek/mtk-2p5ge.c | 399 +++++++++++++
.../mtk-ge-soc.c} | 522 ++++++++----------
drivers/net/phy/mediatek/mtk-ge.c | 191 +++++++
drivers/net/phy/mediatek/mtk-phy-lib.c | 330 +++++++++++
drivers/net/phy/mediatek/mtk.h | 97 ++++
11 files changed, 1277 insertions(+), 438 deletions(-)
delete mode 100644 drivers/net/phy/mediatek-ge.c
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
rename drivers/net/phy/{mediatek-ge-soc.c => mediatek/mtk-ge-soc.c} (79%)
create mode 100644 drivers/net/phy/mediatek/mtk-ge.c
create mode 100644 drivers/net/phy/mediatek/mtk-phy-lib.c
create mode 100644 drivers/net/phy/mediatek/mtk.h
--
2.18.0
More information about the Linux-mediatek
mailing list