macb: Common code to enable ptp support for MACB/GEM
author[email protected] <[email protected]>
Thu, 19 Jan 2017 15:56:15 +0000 (17:56 +0200)
committerDavid S. Miller <[email protected]>
Thu, 19 Jan 2017 16:45:54 +0000 (11:45 -0500)
commitc2594d804d5c8033861d44840673d852d98508c1
tree9ddafe9a66d31fee91c868338a157ad2c3e2bc17
parent54c30f604dcc110dba21db7c2c09ddf25b65acbe
macb: Common code to enable ptp support for MACB/GEM

This patch does the following:
- MACB/GEM-PTP interface
- registers and bitfields for TSU
- capability flags to enable PTP per platform basis

Signed-off-by: Andrei Pistirica <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h