summaryrefslogtreecommitdiff
path: root/drivers/ptp
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2019-12-05 15:03:05 +0800
committerJason Liu <jason.hui.liu@nxp.com>2020-02-26 04:17:41 +0800
commit02b7e8038d4b212c97b0ce9715283c05fdbcd691 (patch)
treecbe1792bfa4b04130bac63a439fad1ab7d3c5c12 /drivers/ptp
parentb660c46a241f42352f132cccc48f6a76c99ed50b (diff)
LF-183 ptp: depend on !FSL_SDK_FMAN_RTC_API for ptp_qoriq
When kernel uses SDK version DPAA/FMan drivers, user could select to use ptp_qoriq driver, or FMan RTC driver to manage 1588 timer. But neither should not be enabled together. This patch is to add dependency !FSL_SDK_FMAN_RTC_API for ptp_qoriq driver. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> (cherry picked from commit 88573b6472bf6d91c69f024b0f2a4e85533f6c0e)
Diffstat (limited to 'drivers/ptp')
-rw-r--r--drivers/ptp/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
index 74e7153ddafc..567ffc0cd7c7 100644
--- a/drivers/ptp/Kconfig
+++ b/drivers/ptp/Kconfig
@@ -44,7 +44,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 || FSL_SDK_DPAA_ETH || FSL_DPAA2_ETH || FSL_ENETC || FSL_ENETC_VF || COMPILE_TEST
+ depends on !FSL_SDK_FMAN_RTC_API && (GIANFAR || FSL_DPAA_ETH || FSL_SDK_DPAA_ETH || FSL_DPAA2_ETH || FSL_ENETC || FSL_ENETC_VF) || COMPILE_TEST
depends on PTP_1588_CLOCK
default y
help