net: ethernet: ti: am65-cpsw-nuss: enable packet timestamping support
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 1 May 2020 20:50:07 +0000 (23:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 19:02:03 +0000 (12:02 -0700)
commitb1f66a5bee07adaab218fb98800928185e5f0f18
tree3864e6c4ce3c5fed8469bd0f47ee5209d284f2d7
parentf6bd59526ca527e203e3c6c2e62cda5a0fd5c1a2
net: ethernet: ti: am65-cpsw-nuss: enable packet timestamping support

The MCU CPSW Common Platform Time Sync (CPTS) provides possibility to
timestamp TX PTP packets and all RX packets.

This enables corresponding support in TI AM65x/J721E MCU CPSW driver.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/Kconfig
drivers/net/ethernet/ti/am65-cpsw-ethtool.c
drivers/net/ethernet/ti/am65-cpsw-nuss.c
drivers/net/ethernet/ti/am65-cpsw-nuss.h