netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mv88e6xxx: Poll when no interrupt defined
@ 2018-02-22 21:58 Andrew Lunn
  2018-02-22 21:58 ` [PATCH 1/2] net: dsa: " Andrew Lunn
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Andrew Lunn @ 2018-02-22 21:58 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Vivien Didelot, Gregory Clement, Andrew Lunn

Not all boards using the mv88e6xxx switches have the interrupt output
connected to a GPIO. On these boards phylib has to poll the PHYs,
rather than use interrupts. Have the driver poll the interrupt status
register, which is more efficient than having phylib do it. And it
enables other switch interrupts to be services.

The Armada 370RD is such a board without a interrupt GPIO. Now that
interrupts work, wire up the PHYs to make use if them.

Gregory: Are you O.K. for the second patch to go through netdev?

Andrew Lunn (2):
  net: dsa: mv88e6xxx: Poll when no interrupt defined
  arm: mvebu: 370-rd: Enable PHY interrupt handling

 arch/arm/boot/dts/armada-370-rd.dts |  32 ++++++++
 drivers/net/dsa/mv88e6xxx/chip.c    | 146 +++++++++++++++++++++++++-----------
 drivers/net/dsa/mv88e6xxx/chip.h    |   3 +
 3 files changed, 138 insertions(+), 43 deletions(-)

-- 
2.15.1

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

end of thread, other threads:[~2018-02-27 15:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-22 21:58 [PATCH 0/2] mv88e6xxx: Poll when no interrupt defined Andrew Lunn
2018-02-22 21:58 ` [PATCH 1/2] net: dsa: " Andrew Lunn
2018-02-22 21:58 ` [PATCH 2/2] arm: mvebu: 370-rd: Enable PHY interrupt handling Andrew Lunn
2018-02-23 17:32 ` [PATCH 0/2] mv88e6xxx: Poll when no interrupt defined David Miller
2018-02-26 16:29 ` David Miller
2018-02-26 16:50   ` Andrew Lunn
2018-02-27 10:24 ` Gregory CLEMENT
2018-02-27 14:07   ` Andrew Lunn
2018-02-27 15:42     ` Gregory CLEMENT

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).