Messages in this thread | | | From | Wei Fang <> | Subject | RE: [PATCH net-next] net: fec: Add support for periodic output signal of PPS | Date | Thu, 20 Oct 2022 04:38:51 +0000 |
| |
> -----Original Message----- > From: Jakub Kicinski <kuba@kernel.org> > Sent: 2022年10月20日 10:13 > To: Wei Fang <wei.fang@nxp.com> > Cc: davem@davemloft.net; edumazet@google.com; pabeni@redhat.com; > netdev@vger.kernel.org; linux-kernel@vger.kernel.org; Frank Li > <frank.li@nxp.com> > Subject: Re: [PATCH net-next] net: fec: Add support for periodic output signal > of PPS > > On Wed, 19 Oct 2022 13:08:08 +0800 wei.fang@nxp.com wrote: > > From: Wei Fang <wei.fang@nxp.com> > > > > This patch adds the support for configuring periodic output signal of > > PPS. So the PPS can be output at a specified time and period. > > For developers or testers, they can use the command "echo <channel> > > <start.sec> <start.nsec> <period.sec> <period. > > nsec> > /sys/class/ptp/ptp0/period" to specify time and > > period to output PPS signal. > > Notice that, the channel can only be set to 0. In addtion, the start > > time must larger than the current PTP clock time. > > So users can use the command "phc_ctl /dev/ptp0 -- get" to get the > > current PTP clock time before. > > You need to CC Richard C the PTP maintainer on PTP-related patches, please > repost.
Okay, thanks!
| |