diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2019-06-14 06:40:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-15 16:43:06 -0400 |
commit | 8099d7ca6e7b76282fef7565877f5c8f02f8ef4f (patch) | |
tree | 23828874a21afbf9be4fe585428006e76bfcaf1c | |
parent | 930cfe0f129d2e9fee8ed3e8488daee881aa31c5 (diff) |
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>
-rw-r--r-- | drivers/ptp/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index 9b8fee5178e8..960961fb0d7c 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig | |||
@@ -44,7 +44,7 @@ config PTP_1588_CLOCK_DTE | |||
44 | 44 | ||
45 | config PTP_1588_CLOCK_QORIQ | 45 | config PTP_1588_CLOCK_QORIQ |
46 | tristate "Freescale QorIQ 1588 timer as PTP clock" | 46 | tristate "Freescale QorIQ 1588 timer as PTP clock" |
47 | depends on GIANFAR || FSL_DPAA_ETH || FSL_ENETC || FSL_ENETC_VF | 47 | depends on GIANFAR || FSL_DPAA_ETH || FSL_DPAA2_ETH || FSL_ENETC || FSL_ENETC_VF || COMPILE_TEST |
48 | depends on PTP_1588_CLOCK | 48 | depends on PTP_1588_CLOCK |
49 | default y | 49 | default y |
50 | help | 50 | help |