diff options
author | Alvin Šipraga <alsi@bang-olufsen.dk> | 2021-11-29 13:30:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-29 15:51:37 +0300 |
commit | ef136837aaf6f37f2dec78551671a6883f868d69 (patch) | |
tree | f6435ec2b23daec6623e6721cab2ecd06b1bf045 /Documentation/devicetree/bindings/net/intel,ixp4xx-hss.yaml | |
parent | 1ecab9370eef94a334c790fd7ae584b88de56545 (diff) | |
download | linux-ef136837aaf6f37f2dec78551671a6883f868d69.tar.xz |
net: dsa: rtl8365mb: set RGMII RX delay in steps of 0.3 ns
A contact at Realtek has clarified what exactly the units of RGMII RX
delay are. The answer is that the unit of RX delay is "about 0.3 ns".
Take this into account when parsing rx-internal-delay-ps by
approximating the closest step value. Delays of more than 2.1 ns are
rejected.
This obviously contradicts the previous assumption in the driver that a
step value of 4 was "about 2 ns", but Realtek also points out that it is
easy to find more than one RX delay step value which makes RGMII work.
Fixes: 4af2950c50c8 ("net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC")
Cc: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/intel,ixp4xx-hss.yaml')
0 files changed, 0 insertions, 0 deletions