[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y1FFrjjNyU3VaYBI@hoboy.vegasvil.org>
Date: Thu, 20 Oct 2022 05:57:18 -0700
From: Richard Cochran <richardcochran@...il.com>
To: wei.fang@....com
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, frank.li@....com
Subject: Re: [PATCH net-next] net: fec: Add support for periodic output
signal of PPS
On Thu, Oct 20, 2022 at 12:35:56PM +0800, wei.fang@....com wrote:
> From: Wei Fang <wei.fang@....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.
>
> Signed-off-by: Wei Fang <wei.fang@....com>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists