netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] External MDIO support for mv88e6xxx
@ 2017-01-24 13:53 Andrew Lunn
  2017-01-24 13:53 ` [PATCH net-next 1/5] net: dsa: mv88e6xxx: Abstract mv88e6165 PHY operations Andrew Lunn
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Andrew Lunn @ 2017-01-24 13:53 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Vivien Didelot, Florian Fainelli, Andrew Lunn

The mv88e6390 family of switches has two MDIO busses, one internal to
the switch and a second one for external usage. Older generations of switches
have a single MDIO bus, which is used both internally and externally.

Refactor the existing MDIO driver code to allow for multiple MDIO
busses, and implement the second MDIO bus on mv88e6390.

This is a rewrite of a patch previously submitted as part of "Batch
3". It has been broken up into 5 smaller patches. A compatible string
is now used in the device tree to indicate the external MDIO bus.

Andrew Lunn (5):
  net: dsa: mv88e6xxx: Abstract mv88e6165 PHY operations
  net: dsa: mv88e6xxx: Pass mii_bus to all PHY operations
  net: dsa: mv88e6xxx: Add mdio private structure
  net: dsa: mv88e6xxx: Support multiple MDIO busses
  net: dsa: mv88e6xxx: Implement the 6390 external MDIO bus

 .../devicetree/bindings/net/dsa/marvell.txt        |  41 ++++-
 drivers/net/dsa/mv88e6xxx/chip.c                   | 169 ++++++++++++++++-----
 drivers/net/dsa/mv88e6xxx/global2.c                |  18 ++-
 drivers/net/dsa/mv88e6xxx/global2.h                |  12 +-
 drivers/net/dsa/mv88e6xxx/mv88e6xxx.h              |  25 +--
 5 files changed, 206 insertions(+), 59 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-01-25  8:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 13:53 [PATCH net-next 0/5] External MDIO support for mv88e6xxx Andrew Lunn
2017-01-24 13:53 ` [PATCH net-next 1/5] net: dsa: mv88e6xxx: Abstract mv88e6165 PHY operations Andrew Lunn
2017-01-24 15:56   ` Vivien Didelot
2017-01-24 13:53 ` [PATCH net-next 2/5] net: dsa: mv88e6xxx: Pass mii_bus to all " Andrew Lunn
2017-01-24 13:53 ` [PATCH net-next 3/5] net: dsa: mv88e6xxx: Add mdio private structure Andrew Lunn
2017-01-24 13:53 ` [PATCH net-next 4/5] net: dsa: mv88e6xxx: Support multiple MDIO busses Andrew Lunn
2017-01-24 13:53 ` [PATCH net-next 5/5] net: dsa: mv88e6xxx: Implement the 6390 external MDIO bus Andrew Lunn
2017-01-24 17:48   ` Vivien Didelot
2017-01-24 19:54     ` Andrew Lunn
2017-01-25  1:32   ` Andrew Lunn
2017-01-25  8:13     ` Gregory CLEMENT
2017-01-24 20:35 ` [PATCH net-next 0/5] External MDIO support for mv88e6xxx David Miller
2017-01-24 21:05   ` Vivien Didelot
2017-01-24 21:07     ` David Miller
2017-01-24 21:11       ` David Miller
2017-01-24 21:24       ` Vivien Didelot
2017-01-24 21:32         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).