From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: [PATCH net-next 0/8] PTP support for mv88e6165 family Date: Tue, 17 Jul 2018 23:48:52 +0200 Message-ID: <1531864140-31233-1-git-send-email-andrew@lunn.ch> Cc: richardcochran@gmail.com, Vivien Didelot , netdev , Andrew Lunn To: David Miller Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:37604 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729759AbeGQWZb (ORCPT ); Tue, 17 Jul 2018 18:25:31 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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. 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