]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'Reuse-ptp_qoriq-driver-for-dpaa2-ptp'
authorDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 20:43:07 +0000 (13:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 20:43:07 +0000 (13:43 -0700)
Yangbo Lu says:

====================
Reuse ptp_qoriq driver for dpaa2-ptp

Although dpaa2-ptp.c driver is a fsl_mc_driver which
is using MC APIs for register accessing, it's same IP
block with eTSEC/DPAA/ENETC 1588 timer.
This patch-set is to convert to reuse ptp_qoriq driver by
using register ioremap and dropping related MC APIs.
However the interrupts could only be handled by MC which
fires MSIs to ARM cores. So the interrupt enabling and
handling still rely on MC APIs. MC APIs for interrupt
and PPS event support are also added by this patch-set.

---
Changes for v2:
- Allowed to compile with COMPILE_TEST.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge