]> git.baikalelectronics.ru Git - kernel.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)
commita690156c7c3524502d04de7dffcbf95254cbd7ab
tree0895740b527ca8b82b6e60dea2bda6b518ea5fba
parentbde82ea5eb0b5ab72dc1a6059783fe72be73a368
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]