On Thu, 2015-11-12 at 14:37 -0600, Bassam Alsanie wrote: I will be going over the PHC APIs and some of the kernel PHC modules to get deeper understand. Just to let you know why my questions seem little bit weird. I am working on developing a user mode framework for to accessing the hardware (for rapid prototyping). I found its useful to develop a user mode code to access the custom clock (can take as low as one day of development time) then update the linuxptp (ptp4l) to adjust the frequency on the clock using the user-mode code, instead of calling into the PHC framework which require kernel support. This is not permanent solution nor to replace the current PHC framework, its just to characterise the hardware and perform some initial tests in a very short time. Then after that move to follow the PHC model to make the final implementation.
Thank you Bassam, Just implement kernel mode stuff first, it's not that difficult, and there are usemode applications, Documentation/ptp/testptp.c for example which help perform tests on the device. I think you'll have a headache porting math if you go your route above. Regards, Jake ------------------------------------------------------------------------------ _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel