summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/enetc/Kconfig
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2019-02-12 07:24:03 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-12 20:58:48 +0300
commit19971f5ea0ab449818db5016ea1229a654a13a5c (patch)
treee36709099e8bfebf2f29af50ea1f01fc210b5c5b /drivers/net/ethernet/freescale/enetc/Kconfig
parentad6e1be64ae135abae8f7e51c4f2f74f4f4e5420 (diff)
downloadlinux-19971f5ea0ab449818db5016ea1229a654a13a5c.tar.xz
enetc: add PTP clock driver
This patch is to add PTP clock driver for ENETC. The driver reused QorIQ PTP clock driver. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/enetc/Kconfig')
-rw-r--r--drivers/net/ethernet/freescale/enetc/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/enetc/Kconfig b/drivers/net/ethernet/freescale/enetc/Kconfig
index f9dd26fbfc83..8429f5c1d810 100644
--- a/drivers/net/ethernet/freescale/enetc/Kconfig
+++ b/drivers/net/ethernet/freescale/enetc/Kconfig
@@ -17,3 +17,15 @@ config FSL_ENETC_VF
virtual function (VF) devices enabled by the ENETC PF driver.
If compiled as module (M), the module name is fsl-enetc-vf.
+
+config FSL_ENETC_PTP_CLOCK
+ tristate "ENETC PTP clock driver"
+ depends on PTP_1588_CLOCK_QORIQ && (FSL_ENETC || FSL_ENETC_VF)
+ default y
+ help
+ This driver adds support for using the ENETC 1588 timer
+ as a PTP clock. This clock is only useful if your PTP
+ programs are getting hardware time stamps on the PTP Ethernet
+ packets using the SO_TIMESTAMPING API.
+
+ If compiled as module (M), the module name is fsl-enetc-ptp.