Skip to content

Re-organize MediaTek ethernet phy drivers and propose mtk-phy-lib

Sky Huang linux-arm-kernel linux-mediatek linux-mtd lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 7 repliesApplied 5/5
  2. v25 patches 0 repliesSuperseded
  3. v15 patches 6 repliesSuperseded

Changes in v3 from the cover letter

[patch 4/5]
- Fix kernel test robot error by adding missing MTK_NET_PHYLIB.
---

Patches in v3 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: phy: mediatek: Re-organize MediaTek ethernet phy driversMAINTAINERS drivers/net/phy/Kconfig drivers/net/phy/Makefile +4 more+29 -200 repliesApplied
2/5net: phy: mediatek: Move LED helper functions into mtk phy libMAINTAINERS drivers/net/phy/mediatek/Kconfig drivers/net/phy/mediatek/Makefile +3 more+372 -2550 repliesApplied
3/5net: phy: mediatek: Improve readability of mtk-phy-lib.c's mtk_phy_led_hw_ctrl_set()drivers/net/phy/mediatek/mtk-phy-lib.c+24 -207 repliesApplied
4/5net: phy: mediatek: Integrate read/write page helper functionsdrivers/net/phy/mediatek/Kconfig drivers/net/phy/mediatek/mtk-ge-soc.c drivers/net/phy/mediatek/mtk-ge.c +2 more+26 -280 repliesApplied
5/5net: phy: mediatek: add MT7530 & MT7531's PHY ID macrosdrivers/net/phy/mediatek/mtk-ge.c+7 -40 repliesApplied

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/5R-b
2/5R-b
3/5R-b
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

From: Sky Huang <[email protected]>

This patchset comes from patch 1/9, 3/9, 4/9, 5/9 and 7/9 of:
https://lore.kernel.org/netdev/[email protected]/

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

---
Change in v2:
- Add correct Reviewed-by tag in each patch.

Change in v3:
[patch 4/5]
- Fix kernel test robot error by adding missing MTK_NET_PHYLIB.
---

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              |  27 ++
 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, 438 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
Signature · 1 line
2.45.2