Re: [PATCH 10/12] misc: Flexcard basic timestamp counter support

From: Thomas Gleixner
Date: Wed Dec 14 2016 - 04:19:17 EST


On Wed, 14 Dec 2016, Arnd Bergmann wrote:
> On Wednesday, December 14, 2016 1:11:51 AM CET Holger Dengler wrote:
> > The Eberspaecher Flexcard PMC II offers a Flexray network synchronized
> > counter with a selectable resolution of 1us, 100ns or 10ns. Add basic
> > support for the timestamp counter with 1us resolution, which is the
> > standard Flexray bus resolution.
> >
> > Signed-off-by: Benedikt Spranger <b.spranger@xxxxxxxxxxxxx>
> > Signed-off-by: Holger Dengler <dengler@xxxxxxxxxxxxx>
> > cc: Arnd Bergmann <arnd@xxxxxxxx>
> > cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> >
>
> Have you tried fitting this in the drivers/ptp/ framework rather
> than having your own posix clock for it?

It has nothing to do with PTP. It's a completely seperate clock and cannot
be used for PTP style time synchronization.

Thanks,

tglx