From 84f380d348f1e876adf59f3e10715c8a3902ad5b Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Thu, 27 Apr 2017 15:27:12 +0800 Subject: ptp: add DPAA/DPAA2 PTP options in Kconfig This patch is to add DPAA/DPAA2 PTP options in Kconfig. Signed-off-by: Yangbo Lu diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index ee3de34..4c45bed 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig @@ -39,6 +39,35 @@ config PTP_1588_CLOCK_GIANFAR To compile this driver as a module, choose M here: the module will be called gianfar_ptp. +config PTP_1588_CLOCK_DPAA + tristate "Freescale DPAA as PTP clock" + depends on FSL_SDK_DPAA_ETH + select PTP_1588_CLOCK + select FSL_DPAA_TS + default n + help + This driver adds support for using the DPAA 1588 timer module + 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. + + To compile this driver as a module, choose M here: the module + will be called dpaa_ptp. + +config PTP_1588_CLOCK_DPAA2 + tristate "Freescale DPAA2 as PTP clock" + depends on FSL_DPAA2_ETH + select PTP_1588_CLOCK + default y + help + This driver adds support for using the DPAA2 1588 timer module + 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. + + To compile this driver as a module, choose M here: the module + will be called dpaa2-rtc. + config PTP_1588_CLOCK_IXP46X tristate "Intel IXP46x as PTP clock" depends on IXP4XX_ETH -- cgit v0.10.2