This patch set exposes and utilizes the shared MDIO bus in
drivers/net/mdio/msio-mscc-miim.c
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 | 104 ++-----------
drivers/net/mdio/mdio-mscc-miim.c | 181 +++++++++++++++++------
include/linux/mdio/mdio-mscc-miim.h | 20 +++
include/soc/mscc/ocelot.h | 1 +
5 files changed, 171 insertions(+), 136 deletions(-)
create mode 100644 include/linux/mdio/mdio-mscc-miim.h
--
2.25.1