]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd5e577df6b3153f48ff20770017ab0c375dad216
treecb576589abc2740835bc700fdb229a8f6827aabc
parent7b017bd0a5126b1bab2764b228ae1045c5faf13d
parentee339a5d4fe4bccbfed06084f167e080d31dd30e
Merge branch 'Reuse-ptp_qoriq-driver-for-dpaa2-ptp'

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>