Thread (15 messages) 15 messages, 6 authors, 2025-09-21

Re: [PATCH net-next 05/10] net: stmmac: socfpga: convert to use phy_interface

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2025-09-21 08:18:51

Hi Russell,

On 17/09/2025 20:42, Russell King (Oracle) wrote:
dwmac-socfpga uses MII, RMII, GMII, RGMII, SGMII and 1000BASE-X
interface modes, and supports the Lynx PCS. The Lynx PCS will only be
used for SGMII and 1000BASE-X modes, with the MAC programmed to use
GMII or MII mode to talk to the PCS. This suggests that the Synopsys
optional dwmac PCS is not present.

None of the DTS files set "mac-mode", so mac_interface will be
identical to phy_interface.

Convert dwmac-socfpga to use phy_interface when determining the
interface mode rather than mac_interface.

Signed-off-by: Russell King (Oracle) <redacted>
I know this has been merged, but FWIW this looks good to me. sorry for 
not having had time to test this or the Marvell PTP stuff lately, I'm 
juggling between too many work and non-work related things and barely 
have time to work on phy_port :(

Thanks for this cleanup,

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help