summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/dpaa2/dprtc.h
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2019-12-12 13:08:06 +0300
committerDavid S. Miller <davem@davemloft.net>2019-12-17 02:56:41 +0300
commit17568c62cd2c9a8d75eb5da44b7df093819b6ebe (patch)
treec3e052858ea2ce7a2943d72ea838964ef406115b /drivers/net/ethernet/freescale/dpaa2/dprtc.h
parent9429439f59cd3b82a3e2732ead5363578de97a84 (diff)
downloadlinux-17568c62cd2c9a8d75eb5da44b7df093819b6ebe.tar.xz
dpaa2-ptp: add external trigger event support
This patch is to add external trigger event support for dpaa2-ptp driver with v2 dprtc_set_irq_mask() API. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dprtc.h')
-rw-r--r--drivers/net/ethernet/freescale/dpaa2/dprtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa2/dprtc.h b/drivers/net/ethernet/freescale/dpaa2/dprtc.h
index 311c184e1aef..05c413719e55 100644
--- a/drivers/net/ethernet/freescale/dpaa2/dprtc.h
+++ b/drivers/net/ethernet/freescale/dpaa2/dprtc.h
@@ -20,6 +20,8 @@ struct fsl_mc_io;
#define DPRTC_IRQ_INDEX 0
#define DPRTC_EVENT_PPS 0x08000000
+#define DPRTC_EVENT_ETS1 0x00800000
+#define DPRTC_EVENT_ETS2 0x00400000
int dprtc_open(struct fsl_mc_io *mc_io,
u32 cmd_flags,