[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260109095801.GD1118061@google.com>
Date: Fri, 9 Jan 2026 09:58:01 +0000
From: Lee Jones <lee@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: Vladimir Oltean <vladimir.oltean@....com>, netdev@...r.kernel.org,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 07/15] mfd: core: add ability for cells to probe
on a custom parent OF node
On Wed, 17 Dec 2025, Andrew Lunn wrote:
> > > Name Description Start End
> > > SWITCH Ethernet Switch Subsystem 0x000000 0x3ffffc
> > > 100BASE-T1 Internal MDIO bus for 100BASE-T1 PHY (port 5 - 10) 0x704000 0x704ffc
> > > SGMII1 SGMII Port 1 0x705000 0x705ffc
> > > SGMII2 SGMII Port 2 0x706000 0x706ffc
> > > SGMII3 SGMII Port 3 0x707000 0x707ffc
> > > SGMII4 SGMII Port 4 0x708000 0x708ffc
> > > 100BASE-TX Internal MDIO bus for 100BASE-TX PHY 0x709000 0x709ffc
> >
> > All in drivers/net.
>
> I've not been following this conversation too much, but i would like
> to point out that what you find in drivers/net is not a uniform set of
> drivers, but a collection of different driver types.
>
> SWITCH might belong on drivers/net/dsa
> 100BASE-T1 might belong on drivers/net/mdio
> SGMIIX might belong in drivers/net/pcs
> 100BASE-TX might belong in drivers/net/mdio
>
> I also expect those T1 and TX PHYs have drivers in drivers/net/phy,
> but they are not memory mapped, so not on your list.
>
> Each driver can probe independently, registering with different parts
> of the net core. And then the switch driver will link all the parts
> together using phandles.
>
> Saying that all the sub drivers are in drivers/net seems an odd
> argument it is not an MFD.
Okay, I'm convinced. Thanks for the additional context.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists