mbox series

[net-next,0/3] net: phy: mediatek: Add token-ring ops

Message ID 20250116012159.3816135-1-SkyLake.Huang@mediatek.com (mailing list archive)
Headers show
Series net: phy: mediatek: Add token-ring ops | expand

Message

Sky Huang Jan. 16, 2025, 1:21 a.m. UTC
From: Sky Huang <skylake.huang@mediatek.com>

This patchset add token-ring ops and moves some macros from mtk-ge.c
into mtk-phy-lib.c. Also, MediaTek's built-in 2.5Gphy driver is added.

Signed-off-by: Sky Huang <skylake.huang@mediatek.com>
---
Sky Huang (2):
  net: phy: mediatek: Move some macros to phy-lib for later use
  net: phy: mediatek: add driver for built-in 2.5G ethernet PHY on
    MT7988

SkyLake.Huang (1):
  net: phy: mediatek: Add token ring access helper functions in
    mtk-phy-lib

 MAINTAINERS                            |   1 +
 drivers/net/phy/mediatek/Kconfig       |  11 +
 drivers/net/phy/mediatek/Makefile      |   1 +
 drivers/net/phy/mediatek/mtk-2p5ge.c   | 343 +++++++++++++++++++++++++
 drivers/net/phy/mediatek/mtk-ge-soc.c  | 297 +++++++++++++--------
 drivers/net/phy/mediatek/mtk-ge.c      |  78 ++++--
 drivers/net/phy/mediatek/mtk-phy-lib.c |  91 +++++++
 drivers/net/phy/mediatek/mtk.h         |  17 ++
 8 files changed, 714 insertions(+), 125 deletions(-)
 create mode 100644 drivers/net/phy/mediatek/mtk-2p5ge.c