[PATCH 1/8] dt-bindings: net: Add MDIO demultiplexer

Jisheng Zhang jszhang at kernel.org
Tue Nov 17 08:18:12 PST 2026


On Tue, Nov 17, 2026 at 05:20:39PM +0100, Andrew Lunn wrote:
> > > Each transaction?
> > > 
> > > Are you proposing to use both MDIO bus master? Why? To the outside
> > > world, it is one MDIO bus, so you only need one active MDIO bus
> > 
> > Yep, both MDIO bus masters. I wanted to let each MAC uses its own
> > MDIO rather than disturbe another MAC for dual MACs case.
> 
> How does this actually work? Each bus master sees each PHY. So one

This could work since the demux serializes two masters' access + only
point to one phy phandle in one mac's DT node.

> hardware device is represented twice in Linux. Bad things are then
> going to happen.
> 
> As i said, the outside world has one bus. So you need one MDIO bus

Yep, I will switch to one MDIO bus solution by coping with the selector
in the sl2610 stmmac glue driver. A sample dts for dual MACs case has
been shown in last email.



More information about the linux-arm-kernel mailing list