]> git.karo-electronics.de Git - linux-beck.git/commit
cpts: introduce time stamping code and a PTP hardware clock.
authorRichard Cochran <richardcochran@gmail.com>
Mon, 29 Oct 2012 08:45:16 +0000 (08:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 16:21:30 +0000 (12:21 -0400)
commit87c0e764d43aca7f8bae8bfa86c50fa715e80050
tree0895740b527ca8b82b6e60dea2bda6b518ea5fba
parent9750a3ade7b635a18f04371b4fddad0de0b4e6d8
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>
drivers/net/ethernet/ti/Kconfig
drivers/net/ethernet/ti/Makefile
drivers/net/ethernet/ti/cpts.c [new file with mode: 0644]
drivers/net/ethernet/ti/cpts.h [new file with mode: 0644]