aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorAleksey Makarov <[email protected]>2020-08-24 21:20:01 +0530
committerDavid S. Miller <[email protected]>2020-08-24 18:15:45 -0700
commit4086f2a06a35c3f114338aca24e0a21679ec76d5 (patch)
tree7784046b25e49c1e9f9c46d86748f5ab14f4683e /drivers/fpga/fpga-bridge.c
parent421572175ba54fe7dab77ca5cec7e7a615e3c58a (diff)
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 <[email protected]> Signed-off-by: Subbaraya Sundeep <[email protected]> Signed-off-by: Aleksey Makarov <[email protected]> Signed-off-by: Sunil Goutham <[email protected]> Acked-by: Richard Cochran <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions