[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aMKPIFmOS1riOajH@shell.armlinux.org.uk>
Date: Thu, 11 Sep 2025 09:58:08 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Andrew Lunn <andrew@...n.ch>
Cc: Bartosz Golaszewski <brgl@...ev.pl>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Richard Cochran <richardcochran@...il.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Vinod Koul <vkoul@...nel.org>,
Giuseppe Cavallaro <peppe.cavallaro@...com>,
Jose Abreu <joabreu@...opsys.com>, linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH 2/9] dt-bindings: net: qcom: document the ethqos device
for SCMI-based systems
On Wed, Sep 10, 2025 at 06:04:28PM +0200, Andrew Lunn wrote:
> > + ethernet: ethernet@...0000 {
> > + compatible = "qcom,sa8255p-ethqos";
> > + reg = <0x23040000 0x10000>,
> > + <0x23056000 0x100>;
> > + reg-names = "stmmaceth", "rgmii";
> > +
> > + iommus = <&apps_smmu 0x120 0x7>;
> > +
> > + interrupts = <GIC_SPI 946 IRQ_TYPE_LEVEL_HIGH>,
> > + <GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>;
> > + interrupt-names = "macirq", "sfty";
> > +
> > + dma-coherent;
> > +
> > + snps,tso;
> > + snps,pbl = <32>;
> > + rx-fifo-depth = <16384>;
> > + tx-fifo-depth = <16384>;
> > +
> > + phy-handle = <&sgmii_phy1>;
> > + phy-mode = "2500base-x";
>
> Nitpicking: It is clearly not an SGMII PHY if it support
> 2500BaseX. You might want to give the node a better name.
>
> > + snps,mtl-rx-config = <&mtl_rx_setup1>;
> > + snps,mtl-tx-config = <&mtl_tx_setup1>;
> > + snps,ps-speed = <1000>;
>
> Since this MAC can do 2.5G, is 1000 correct here?
The driver only accepts 10, 100 and 1000 here. Not sure if that's
documented in the binding.
Also, does snps,ps-speed need to be set if we're not immitating a PHY
with the PCS? My understanding is that snps,ps-speed is only relevant
in that circumstance. (I suspect many DTS get this wrong.)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists