Re: [PATCH net-next 1/3] dt-bindings: net: tja11xx: use reverse-mode to instead of rmii-refclk-in
From: Andrew Lunn
Date: Thu Aug 15 2024 - 22:33:24 EST
> According to the commit message c858d436be8b ("net: phy: introduce
> PHY_INTERFACE_MODE_REVRMII"), my understanding is that
> PHY_INTERFACE_MODE_REVRMII and PHY_INTERFACE_MODE_REVMII
> are used for MAC to MAC connections, which means the MAC behaves
> link an RMII/MII PHY. For the MAC to PHY connection, I think these two
> macros are not applicable.
In MAC to MAC connections, REVRMII means that end plays the role of a
PHY, even though it is a MAC.
What is actually happening when you use these properties/register
setting on the PHY? It is playing the role of a MAC? In order to have
a working link, do you need to tell the MAC to play the role of the
PHY?
Andrew