Re: [PATCH net-next] net: mdio: handle broken-turn-around for non-PHY MDIO devices
From: Andrew Lunn
Date: Fri Nov 20 2026 - 17:07:55 EST
On Fri, Nov 20, 2026 at 10:40:55PM +0100, Bastian Germann wrote:
> On 11/20/26 01:33, Andrew Lunn wrote:
> > On Fri, Nov 20, 2026 at 12:13:19AM +0100, Bastian Germann wrote:
> > > The "broken-turn-around" property is documented in mdio.yaml for any
> > > MDIO device, but the MDIO core currently parses it only for PHY devices
> > > in fwnode_mdiobus_phy_device_register(). Non-PHY devices, such as DSA
> > > switches, are registered through of_mdiobus_register_device(), where the
> > > property is ignored, so MDIO bus drivers that rely on phy_ignore_ta_mask
> > > still treat the turn-around/read failure as an error.
> > >
> > > Parse the property when registering a non-PHY MDIO device and set the
> > > corresponding bit in phy_ignore_ta_mask before registering the device.
> > What switch is causing you problems?
>
> It is with mv88e6085.
>
> I have just found that Nathan Rossi sent basically the same patch as
> <20210217044443.1246392-1-nathan@xxxxxxxxxxxxxxx>.
[Goes and find the thread]
Are you bit banging as well? Or do you have another MDIO bus
controller?
The point about the mv88e6085 using multiple addresses is valid. How
do you have the mv88e6085 configured?
Andrew