Netdev List
 help / color / mirror / Atom feed
* phylink and an unusual PHY/SFP setup
@ 2026-05-27  8:19 Michael Walle
  2026-05-27 13:35 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Walle @ 2026-05-27  8:19 UTC (permalink / raw)
  To: Andrew Lunn, Russell King; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

Hi,

I have a board with a rather unusual network link setup:

 MAC/PCS (fman) <-SerDes-> PHY (M88E1112) <-SerDes-> SFP

or even

 MAC/PCS (fman) <-SerDes-> PHY (M88E1112) <-SerDes-> Copper SFP with PHY

Does phylink support such a configuration? I suspect adding
support for such a configuration isn't straight forward.

FWIW, the M88E1112 PHY driver seems to be completely broken in
upstream. It looks like it was assumed, that it's like the M88E1111.
But that one only has 1 SerDes and one parallel interface. The 1112
has two SerDes interfaces and thus a completely different register
map. I'm not sure it ever worked, except maybe by accident for the
SGMII-to-Copper case.

-michael

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 297 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: phylink and an unusual PHY/SFP setup
  2026-05-27  8:19 phylink and an unusual PHY/SFP setup Michael Walle
@ 2026-05-27 13:35 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2026-05-27 13:35 UTC (permalink / raw)
  To: Michael Walle; +Cc: Russell King, netdev

On Wed, May 27, 2026 at 10:19:18AM +0200, Michael Walle wrote:
> Hi,
> 
> I have a board with a rather unusual network link setup:
> 
>  MAC/PCS (fman) <-SerDes-> PHY (M88E1112) <-SerDes-> SFP
> 
> or even
> 
>  MAC/PCS (fman) <-SerDes-> PHY (M88E1112) <-SerDes-> Copper SFP with PHY

Such setups do exist already, but with a different PHY. The Marvel 10G
PHY is sometimes placed in the middle like this. And there are other
PHYs.

Take a look at

commit 35d1a5464b476aa98b7b76ce41bb4de748cebfc2
Author: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date:   Thu Jan 8 09:00:35 2026 +0100

    net: phy: marvell10g: Support SFP through phy_port
    
    Convert the Marvell10G driver to use the generic SFP handling, through a
    dedicated .attach_port() handler to populate the port's supported
    interfaces.
    
    As the 88x3310 supports multiple MDI, the .attach_port() logic handles
    both SFP attach with 10GBaseR support, and support for the "regular"
    port that usually is a BaseT port.

Also, marvell-88x2222.c.

	Andrew

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-27 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-27  8:19 phylink and an unusual PHY/SFP setup Michael Walle
2026-05-27 13:35 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox