netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/8] PTP support for mv88e6165 family
@ 2018-07-18 20:38 Andrew Lunn
  2018-07-18 20:38 ` [PATCH v2 net-next 1/8] net: dsa: mv88e6xxx: Abstract PTP operations Andrew Lunn
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Andrew Lunn @ 2018-07-18 20:38 UTC (permalink / raw)
  To: David Miller; +Cc: richardcochran, Vivien Didelot, netdev, Andrew Lunn

The mv88e6165 family of switches supports PTP. It is however not fully
compatible with the current PTP support in the mv88e6xxx driver. This
patchset adds a level of abstraction to the PTP code, and then adds
the code needed to support the mv88e6165 family.

v2: Correctly cluster local variables in mv88e6xxx_ptp_setup()
    Added Acked-by: Richard Cochran <richardcochran@gmail.com>

Andrew Lunn (8):
  net: dsa: mv88e6xxx: Abstract PTP operations
  net: dsa: mv88e6xxx: Add MV88E6165 AVB register access
  net: dsa: mv88e6xxx: Add mv88e6165 PTP support
  net: dsa: mv88e6xxx: Abstract HW timestamp setup
  net: dsa: mv88e6xxx: Abstract supported PTP filters
  net: dsa: mv88e6xxx: Add hwtimestamp support for the 6165
  net: dsa: mv88e6xxx: Set PTP Ethertype
  net: dsa: mv88e6xxx: Longer timeout for PTP TX timestamp

 drivers/net/dsa/mv88e6xxx/chip.c        |  17 +++
 drivers/net/dsa/mv88e6xxx/chip.h        |  23 ++++
 drivers/net/dsa/mv88e6xxx/global2.h     |   3 +
 drivers/net/dsa/mv88e6xxx/global2_avb.c |  25 +++++
 drivers/net/dsa/mv88e6xxx/hwtstamp.c    | 134 +++++++++++++++++-------
 drivers/net/dsa/mv88e6xxx/hwtstamp.h    |  14 ++-
 drivers/net/dsa/mv88e6xxx/ptp.c         | 102 +++++++++++++++---
 drivers/net/dsa/mv88e6xxx/ptp.h         |  71 +++++++++++++
 8 files changed, 335 insertions(+), 54 deletions(-)

-- 
2.18.0

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

end of thread, other threads:[~2018-07-18 22:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-18 20:38 [PATCH v2 net-next 0/8] PTP support for mv88e6165 family Andrew Lunn
2018-07-18 20:38 ` [PATCH v2 net-next 1/8] net: dsa: mv88e6xxx: Abstract PTP operations Andrew Lunn
2018-07-18 20:38 ` [PATCH v2 net-next 2/8] net: dsa: mv88e6xxx: Add MV88E6165 AVB register access Andrew Lunn
2018-07-18 20:38 ` [PATCH v2 net-next 3/8] net: dsa: mv88e6xxx: Add mv88e6165 PTP support Andrew Lunn
2018-07-18 20:38 ` [PATCH v2 net-next 4/8] net: dsa: mv88e6xxx: Abstract HW timestamp setup Andrew Lunn
2018-07-18 20:38 ` [PATCH v2 net-next 5/8] net: dsa: mv88e6xxx: Abstract supported PTP filters Andrew Lunn
2018-07-18 20:38 ` [PATCH v2 net-next 6/8] net: dsa: mv88e6xxx: Add hwtimestamp support for the 6165 Andrew Lunn
2018-07-18 20:38 ` [PATCH v2 net-next 7/8] net: dsa: mv88e6xxx: Set PTP Ethertype Andrew Lunn
2018-07-18 20:38 ` [PATCH v2 net-next 8/8] net: dsa: mv88e6xxx: Longer timeout for PTP TX timestamp Andrew Lunn
2018-07-18 22:07 ` [PATCH v2 net-next 0/8] PTP support for mv88e6165 family 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).