]> 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)
commit93b4ccc8847069b8fe41c9ceb03e63e3ff6ff9a6
tree0895740b527ca8b82b6e60dea2bda6b518ea5fba
parent804417d4bf604de12239dc3e3746176a54da0c18
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]