net: mscc: PTP Hardware Clock (PHC) support
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 12 Aug 2019 14:45:37 +0000 (16:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2019 23:31:12 +0000 (16:31 -0700)
commit4e3b0468e6d7f3c38ce52320803769b49ba87930
tree1ccd5ad1559a9921959b272e13ed5b453931eabb
parent1f0239de58d60e0c4b44a35953004d180dd9ce6c
net: mscc: PTP Hardware Clock (PHC) support

This patch adds support for PTP Hardware Clock (PHC) to the Ocelot
switch for both PTP 1-step and 2-step modes.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/mscc/ocelot.h
drivers/net/ethernet/mscc/ocelot_board.c