Re: [PATCH] net: phy: marvell-88q2xxx: Add support for PHY LEDs on 88q2xxx
From: Andrew Lunn
Date: Fri Jan 10 2025 - 12:52:36 EST
> > + if (index == MV88Q2XXX_LED_INDEX_TX_ENABLE)
> > + ret = phy_clear_bits_mmd(phydev, MDIO_MMD_PCS,
> > + MDIO_MMD_PCS_MV_RESET_CTRL,
> > + MDIO_MMD_PCS_MV_RESET_CTRL_TX_DISABLE);
>
> If I understand it correctly, this switches the function of the pin from
> TX_DISABLE to GPIO? Can you maybe add a comment here?
What is TX_DISABLE used for? I know it from SFPs, where it will
disable the laser. But here we are talking about a T1 PHY.
Do we have to be careful of use cases where the TX_DISABLE pin is
being used for TX_DISABLE?
Andrew