Re: [RFC PATCH net-next v5 16/25] net: dsa: qca8k: make rgmii delay configurable

From
Andrew Lunn <andrew@lunn.ch>
Date
2021-05-14 16:55:49
Also in
linux-devicetree, lkml
Reply to
Ansuel Smith, 2021-05-11
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.
dividing.

And more ms that should be ns. 

    Andrew
Thread (32 messages) 32 messages, 3 authors, 2021-05-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help