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 <[email protected]>
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