[PATCH v2 net-next 0/5] net: phy: further decouple provider from consumer part
From: Heiner Kallweit <hkallweit1@gmail.com>
Date: 2026-03-09 17:01:19
Also in:
linux-arm-msm, linux-clk, linux-phy
From: Heiner Kallweit <hkallweit1@gmail.com>
Date: 2026-03-09 17:01:19
Also in:
linux-arm-msm, linux-clk, linux-phy
This series aims at further decoupling the provider and consumer part in phylib. v2: - patch 2: add needed Kconfig dependency changes - patch 5: explain false positive checkpatch error Heiner Kallweit (5): net: phy: move mdio_device reset handling functions in the code net: phy: make mdio_device.c part of libphy net: phy: move (of_)mdio_find_bus to mdio_bus_provider.c net: phy: move registering mdio_bus_class and mdio_bus_type to libphy net: phy: move remaining provider code to mdio_bus_provider.c drivers/clk/qcom/Kconfig | 2 +- drivers/net/phy/Makefile | 6 +- drivers/net/phy/mdio-private.h | 11 - drivers/net/phy/mdio_bus.c | 385 ---------------------------- drivers/net/phy/mdio_bus_provider.c | 319 +++++++++++++++++++++++ drivers/net/phy/mdio_device.c | 165 +++++++----- drivers/net/phy/phy_device.c | 13 + drivers/net/phy/phylib-internal.h | 7 + drivers/phy/broadcom/Kconfig | 4 +- include/linux/mdio.h | 2 - include/linux/phy.h | 3 - 11 files changed, 444 insertions(+), 473 deletions(-) delete mode 100644 drivers/net/phy/mdio-private.h -- 2.53.0