From: Florian Fainelli <f.fainelli@gmail.com>
To: Kedareswara rao Appana <appana.durga.rao@xilinx.com>,
appanad@xilinx.com, michal.simek@xilinx.com,
nicolas.ferre@atmel.com, punnaia@xilinx.com, anirudh@xilinx.com,
harinik@xilinx.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Andrew Lunn <andrew@lunn.ch>
Subject: Re: [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii converter
Date: Fri, 1 Jul 2016 08:04:19 -0700 [thread overview]
Message-ID: <57768673.2090103@gmail.com> (raw)
In-Reply-To: <1467354012-7364-1-git-send-email-appanad@xilinx.com>
Le 30/06/2016 23:20, Kedareswara rao Appana a écrit :
> This patch series does the following
> ---> Add support for gmii2rgmii converter.
> ---> Add support for gmii2rgmii converter in the macb driver.
>
> Earlier sent one RFC patch https://patchwork.kernel.org/patch/9186615/
> which includes converter related stuff also in macb driver.
> This patch series fixes this issue.
This still seems very adhoc and not completely explained. Can you
clarify how the gmmi2rgmii converter gets used?
Is the expectation that a MACB Ethernet adapter will be connected to a
RGMII PHY like this:
MACB <=> GMII2RGMII <=> RGMII PHY
MACB MDIO <===========> RGMII_PHY
and still have the ability to control both the PHY device's MDIO
registers and the GMII2RGMII converter and we need to make sure both
have matching settings, or is it something like this:
MACB <=> GMII2RGMII <=> RGMII PHY
MACB MDIO unconnected
and we lose the ability to query the PHY via MDIO?
As Nicolas pointed out, providing a binding documentation update may
help reviewers understand what is being accomplished here.
Thanks!
>
> Kedareswara rao Appana (2):
> net: ethernet: xilinx: Add gmii2rgmii converter support
> net: macb: Add gmii2rgmii phy converter support
>
> drivers/net/ethernet/cadence/macb.c | 21 ++++++-
> drivers/net/ethernet/cadence/macb.h | 3 +
> drivers/net/ethernet/xilinx/Kconfig | 7 ++
> drivers/net/ethernet/xilinx/Makefile | 1 +
> drivers/net/ethernet/xilinx/xilinx_gmii2rgmii.c | 76 +++++++++++++++++++++++
> include/linux/xilinx_gmii2rgmii.h | 24 +++++++
> 6 files changed, 131 insertions(+), 1 deletions(-)
> create mode 100644 drivers/net/ethernet/xilinx/xilinx_gmii2rgmii.c
> create mode 100644 include/linux/xilinx_gmii2rgmii.h
>
--
Florian
next prev parent reply other threads:[~2016-07-01 15:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-01 6:20 [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii converter Kedareswara rao Appana
2016-07-01 6:20 ` [RFC PATCH 1/2] net: ethernet: xilinx: Add gmii2rgmii converter support Kedareswara rao Appana
2016-07-01 15:00 ` Florian Fainelli
2016-07-01 15:21 ` Appana Durga Kedareswara Rao
2016-07-01 6:20 ` [RFC PATCH 2/2] net: macb: Add gmii2rgmii phy " Kedareswara rao Appana
2016-07-01 7:45 ` Nicolas Ferre
2016-07-01 9:02 ` Appana Durga Kedareswara Rao
2016-07-01 13:03 ` Nicolas Ferre
2016-07-01 13:07 ` Appana Durga Kedareswara Rao
2016-07-01 15:04 ` Florian Fainelli [this message]
2016-07-01 15:21 ` [RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii converter Appana Durga Kedareswara Rao
2016-07-01 15:13 ` Andrew Lunn
2016-07-01 15:29 ` Appana Durga Kedareswara Rao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57768673.2090103@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=anirudh@xilinx.com \
--cc=appana.durga.rao@xilinx.com \
--cc=appanad@xilinx.com \
--cc=harinik@xilinx.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
--cc=punnaia@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).