Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1435434

RE: [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii converter

From Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com>
Newsgroups linux.kernel
Subject RE: [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii converter
Date 2016-07-01 17:40 +0200
Message-ID <rQ8HU-8mD-35@gated-at.bofh.it> (permalink)
References <rQ07D-39G-9@gated-at.bofh.it> <rQ8ox-8fN-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii converter Kedareswara rao Appana <appana.durga.rao@xilinx.com> - 2016-07-01 08:30 +0200
  [RFC PATCH 1/2] net: ethernet: xilinx: Add gmii2rgmii converter support Kedareswara rao Appana <appana.durga.rao@xilinx.com> - 2016-07-01 08:30 +0200
    Re: [RFC PATCH 1/2] net: ethernet: xilinx: Add gmii2rgmii converter  support Florian Fainelli <f.fainelli@gmail.com> - 2016-07-01 17:10 +0200
      RE: [RFC PATCH 1/2] net: ethernet: xilinx: Add gmii2rgmii converter  support Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> - 2016-07-01 17:30 +0200
  Re: [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii  converter Florian Fainelli <f.fainelli@gmail.com> - 2016-07-01 17:10 +0200
    RE: [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii  converter Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> - 2016-07-01 17:30 +0200
  Re: [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii  converter Andrew Lunn <andrew@lunn.ch> - 2016-07-01 17:20 +0200
    RE: [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii  converter Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> - 2016-07-01 17:40 +0200

csiph-web