Re: [PATCH net-next 2/4] net: phy: motorcomm: Support YT8531S PHY in YT6801 Ethernet controller

From: Russell King (Oracle)

Date: Tue Oct 14 2025 - 13:09:09 EST


On Tue, Oct 14, 2025 at 04:47:45PM +0000, Yao Zi wrote:
> YT6801's internal PHY is confirmed as a GMII-capable variant of YT8531S
> by a previous series[1] and reading PHY ID. Add support for
> PHY_INTERFACE_MODE_INTERNAL for YT8531S to allow the Ethernet driver to
> reuse the PHY code for its internal PHY.

If it's known to be connected via a GMII interface, even if it's on the
SoC, please use PHY_INTERFACE_MODE_GMII in preference to
PHY_INTERFACE_MODE_INTERNAL. PHY_INTERFACE_MODE_INTERNAL is really for
"we don't know what the internal interface is".

Thanks.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!