Thread (5 messages) flat view 5 messages, 2 authors, 2021-11-29
STALE1723d

Revision v3 of 3 in this series.

Revisions (3)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 current

[PATCH v3 net-next 0/3] update seville to use shared MDIO driver

From: Colin Foster <colin.foster@in-advantage.com>
Date: 2021-11-29 02:00:56
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help