]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb59bc54ccc4029378c577981bb6c6f69620532b
tree06ca8d36ecf28a6319ce7bd9f1f6f57b14929c9f
parent925e56bd717fbc51dbc0463fa170fd77279811d1
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