]> 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)
commitbfa21627ff6638b753264c8dbbf44f2ce7bc6f8e
treecb576589abc2740835bc700fdb229a8f6827aabc
parent23e083058e1a6a0c3110cc3ff6b3a6835a667a9b
parent8108e5189d1938e2cc89be0c39e5918f3dd0e1dd
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>