diff options
author | Brandon Streiff <brandon.streiff@ni.com> | 2018-02-14 01:07:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-14 20:33:36 +0100 |
commit | 2fa8d3af4badc40a39092140a01101119988faf6 (patch) | |
tree | fbf8e5e99514e423f57031c2029d935b948139d6 /drivers/net/dsa/mv88e6xxx/Makefile | |
parent | net: dsa: mv88e6xxx: add accessors for PTP/TAI registers (diff) | |
download | linux-2fa8d3af4badc40a39092140a01101119988faf6.tar.xz linux-2fa8d3af4badc40a39092140a01101119988faf6.zip |
net: dsa: mv88e6xxx: expose switch time as a PTP hardware clock
This patch adds basic support for exposing the 32-bit timestamp counter
inside the mv88e6xxx switch as a ptp_clock.
Adjfine implemented by Richard Cochran.
Andrew Lunn: fix return value of PTP stub function.
Signed-off-by: Brandon Streiff <brandon.streiff@ni.com>
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/Makefile')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/Makefile b/drivers/net/dsa/mv88e6xxx/Makefile index bdbbbf7b872e..40a423c9a982 100644 --- a/drivers/net/dsa/mv88e6xxx/Makefile +++ b/drivers/net/dsa/mv88e6xxx/Makefile @@ -8,4 +8,5 @@ mv88e6xxx-$(CONFIG_NET_DSA_MV88E6XXX_GLOBAL2) += global2.o mv88e6xxx-$(CONFIG_NET_DSA_MV88E6XXX_GLOBAL2) += global2_avb.o mv88e6xxx-objs += phy.o mv88e6xxx-objs += port.o +mv88e6xxx-$(CONFIG_NET_DSA_MV88E6XXX_PTP) += ptp.o mv88e6xxx-objs += serdes.o |