dsa: Support multiple MDIO busses
authorAndrew Lunn <andrew@lunn.ch>
Sat, 8 Aug 2015 15:09:14 +0000 (17:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Aug 2015 21:25:02 +0000 (14:25 -0700)
commit6bc6d0a88179b732b9a5e40e05099dc219d1b3cb
tree06ca8d36ecf28a6319ce7bd9f1f6f57b14929c9f
parent966bce38e7fdb75eedaec90e40e4d22b9fbce79f
dsa: Support multiple MDIO busses

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. The old platform_device method of instantiation
supports this already, so only the device tree binding needs extending
with an additional optional phandle.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/dsa.txt
net/dsa/dsa.c