Messages in this thread | | | From | Colin Foster <> | Subject | [PATCH v3 net-next 0/3] update seville to use shared MDIO driver | Date | Sun, 28 Nov 2021 17:57:34 -0800 |
| |
This patch set exposes and utilizes the shared MDIO bus in drivers/net/mdio/msio-mscc-miim.c
v3: * Fix errors using uninitilized "dev" inside the probe function. * Remove phy_regmap from the setup function, since it currently isn't used * Remove GCB_PHY_PHY_CFG definition from ocelot.h - it isn't used yet...
v2: * Error handling (thanks Andrew Lunn) * Fix logic errors calling mscc_miim_setup during patch 1/3 (thanks Jakub Kicinski) * Remove unnecessary felix_mdio file (thanks Vladimir Oltean) * Pass NULL to mscc_miim_setup instead of GCB_PHY_PHY_CFG, since the phy reset isn't handled at that point of the Seville driver (patch 3/3)
Colin Foster (3): net: mdio: mscc-miim: convert to a regmap implementation net: dsa: ocelot: seville: utilize of_mdiobus_register net: dsa: ocelot: felix: utilize shared mscc-miim driver for indirect MDIO access
drivers/net/dsa/ocelot/Kconfig | 1 + drivers/net/dsa/ocelot/seville_vsc9953.c | 103 ++----------- drivers/net/mdio/mdio-mscc-miim.c | 181 +++++++++++++++++------ include/linux/mdio/mdio-mscc-miim.h | 19 +++ 4 files changed, 168 insertions(+), 136 deletions(-) create mode 100644 include/linux/mdio/mdio-mscc-miim.h
-- 2.25.1
| |