[PATCH net-next 0/8] net: dsa: mv88e6xxx: misc probe improvements

Vivien Didelot
2016-06-09T00:45:22Z

This patchset cleans a bit both legacy and the new MDIO probing functions by
extracting common code and adding helpers.

Then, thanks to the new probing model allowing switch chips to be true Linux
devices, a device node can explicit the switch model in the tree and thus
allows a more robust probing through the MDIO bus.

Vivien Didelot (8):
net: dsa: mv88e6xxx: fix style issues
net: dsa: mv88e6xxx: remove redundant assignments
net: dsa: mv88e6xxx: use already declared variables
net: dsa: mv88e6xxx: do not increment bus refcount
net: dsa: mv88e6xxx: add switch register helpers
net: dsa: mv88e6xxx: add chip detection helper
net: dsa: mv88e6xxx: explicit compatible devices
net: dsa: mv88e6xxx: fail on mismatching probe

Documentation/devicetree/bindings/net/dsa/dsa.txt | 6 +-
.../devicetree/bindings/net/dsa/marvell.txt | 19 ++-
arch/arm/boot/dts/vf610-zii-dev-rev-b.dts | 6 +-
drivers/net/dsa/mv88e6xxx.c | 189 +++++++++++++--------
4 files changed, 140 insertions(+), 80 deletions(-)

--
2.8.3