diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2017-04-27 07:27:12 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-07-14 09:56:57 (GMT) |
commit | 84f380d348f1e876adf59f3e10715c8a3902ad5b (patch) | |
tree | 342759e1ff7cc4b3cc79e0da5624bc79e35204e8 /drivers/ptp | |
parent | c7c7204c081fc5a026a744883b0954f98ca43f59 (diff) | |
download | linux-84f380d348f1e876adf59f3e10715c8a3902ad5b.tar.xz |
ptp: add DPAA/DPAA2 PTP options in Kconfig
This patch is to add DPAA/DPAA2 PTP options in Kconfig.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'drivers/ptp')
-rw-r--r-- | drivers/ptp/Kconfig | 29 |
1 files changed, 29 insertions, 0 deletions
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 |