From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Andrew Lunn <andrew@lunn.ch>, David Miller <davem@davemloft.net>
Cc: Florian Fainelli <f.fainelli@gmail.com>, netdev <netdev@vger.kernel.org>
Subject: Re: [PATCHv2 net-next] dsa: Support multiple MDIO busses
Date: Sun, 9 Aug 2015 15:39:25 +0300 [thread overview]
Message-ID: <55C749FD.8050303@cogentembedded.com> (raw)
In-Reply-To: <1439083745-14169-1-git-send-email-andrew@lunn.ch>
Hello.
On 8/9/2015 4:29 AM, Andrew Lunn wrote:
> When using a cluster of switches, some topologies will have an MDIO
> bus per switch, not one for the whole cluster. Allow this to be
> represented in the device tree, by adding an optional mii-bus property
> at the switch level.
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
>
> v2: Fix documentation, which placed the properties documentation in
> the wrong place.
> ---
> Documentation/devicetree/bindings/net/dsa/dsa.txt | 5 +++++
> net/dsa/dsa.c | 12 +++++++++++-
> 2 files changed, 16 insertions(+), 1 deletion(-)
> diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
> index f0b4cd72411d..fc06f4a7c788 100644
> --- a/Documentation/devicetree/bindings/net/dsa/dsa.txt
> +++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt
> @@ -32,6 +32,10 @@ A switch child node has the following optional property:
> the presence and/or size of a connected EEPROM,
> otherwise optional.
>
> +- mii-bus : Should be a phandle to a valid MDIO bus device node.
Why not call it "mdio-bus"?
> + This mii-bus will be used in preference to the
> + global dsa,mii-bus defined above, for this switch.
> +
> A switch may have multiple "port" children nodes
>
> Each port children node must have the following mandatory properties:
[...]
MBR, Sergei
next prev parent reply other threads:[~2015-08-09 12:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-09 1:29 [PATCHv2 net-next] dsa: Support multiple MDIO busses Andrew Lunn
2015-08-09 12:39 ` Sergei Shtylyov [this message]
2015-08-09 14:20 ` Andrew Lunn
2015-08-09 17:26 ` Sergei Shtylyov
2015-08-09 17:35 ` Andrew Lunn
2015-08-09 18:33 ` Florian Fainelli
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=55C749FD.8050303@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.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.