Re: [RFC PATCH net-next v5 16/25] net: dsa: qca8k: make rgmii delay configurable
From: Andrew Lunn
Date: Fri May 14 2021 - 12:56:08 EST
On Tue, May 11, 2021 at 04:04:51AM +0200, Ansuel Smith wrote:
> The legacy qsdk code used a different delay instead of the max value.
> Qsdk use 1 ms for rx and 2 ms for tx. Make these values configurable
More likely to be ns not ms.
> using the standard rx/tx-internal-delay-ps ethernet binding and apply
> qsdk values by default. The connected gmac doesn't add any delay so no
> additional delay is added to tx/rx.
> On this switch the delay is actually in ms so value should be in the
> 1000 order. Any value converted from ps to ms by deviding it by 1000
> as the switch max value for delay is 3ms.
And more ms that should be ns.