Re: [PATCH 4/4] arm64: dts: microchip: add LAN969x support

From
Andrew Lunn <andrew@lunn.ch>
Date
2025-12-06 18:07:01
Also in
linux-clk, linux-devicetree, linux-usb, lkml
Reply to
Claudiu Beznea, 2025-12-06
On Sat, Dec 06, 2025 at 03:53:42PM +0200, Claudiu Beznea wrote:
quoted
+		port29: port@29 {
+			reg = <29>;
+			microchip,bandwidth = <1000>;
+			phys = <&serdes 11>;
+			phy-handle = <&phy3>;
+			phy-mode = "rgmii";
quoted
From chekpatch:
WARNING: phy-mode "rgmii" without comment -- delays on the PCB should be
described, otherwise use "rgmii-id"
#779: FILE: arch/arm64/boot/dts/microchip/lan9696-ev23x71a.dts:750:
+                       phy-mode = "rgmii";
quoted
+			rx-internal-delay-ps = <1000>;
+			tx-internal-delay-ps = <1000>;
+		};
I did a very quick scan of the patch and missed that. It is great that
checkpatch is now commenting about "rgmii".

1ns is very odd. You need a total of 2ns, so where is the rest coming
from? This definitely needs a comment explaining what is going on.

Also, RGMII typically does not need a SERDES, unless there is
something like an SGMII to RGMII converter being used. So is the phys
property needed?

	Andrew
Thread (18 messages) 18 messages, 5 authors, last reply 2025-12-15
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