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

From: Arnd Bergmann
Date: Wed Dec 14 2016 - 03:47:14 EST

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?

No idea if that works, it's just a thought I had.