net: dsa: mv88e6xxx: Add hwtimestamp support for the 6165
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Jul 2018 20:38:25 +0000 (22:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 22:05:38 +0000 (15:05 -0700)
commite2294a8bf52b8bf1bab52b4165ffdceec4a143e0
treeed566e3d41e9ae6358e3087083d391394d7db607
parent48cb5e03d58b7179dd8e71c1e8e068630b440b1c
net: dsa: mv88e6xxx: Add hwtimestamp support for the 6165

The 6165 family supports a more restricted version of hardware time
stamps. Only L2 PTP is supported. All ports have to use the same
EtherType, and transport spec configuration. PTP can only be
enabled/disabled globally, not per port.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/hwtstamp.c
drivers/net/dsa/mv88e6xxx/hwtstamp.h
drivers/net/dsa/mv88e6xxx/ptp.c
drivers/net/dsa/mv88e6xxx/ptp.h