On 8/18/2020 12:40 PM, Irene Kravets wrote:
> I am using vendor kernel and a vendor-specific PTP driver
> (drivers/net/Ethernet/freescale/fec_ptp.c). I see this driver in the
> mainline kernel as well. What enables PPS output signal is the
> PTP_ENABLE_PPS ioctl sent from linuxptp stack (in phc2sys.c).
It's possible the driver assumes "PTP_ENABLE_PPS" is for enabling the
PPS output signal. I know I've had plenty of discussion with colleagues
trying to explain the difference between PTP_ENABLE_PPS and
PTP_PEROUT_REQUEST... So I would imagine other vendors might also get
this wrong sometimes.
Enabling the input and output pins should be done through the
PTP_PEROUT_REQUEST and PTP_PIN_SETFUNC ioctls.
Thanks,
Jake
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users