[PATCH net-next 0/5] Re-organize MediaTek ethernet phy drivers and propose mtk-phy-lib

Sky Huang posted 5 patches 3 weeks, 4 days ago
There is a newer version of this series
MAINTAINERS                                   |   6 +-
drivers/net/phy/Kconfig                       |  17 +-
drivers/net/phy/Makefile                      |   3 +-
drivers/net/phy/mediatek/Kconfig              |  26 ++
drivers/net/phy/mediatek/Makefile             |   4 +
.../mtk-ge-soc.c}                             | 298 ++----------------
.../phy/{mediatek-ge.c => mediatek/mtk-ge.c}  |  31 +-
drivers/net/phy/mediatek/mtk-phy-lib.c        | 270 ++++++++++++++++
drivers/net/phy/mediatek/mtk.h                |  89 ++++++
9 files changed, 437 insertions(+), 307 deletions(-)
create mode 100644 drivers/net/phy/mediatek/Kconfig
create mode 100644 drivers/net/phy/mediatek/Makefile
rename drivers/net/phy/{mediatek-ge-soc.c => mediatek/mtk-ge-soc.c} (83%)
rename drivers/net/phy/{mediatek-ge.c => mediatek/mtk-ge.c} (82%)
create mode 100644 drivers/net/phy/mediatek/mtk-phy-lib.c
create mode 100644 drivers/net/phy/mediatek/mtk.h
[PATCH net-next 0/5] Re-organize MediaTek ethernet phy drivers and propose mtk-phy-lib
Posted by Sky Huang 3 weeks, 4 days ago
From: "SkyLake.Huang" <skylake.huang@mediatek.com>

This patchset comes from patch 1/9, 3/9, 4/9, 5/9 and 7/9 of:
https://lore.kernel.org/netdev/20241004102413.5838-1-SkyLake.Huang@mediatek.com/

This patchset changes MediaTek's ethernet phy's folder structure and
integrates helper functions, including LED & token ring manipulation,
into mtk-phy-lib.

SkyLake.Huang (5):
  net: phy: mediatek: Re-organize MediaTek ethernet phy drivers
  net: phy: mediatek: Move LED helper functions into mtk phy lib
  net: phy: mediatek: Improve readability of mtk-phy-lib.c's
    mtk_phy_led_hw_ctrl_set()
  net: phy: mediatek: Integrate read/write page helper functions
  net: phy: mediatek: add MT7530 & MT7531's PHY ID macros

 MAINTAINERS                                   |   6 +-
 drivers/net/phy/Kconfig                       |  17 +-
 drivers/net/phy/Makefile                      |   3 +-
 drivers/net/phy/mediatek/Kconfig              |  26 ++
 drivers/net/phy/mediatek/Makefile             |   4 +
 .../mtk-ge-soc.c}                             | 298 ++----------------
 .../phy/{mediatek-ge.c => mediatek/mtk-ge.c}  |  31 +-
 drivers/net/phy/mediatek/mtk-phy-lib.c        | 270 ++++++++++++++++
 drivers/net/phy/mediatek/mtk.h                |  89 ++++++
 9 files changed, 437 insertions(+), 307 deletions(-)
 create mode 100644 drivers/net/phy/mediatek/Kconfig
 create mode 100644 drivers/net/phy/mediatek/Makefile
 rename drivers/net/phy/{mediatek-ge-soc.c => mediatek/mtk-ge-soc.c} (83%)
 rename drivers/net/phy/{mediatek-ge.c => mediatek/mtk-ge.c} (82%)
 create mode 100644 drivers/net/phy/mediatek/mtk-phy-lib.c
 create mode 100644 drivers/net/phy/mediatek/mtk.h

-- 
2.45.2