ptp: add QorIQ PTP support for DPAA2
authorYangbo Lu <yangbo.lu@nxp.com>
Fri, 14 Jun 2019 10:40:50 +0000 (18:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 20:43:06 +0000 (13:43 -0700)
commit8099d7ca6e7b76282fef7565877f5c8f02f8ef4f
tree23828874a21afbf9be4fe585428006e76bfcaf1c
parent930cfe0f129d2e9fee8ed3e8488daee881aa31c5
ptp: add QorIQ PTP support for DPAA2

This patch is to add QorIQ PTP support for DPAA2.
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. We will
convert to reuse ptp_qoriq driver by using register
ioremap and dropping related MC APIs.
Also allow to compile ptp_qoriq with COMPILE_TEST.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/Kconfig