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>
This commit is contained in:

committed by
David S. Miller

parent
9429439f59
commit
17568c62cd
@@ -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,
|
||||
|
Reference in New Issue
Block a user