[net-next PATCH v8 0/4] net: phy: add PHY package base addr + mmd APIs

From: Christian Marangi
Date: Fri Dec 15 2023 - 08:15:56 EST


This small series is required for the upcoming qca807x PHY that
will make use of PHY package mmd API and the new implementation
with read/write based on base addr.

The MMD PHY package patch currently has no use but it will be
used in the upcoming patch and it does complete what a PHY package
may require in addition to basic read/write to setup global PHY address.

(Changelog for all the revision is present in the single patch)

Christian Marangi (4):
net: phy: make addr type u8 in phy_package_shared struct
net: phy: extend PHY package API to support multiple global address
net: phy: restructure __phy_write/read_mmd to helper and phydev user
net: phy: add support for PHY package MMD read/write

drivers/net/phy/bcm54140.c | 16 ++-
drivers/net/phy/mscc/mscc.h | 5 +
drivers/net/phy/mscc/mscc_main.c | 4 +-
drivers/net/phy/phy-core.c | 204 +++++++++++++++++++++++++------
drivers/net/phy/phy_device.c | 35 +++---
include/linux/phy.h | 80 ++++++++----
6 files changed, 266 insertions(+), 78 deletions(-)

--
2.40.1