]> 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)
commit07ede39a57398cfed6b4f0501d7525442ad37d47
tree06ca8d36ecf28a6319ce7bd9f1f6f57b14929c9f
parent4341a74dbcf86d62ef424517de258499ed696738
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