summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/Kconfig
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2012-10-29 08:45:16 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-01 12:21:30 -0400
commit87c0e764d43aca7f8bae8bfa86c50fa715e80050 (patch)
tree0895740b527ca8b82b6e60dea2bda6b518ea5fba /drivers/net/ethernet/ti/Kconfig
parent9750a3ade7b635a18f04371b4fddad0de0b4e6d8 (diff)
downloadlinux-stable-87c0e764d43aca7f8bae8bfa86c50fa715e80050.tar.gz
linux-stable-87c0e764d43aca7f8bae8bfa86c50fa715e80050.tar.bz2
linux-stable-87c0e764d43aca7f8bae8bfa86c50fa715e80050.zip
cpts: introduce time stamping code and a PTP hardware clock.
This patch adds a driver for the CPTS that offers time stamping and a PTP hardware clock. Because some of the CPTS hardware variants (like the am335x) do not support frequency adjustment, we have implemented this in software by changing the multiplication factor of the timecounter. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/Kconfig')
-rw-r--r--drivers/net/ethernet/ti/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig
index b26cbda5efa9..cbc3905a0a15 100644
--- a/drivers/net/ethernet/ti/Kconfig
+++ b/drivers/net/ethernet/ti/Kconfig
@@ -60,6 +60,14 @@ config TI_CPSW
To compile this driver as a module, choose M here: the module
will be called cpsw.
+config TI_CPTS
+ boolean "TI Common Platform Time Sync (CPTS) Support"
+ depends on TI_CPSW && PTP_1588_CLOCK && !(TI_CPSW=y && PTP_1588_CLOCK=m)
+ ---help---
+ This driver supports the Common Platform Time Sync unit of
+ the CPSW Ethernet Switch. The unit can time stamp PTP UDP/IPv4
+ and Layer 2 packets, and the driver offers a PTP Hardware Clock.
+
config TLAN
tristate "TI ThunderLAN support"
depends on (PCI || EISA)