macb: Common code to enable ptp support for MACB/GEM
authorAndrei.Pistirica@microchip.com <Andrei.Pistirica@microchip.com>
Thu, 19 Jan 2017 15:56:15 +0000 (17:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
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 <andrei.pistirica@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h