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)
committerMugunthan V N <mugunthanvnm@ti.com>
Fri, 30 Nov 2012 11:56:56 +0000 (17:26 +0530)
commit941a8fbee0dd6b583a31d08d23ee57a65a735e4a
tree3b8c1a943b537ff85b543492733b837b034cd9d6
parent88639f69eb6e0c650a355dbdaf72f6ec9c5b62da
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>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
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]