[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YNs3gI9A6e4QkTrj@lunn.ch>
Date: Tue, 29 Jun 2021 17:08:48 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Marek BehĂșn <kabel@...nel.org>
Cc: Kurt Cancemi <kurt@...architecture.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH 1/1] net: phy: marvell: Fixed handing of delays with
plain RGMII interface
On Tue, Jun 29, 2021 at 12:52:34PM +0200, Marek BehĂșn wrote:
> On Mon, 28 Jun 2021 21:12:41 -0400
> Kurt Cancemi <kurt@...architecture.com> wrote:
>
> > I am using drivers/net/ethernet/freescale/dpaa. This is a T2080 soc.
> >
> > The following is where I added a dev_info statement for "phy_if", it
> > correctly returned -> PHY_INTERFACE_MODE_RGMII_ID.
> > https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/freescale/fman/mac.c#L774
>
> It seem that dpaa / fman drivers do the same thing for both
> "rgmii" and "rgmii-id". There should be code that enables the delays
> for the "rgmii-id" variant...
Generally, the MAC does nothing, and asks the PHY to do the delay. So
in the MAC driver there should be nothing, apart from pass phy-mode to
the PHY.
Andrew
Powered by blists - more mailing lists