Re: [Linuxptp-users] one-shot alarm

2016-08-23 Thread Kieran Tyrrell
Thanks Richard and Dale for the fast replies. I see that it should be possible to use the ptp_feature_enable function to pass in an alarm time, and then when the alarm fires, use the EXTTS event mechanism to pass a notification/event back to the app. Hopefully this will suffice for our applicat

Re: [Linuxptp-users] one-shot alarm

2016-08-22 Thread Dale Smith
On Mon, Aug 22, 2016 at 11:34 AM, Richard Cochran wrote: > > So my questions: > > - is the one-shot alarm functionality of the PHC actually implemented in > any driver? > > No. > > > - how can I implement this in the freescale FEC driver without > > having to modify the kernel? (ptp_clock_kerne

Re: [Linuxptp-users] one-shot alarm

2016-08-22 Thread Richard Cochran
> So my questions: > - is the one-shot alarm functionality of the PHC actually implemented in any > driver? No. > - how can I implement this in the freescale FEC driver without > having to modify the kernel? (ptp_clock_kernel.h and > drivers/ptp/ptp_clock.c) You can't implement this without

[Linuxptp-users] one-shot alarm

2016-08-22 Thread Kieran Tyrrell
Hi, I would like to use the one-shot alarm feature of the PHC on an i.MX6. The i.MX6 hardware can support this, but I notice it’s not supported by the Freescale/NXP drivers. testptp -c reports 0 programmable alarms, and the source code confirms this. I have been looking through the Freescale f