[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dba3139c-8224-4515-9147-6ba97c36909d@lunn.ch>
Date: Fri, 16 Aug 2024 04:32:59 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Wei Fang <wei.fang@....com>
Cc: "davem@...emloft.net" <davem@...emloft.net>,
"edumazet@...gle.com" <edumazet@...gle.com>,
"kuba@...nel.org" <kuba@...nel.org>,
"pabeni@...hat.com" <pabeni@...hat.com>,
"robh@...nel.org" <robh@...nel.org>,
"krzk+dt@...nel.org" <krzk+dt@...nel.org>,
"conor+dt@...nel.org" <conor+dt@...nel.org>,
"f.fainelli@...il.com" <f.fainelli@...il.com>,
"hkallweit1@...il.com" <hkallweit1@...il.com>,
"linux@...linux.org.uk" <linux@...linux.org.uk>,
"Andrei Botila (OSS)" <andrei.botila@....nxp.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next 1/3] dt-bindings: net: tja11xx: use reverse-mode
to instead of rmii-refclk-in
> 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
Powered by blists - more mailing lists