From: David Daney <david.s.daney@gmail.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: David Daney <david.daney@cavium.com>,
David Daney <ddaney@caviumnetworks.com>,
linux-mips@linux-mips.org, linux-kernel@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
ralf@linux-mips.org
Subject: Re: [PATCH 2/3] netdev/of/phy: Add MDIO bus multiplexer support.
Date: Wed, 14 Sep 2011 21:16:10 -0700 [thread overview]
Message-ID: <4E717C0A.5050905@gmail.com> (raw)
In-Reply-To: <CACxGe6tA6D9JVf0_K-JAGnKcQmDmD=1ytqqYb6or-KjP9uZNxg@mail.gmail.com>
On 09/14/2011 05:51 PM, Grant Likely wrote:
>
>
> On Aug 31, 2011 2:01 PM, "David Daney" <david.daney@cavium.com
> <mailto:david.daney@cavium.com>> wrote:
> >
> > This patch adds a somewhat generic framework for MDIO bus
> > multiplexers. It is modeled on the I2C multiplexer.
> >
>
[...]
>
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/net/mdio-mux.txt
> > @@ -0,0 +1,132 @@
> > +Common MDIO bus multiplexer/switch properties.
> > +
> > +An MDIO bus multiplexer/switch will have several child busses that are
> > +numbered uniquely in a device dependent manner. The nodes for an MDIO
> > +bus multiplexer/switch will have one child node for each child bus.
> > +
> > +Required properties:
> > +- parent-bus : phandle to the parent MDIO bus.
>
> As discussed, I like mdio-parent-bus.
>
> > +
> > +Optional properties:
> > +- Other properties specific to the multiplexer/switch hardware.
> > +
> > +Required properties for child nodes:
> > +- #address-cells = <1>;
> > +- #size-cells = <0>;
> > +- cell-index : The sub-bus number.
>
> Use reg, not cell-index. That is what it is there for. And add the
> appropriate #address/size-cells in the parent.
>
> I've not reviewed the implementation, but with the changes. I'm okay
> with the binding.
>
Thanks for the prompt reply Grant.
I will rework this with the binding changes and send a new version soon.
David Daney
next prev parent reply other threads:[~2011-09-15 4:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-31 20:01 [PATCH 0/3] netdev/of/phy: MDIO bus multiplexer support David Daney
2011-08-31 20:01 ` David Daney
2011-08-31 20:01 ` [PATCH 1/3] netdev/of/phy: New function: of_mdio_find_bus() David Daney
2011-08-31 20:01 ` David Daney
2011-08-31 20:01 ` [PATCH 2/3] netdev/of/phy: Add MDIO bus multiplexer support David Daney
2011-08-31 20:01 ` David Daney
2011-09-09 23:22 ` Andy Fleming
2011-09-13 23:07 ` Kumar Gala
2011-09-13 23:07 ` Kumar Gala
2011-09-13 23:23 ` David Daney
2011-09-13 23:23 ` David Daney
2011-09-14 20:42 ` Kumar Gala
2011-09-14 20:42 ` Kumar Gala
2011-09-14 20:42 ` Kumar Gala
2011-09-14 21:40 ` Device tree property names for MDIO bus multiplexer. Was: " David Daney
2011-09-15 0:41 ` Grant Likely
2011-09-15 0:41 ` Grant Likely
2011-09-15 0:51 ` Grant Likely
2011-09-15 0:51 ` Grant Likely
2011-09-15 4:16 ` David Daney [this message]
2011-08-31 20:01 ` [PATCH 3/3] netdev/of/phy: Add MDIO bus multiplexer driven by GPIO lines David Daney
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=4E717C0A.5050905@gmail.com \
--to=david.s.daney@gmail.com \
--cc=davem@davemloft.net \
--cc=david.daney@cavium.com \
--cc=ddaney@caviumnetworks.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=netdev@vger.kernel.org \
--cc=ralf@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.