[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211014194504.199c198b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 14 Oct 2021 19:45:07 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: <yuiko.oshino@...rochip.com>
Cc: <davem@...emloft.net>, <netdev@...r.kernel.org>,
<UNGLinuxDriver@...rochip.com>
Subject: Re: [PATCH net-next] net: microchip: lan743x: add support for PTP
pulse width (duty cycle)
On Tue, 12 Oct 2021 09:49:53 -0400 yuiko.oshino@...rochip.com wrote:
> From: Yuiko Oshino <yuiko.oshino@...rochip.com>
>
> If the PTP_PEROUT_DUTY_CYCLE flag is set, then check if the
> request_on value in ptp_perout_request matches the pre-defined
> values or a toggle option.
> Return a failure if the value is not supported.
>
> Preserve the old behaviors if the PTP_PEROUT_DUTY_CYCLE flag is not
> set.
>
> Tested with an oscilloscope on EVB-LAN7430:
> e.g., to output PPS 1sec period 500mS on (high) to GPIO 2.
> ./testptp -L 2,2
> ./testptp -p 1000000000 -w 500000000
>
> Signed-off-by: Yuiko Oshino <yuiko.oshino@...rochip.com>
Applied, thanks.
Powered by blists - more mailing lists