[PATCH 2/2] misc: Add initial Digital Timing Engine (DTE) driver for cygnus
Arnd Bergmann
arnd at arndb.de
Fri May 1 12:40:40 PDT 2015
On Friday 01 May 2015 20:30:04 One Thousand Gnomes wrote:
>
> > channel control, unless I'm missing something. If people are flexible
> > with extending that I could propose something. Let me know which way you
> > prefer to go. Thanks.
>
> I would strongly favour fixing PTP to do this right. Otherwise we will
> have 2 or 3 adhoc drivers, then end up moving them to PTP and then end up
> dealing with the compat mess.
Agreed. I was hoping that there was already a subsystem in the kernel that
could be extended to work with this driver. If all that is needed is to
pass more fields of the existing timex to ptp drivers, that should be
fairly easy to do.
We also have some padding bytes available in struct timex in case some
extra data needs to be passed, or we could add another clock_* system call
if it's absolutely required to have another entry into the driver, and
connect that through struct k_clock and posix_clock_operations(). I would
hope we don't even need that.
Arnd
More information about the linux-arm-kernel
mailing list