Thread (3 messages) 3 messages, 2 authors, 2026-01-14

Re: [PATCH net-next 03/14] phy: qcom-sgmii-eth: add .set_mode() and .validate() methods

From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2026-01-14 18:55:49
Also in: linux-arm-kernel, linux-arm-msm, linux-phy

On Wed, Jan 14, 2026 at 08:47:05PM +0200, Vladimir Oltean wrote:
On Wed, Jan 14, 2026 at 05:45:24PM +0000, Russell King (Oracle) wrote:
quoted
qcom-sgmii-eth is an Ethernet SerDes supporting only Ethernet mode
using SGMII, 1000BASE-X and 2500BASE-X.

Add an implementation of the .set_mode() method, which can be used
instead of or as well as the .set_speed() method. The Ethernet
interface modes mentioned above all have a fixed data rate, so
setting the mode is sufficient to fully specify the operating
parameters.

Add an implementation of the .validate() method, which will be
necessary to allow discovery of the SerDes capabilities for platform
independent SerDes support in the stmmac netowrk driver.
s/netowrk/network/
quoted
Signed-off-by: Russell King (Oracle) <redacted>
---
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
According to patchwork (I forgot the RFC tag on the patches) it needs
linux/phy.h included. Plesae let me know if you'd like me to retain
your r-b. Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help