summaryrefslogtreecommitdiff
path: root/drivers/ssb/pcmcia.c
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/ssb/pcmcia.c
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/ssb/pcmcia.c')
0 files changed, 0 insertions, 0 deletions