Hello, This series aims to add the xSMI support (also called xMDIO) to the mvmdio driver. The xSMI interface complies with the IEEE 802.3 clause 45 and is used by 10GbE devices. On 7k and 8k (as of now), such an interface is found and is used by Ethernet controllers.
Patches 1-3 are cosmetic cleanups. Patches 4-6 are prerequisites to the xSMI support. Patches 7-9 add the xSMI support to the mvmdio driver, and a node is added both in the cp110 slave and master device trees. This was tested on an Armada 8040 mcbin, as well as on both the Armada 7040 DB and the Armada 8040 DB to ensure the SMI interface was still working. Thanks, Antoine Antoine Tenart (9): net: mvmdio: reorder headers alphabetically net: mvmdio: use tabs for defines net: mvmdio: use GENMASK for masks net: mvmdio: move the read valid check into its own function net: mvmdio: introduce an ops structure net: mvmdio: put the poll intervals in the private structure net: mvmdio: add xmdio support dt-bindings: orion-mdio: document the new xmdio compatible arm64: marvell: dts: add xmdio nodes for 7k/8k .../devicetree/bindings/net/marvell-orion-mdio.txt | 8 +- .../boot/dts/marvell/armada-cp110-master.dtsi | 7 + .../arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 7 + drivers/net/ethernet/marvell/Kconfig | 6 +- drivers/net/ethernet/marvell/mvmdio.c | 200 +++++++++++++++++---- 5 files changed, 184 insertions(+), 44 deletions(-) -- 2.9.4