summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/octeontx2/af/Makefile
diff options
context:
space:
mode:
authorAleksey Makarov <amakarov@marvell.com>2020-08-24 18:50:01 +0300
committerDavid S. Miller <davem@davemloft.net>2020-08-25 04:15:45 +0300
commit4086f2a06a35c3f114338aca24e0a21679ec76d5 (patch)
tree7784046b25e49c1e9f9c46d86748f5ab14f4683e /drivers/net/ethernet/marvell/octeontx2/af/Makefile
parent421572175ba54fe7dab77ca5cec7e7a615e3c58a (diff)
downloadlinux-4086f2a06a35c3f114338aca24e0a21679ec76d5.tar.xz
octeontx2-af: Add support for Marvell PTP coprocessor
Precision Timestamping block found on Octeontx2 platform is an independent coprocessor and has internal PTP hardware clock. Once configured PTP runs independently and when a packet arrives CGX hardware block gets the current timestamp from PTP block and forwards the packet to NIX by prepending timestamp to the packet. This patch adds the pci driver for PTP block. The driver gets registered by AF driver and does initial configuration and exposes a mailbox function to read and adjust PTP hardware clock. The mailbox function is called by AF consumers like netdev drivers or userspace drivers. Since PTP being a single block in platform this driver helps in accessing PTP block by any AF consumer. Co-developed-by: Subbaraya Sundeep <sbhatta@marvell.com> Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Signed-off-by: Aleksey Makarov <amakarov@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/Makefile')
-rw-r--r--drivers/net/ethernet/marvell/octeontx2/af/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/Makefile b/drivers/net/ethernet/marvell/octeontx2/af/Makefile
index 1b25948c662b..0bc2410c8949 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/Makefile
+++ b/drivers/net/ethernet/marvell/octeontx2/af/Makefile
@@ -8,4 +8,4 @@ obj-$(CONFIG_OCTEONTX2_AF) += octeontx2_af.o
octeontx2_mbox-y := mbox.o
octeontx2_af-y := cgx.o rvu.o rvu_cgx.o rvu_npa.o rvu_nix.o \
- rvu_reg.o rvu_npc.o rvu_debugfs.o
+ rvu_reg.o rvu_npc.o rvu_debugfs.o ptp.o