[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <C246CAC1457055469EF09E3A7AC4E11A4A5BAC07@XAP-PVEXMBX01.xlnx.xilinx.com>
Date: Fri, 1 Jul 2016 15:29:59 +0000
From: Appana Durga Kedareswara Rao <appana.durga.rao@...inx.com>
To: Andrew Lunn <andrew@...n.ch>
CC: Michal Simek <michals@...inx.com>,
"nicolas.ferre@...el.com" <nicolas.ferre@...el.com>,
Punnaiah Choudary Kalluri <punnaia@...inx.com>,
Anirudha Sarangi <anirudh@...inx.com>,
Harini Katakam <harinik@...inx.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii
converter
Hi Andrew,
> On Fri, Jul 01, 2016 at 11:50:10AM +0530, Kedareswara rao Appana wrote:
> > This patch series does the following
> > ---> Add support for gmii2rgmii converter.
>
> How generic is this gmii2rgmii IP block? Could it be used with any GMII and
> RGMII device?
This converter does GMII2RGMII conversion.
This can be used with any MAC which has shared MDIO with external PHY
And this Converter. This Converter IP is validated for MACB.
But it should work with any MAC which has shared MDIO bus (I mean single MDIO multiple PHYS)...
This converter works like below
MACB <==> GMII2RGMII <==> RGMII_PHY
MDIO <========> GMII2RGMII
MCAB<=======>
<========> RGMII
Using MACB MDIO bus we can access both the converter and the external PHY.
We need to program the line speed of the converter during run time based on the External phy negotiated speed.
MDIO interface is used to set operating speed (line speed)
The converter has only one register (0x10) that we need to program to set the operating speed.
The composition of this register is similar to the IEEE standard 802.3 MDIO control register 0x0.
Please let me know if you still not clear about how this converter works.
>
> Should it be placed in drivers/net/phy, so making it easier to reuse?
Ok will move it drivers/net/phy folder in the next version...
>
> Also, Russell Kings phylink might be a more natural structure for this. It is hard to
> know when those patches will land, but it might be worth looking at.
Ok sure will take a look at this series once posted...
Regards,
Kedar.
>
> Andrew
Powered by blists - more mailing lists