net: dsa: mv88e6xxx: add workaround for 6341 timestamping
authorBrandon Streiff <brandon.streiff@ni.com>
Wed, 14 Feb 2018 00:07:51 +0000 (01:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Feb 2018 19:33:37 +0000 (14:33 -0500)
commita2e47134e577713add97124afd812bc3f93627fb
treed779fcb16a984e9c1070269050d885c2d73ce120
parentc6fe0ad2c3499cca7c7b3be83958e6f7e961f567
net: dsa: mv88e6xxx: add workaround for 6341 timestamping

88E6341 devices default to timestamping at the PHY, but due to a
hardware issue, timestamps via this component are unreliable. For
this family, configure the PTP hardware to force the timestamping
to occur at the MAC.

Signed-off-by: Brandon Streiff <brandon.streiff@ni.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/hwtstamp.c
drivers/net/dsa/mv88e6xxx/hwtstamp.h