mbox series

[net-next,0/3] net: phy: make phy_package a separate module

Message ID eec346a4-e903-48af-8150-0191932a7a0b@gmail.com
Headers show
Series net: phy: make phy_package a separate module | expand

Message

Heiner Kallweit June 12, 2025, 9:25 p.m. UTC
Only a handful of PHY drivers needs the PHY package functionality,
therefore make it a separate module which is built only if needed.

Heiner Kallweit (3):
  net: phy: move __phy_package_[read|write]_mmd to phy_package.c
  net: phy: make phy_package a separate module
  net: phy: add Kconfig symbol PHY_PACKAGE

 drivers/net/phy/Kconfig           |  6 +++
 drivers/net/phy/Makefile          |  3 +-
 drivers/net/phy/mediatek/Kconfig  |  1 +
 drivers/net/phy/phy-core.c        | 75 +++----------------------------
 drivers/net/phy/phy_package.c     | 71 ++++++++++++++++++++++++++++-
 drivers/net/phy/phylib-internal.h |  6 ++-
 drivers/net/phy/qcom/Kconfig      |  1 +
 7 files changed, 91 insertions(+), 72 deletions(-)