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

Message ID 20231214121026.4340-1-ansuelsmth@gmail.com
Headers
Series net: phy: add PHY package base addr + mmd APIs |

Message

Christian Marangi Dec. 14, 2023, 12:10 p.m. UTC
  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       | 208 ++++++++++++++++++++++++++-----
 drivers/net/phy/phy_device.c     |  35 +++---
 include/linux/phy.h              |  57 ++++++---
 6 files changed, 253 insertions(+), 72 deletions(-)