Thread (14 messages) 14 messages, 2 authors, 2012-10-22

Re: [PATCH V2 0/7] support the cpts found on am335x devices

flat view
STALE5100d

From: Richard Cochran <richardcochran@gmail.com>
Date: 2012-10-17 18:27:15
Also in: linux-arm-kernel

Revision v2 of 5 in this series.

Revisions (5)
  1. rfc [diff vs current]
  2. v2
  3. v2
  4. v2 current
  5. v2
On Tue, Oct 16, 2012 at 11:11:29PM +0000, N, Mugunthan V wrote:
Yes, I do agree that driver handles it. As Half roll over and Full roll
over events are not handled in the driver, I am just curious how will
the misaligned TS would be handled and also in cpts set time, the Lower
32 bit time is written to CPTS counter
#include <linux/clocksource.h>
Since we poll for the 32bit over flow for every HZ * 8 cycle, won't
there be a system overhead. If the CPTS ref clock is changed according
to the ptp freq adjust api, how will the timecounter take care of change
in frequency
There is nothing to do here. What are you asking?
The current driver which is in vanilla kernel doesn't use extended slave
address which are conflict between TI814x CPSW IP version and AM335x CPSW
IP version. I have just posted my version of CPTS implementation. May be
we can work together make the driver compatible with both CPSW versions
Okay.
Since CPSW is a 3port Switch we should not fix time stamping will be enabled
only for slave 0 or passing slave number through DT. Its better if we
can configure both the slaves. This can be tested with EVM-sk which has
both the slave ports pinned out.
I hope that you meant, "better if we can configure _either_ slave."
Considering how SO_TIMESTAMPING works, you can't use both at once.

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help