dpaa2-ptp: add external trigger event support
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 12 Dec 2019 10:08:06 +0000 (18:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Dec 2019 23:56:41 +0000 (15:56 -0800)
commit17568c62cd2c9a8d75eb5da44b7df093819b6ebe
treec3e052858ea2ce7a2943d72ea838964ef406115b
parent9429439f59cd3b82a3e2732ead5363578de97a84
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>
drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c
drivers/net/ethernet/freescale/dpaa2/dprtc-cmd.h
drivers/net/ethernet/freescale/dpaa2/dprtc.h