Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1426212
| Path | csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Florian Fainelli <f.fainelli@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH] net: macb: Add gmii2rgmii converter support |
| Date | Mon, 20 Jun 2016 07:40:02 +0200 |
| Message-ID | <rM06e-48L-5@gated-at.bofh.it> (permalink) |
| References | <rLZWx-45v-11@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:from:date:to:cc:message-id; bh=+WqGiNzEfjnLRn80V2rXoLv6aZ3LjIL0GWFocYfykP4=; b=nefimUM5IpAZqDnp/S2zkArR41/G5n7YS8QdLbYeViGUV2qJqHP1KLhjldHONG2F/1 SfLZSAdHJ8aHrx0LMrAytzAAE/BDkz7KOaOJbyioOImvF1oVhoJdXvsK0vaNkLJ33zTb Ml3rWFfry++C4uRWEPFousX9XjmvWB76QNfDomtMkK7hEksUFet/N6MIg2fhGkPkacpI hz4xZdezM+nWscDo6MkW8yO3kqLxU2qjbH1HNAFq7ci3THMlOA9xLJHMeqM4kcqR3YlG HLnWCMha+Ow+VICKrwJYm0UEg+qDtdWBKHfynQPvGg/2uncYW3qLNKCYarP4C39GvlRh LVDQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:from:date:to:cc:message-id; bh=+WqGiNzEfjnLRn80V2rXoLv6aZ3LjIL0GWFocYfykP4=; b=BfEbZOKN5wpoYros9ipPwCNmwCQHBufbKz9K8MK8mpoH8ViLVc9RR/9YHGyX+Vy6CF uiF2QSPRt6V3H70tDWNQfqJ5rD2V20lxbu5qbXjuCoJSJbJS4OS8BbsJeUfHuP2K+Q7S upnZi9kT9YYzHaI2JkYlT22m0hCG8JcE99UOWtoqG8DmmvKRX7lfvgLToK9kzv2PYF4G o2Eo8bCmhn1Eb8nMCnostBkZ6XhU76L2W8FcxsP/NiCj3MbsD/gIimhs4tQqJNyXMrGL GcQGefuZSIC2qoEaX4PboOFC7VZ4jVBsBym8mH0eKw2b+pb2VVmKcyucSc1oBCOQCtGt sKtQ== |
| X-Gm-Message-State | ALyK8tLsxR/tVpDnYOsbqwMWEbmudyyjusaaddXUuj1GjY20DAoL/SvFMAzGVRO2wX4pHg== |
| X-Received | by 10.157.8.225 with SMTP id 88mr8553847otf.157.1466401156888; Sun, 19 Jun 2016 22:39:16 -0700 (PDT) |
| User-Agent | K-9 Mail for Android |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 8bit |
| Content-Type | text/plain; charset=UTF-8 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 28 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn <andrew@lunn.ch> |
| X-Original-Date | Sun, 19 Jun 2016 22:39:04 -0700 |
| X-Original-Message-ID | <5F581884-194F-46BD-98E4-A3DAE17A2A7C@gmail.com> |
| X-Original-References | <1466400437-21277-1-git-send-email-appanad@xilinx.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1426212 |
Show key headers only | View raw
On June 19, 2016 10:27:17 PM MST, Kedareswara rao Appana <appana.durga.rao@xilinx.com> wrote: >This patch adds support for gmii2rgmii converter >in the macb driver. > >The GMII to RGMII IP core provides the >Reduced Gigabit Media Independent Interface >(RGMII) between Ethernet physical media devices >And the Gigabit Ethernet controller. >This core can switch dynamically between the >Three different speed modes of operation (10/100/1000 Mb/s). >MDIO interface is used to set operating speed of Ethernet MAC. > >Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com> >--- >--> Tried to include this Coverter support in the >PHY layer but it won't fit into the PHY framework as the >coverter won't have vaild vendor/Device id registers. >--> The Converter has only one register (16) that need's >to be programmed with the external phy negotiated speed. >--> The converter won't follow the Standard MII(ieee 802.3 clause 22). >--> Will appreciate if someone can help on adding this coverter support With the fixed PHY emulated PHY and registering a link_update callback (see drivers/net/dsa/bcm_sf2.c for an example), you could read specific registers which indicates link parameters and update the PHY device with these. How exactly is this converter working? -- Florian
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH] net: macb: Add gmii2rgmii converter support Kedareswara rao Appana <appana.durga.rao@xilinx.com> - 2016-06-20 07:30 +0200
Re: [RFC PATCH] net: macb: Add gmii2rgmii converter support Florian Fainelli <f.fainelli@gmail.com> - 2016-06-20 07:40 +0200
RE: [RFC PATCH] net: macb: Add gmii2rgmii converter support Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> - 2016-06-20 08:20 +0200
Re: [RFC PATCH] net: macb: Add gmii2rgmii converter support Joe Perches <joe@perches.com> - 2016-06-20 08:10 +0200
csiph-web