devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Reuse ptp_qoriq driver for dpaa2-ptp
@ 2019-06-10  3:21 Yangbo Lu
  2019-06-10  3:21 ` [PATCH 1/6] ptp: add QorIQ PTP support for DPAA2 Yangbo Lu
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Yangbo Lu @ 2019-06-10  3:21 UTC (permalink / raw)
  To: netdev, David S . Miller, Richard Cochran, Rob Herring, Shawn Guo
  Cc: linux-kernel, linux-arm-kernel, devicetree, Yangbo Lu

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.

Yangbo Lu (6):
  ptp: add QorIQ PTP support for DPAA2
  dpaa2-ptp: reuse ptp_qoriq driver
  dt-binding: ptp_qoriq: support DPAA2 PTP compatible
  arm64: dts: fsl: add ptp timer node for dpaa2 platforms
  dpaa2-ptp: add interrupt support
  MAINTAINERS: maintain DPAA2 PTP driver in QorIQ PTP entry

 .../devicetree/bindings/ptp/ptp-qoriq.txt          |   3 +-
 MAINTAINERS                                        |   9 +-
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi     |   8 +
 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi     |   8 +
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi     |   8 +
 drivers/net/ethernet/freescale/dpaa2/Kconfig       |   3 +-
 drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c   | 242 +++++++++++----------
 drivers/net/ethernet/freescale/dpaa2/dprtc-cmd.h   |  48 +++-
 drivers/net/ethernet/freescale/dpaa2/dprtc.c       | 191 ++++++++++++----
 drivers/net/ethernet/freescale/dpaa2/dprtc.h       |  62 ++++--
 drivers/ptp/Kconfig                                |   2 +-
 11 files changed, 386 insertions(+), 198 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-06-14 10:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-10  3:21 [PATCH 0/6] Reuse ptp_qoriq driver for dpaa2-ptp Yangbo Lu
2019-06-10  3:21 ` [PATCH 1/6] ptp: add QorIQ PTP support for DPAA2 Yangbo Lu
2019-06-10 13:06   ` Andrew Lunn
2019-06-12  4:14     ` Y.b. Lu
2019-06-12 13:10       ` Andrew Lunn
2019-06-14 10:40         ` Y.b. Lu
2019-06-10  3:21 ` [PATCH 2/6] dpaa2-ptp: reuse ptp_qoriq driver Yangbo Lu
2019-06-10  3:21 ` [PATCH 3/6] dt-binding: ptp_qoriq: support DPAA2 PTP compatible Yangbo Lu
2019-06-10  3:21 ` [PATCH 4/6] arm64: dts: fsl: add ptp timer node for dpaa2 platforms Yangbo Lu
2019-06-10  3:21 ` [PATCH 5/6] dpaa2-ptp: add interrupt support Yangbo Lu
2019-06-10  3:21 ` [PATCH 6/6] MAINTAINERS: maintain DPAA2 PTP driver in QorIQ PTP entry Yangbo Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).