ptp: add QorIQ PTP support for ENETC
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 12 Feb 2019 04:24:02 +0000 (12:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 17:58:48 +0000 (12:58 -0500)
This patch is to add QorIQ PTP support for ENETC.
ENETC PTP driver which is a PCI driver for same
1588 timer IP block will reuse QorIQ PTP driver.

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

index aeb4a8b2e0afd4d9727426fe85332d50fab4279d..7fe18636915afb8da3eb0d636301a59f073fb0dc 100644 (file)
@@ -43,7 +43,7 @@ config PTP_1588_CLOCK_DTE
 
 config PTP_1588_CLOCK_QORIQ
        tristate "Freescale QorIQ 1588 timer as PTP clock"
-       depends on GIANFAR || FSL_DPAA_ETH
+       depends on GIANFAR || FSL_DPAA_ETH || FSL_ENETC || FSL_ENETC_VF
        depends on PTP_1588_CLOCK
        default y
        help