This patchset addresses the following issues, 1. hot-plug issue on the SGMII 1G interface - by adding a driver for MDIO management 2. fixes the kernel crash when the driver loaded as an kernel module - by fixing hardware cleanups and rearrange kernel API calls Signed-off-by: Iyappan Subramanian <isubramanian@xxxxxxx> Tested-by: Matthias Brugger <mbrugger@xxxxxxxx> --- v2: Address review comments from v1 - Fixed patch 1 compilation error - Fixed mdio@1f610000 xge0clk reference - Squashed dtb patches - Added PORT_OFFSET macro v1: - Initial version --- Iyappan Subramanian (5): drivers: net: xgene: MAC and PHY configuration changes drivers: net: xgene: Backward compatibility with older firmware drivers: net: phy: Add MDIO driver dtb: xgene: Add MDIO node drivers: net: xgene: Fix module load/unload crash arch/arm64/boot/dts/apm/apm-merlin.dts | 9 + arch/arm64/boot/dts/apm/apm-mustang.dts | 12 + arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 11 + arch/arm64/boot/dts/apm/apm-storm.dtsi | 38 +- drivers/net/ethernet/apm/xgene/Kconfig | 1 + drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 241 ++++++---- drivers/net/ethernet/apm/xgene/xgene_enet_hw.h | 19 +- drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 325 ++++++++----- drivers/net/ethernet/apm/xgene/xgene_enet_main.h | 36 +- drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c | 191 +++++++- drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.h | 8 + drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c | 66 ++- drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.h | 4 + drivers/net/phy/Kconfig | 7 + drivers/net/phy/Makefile | 1 + drivers/net/phy/mdio-xgene.c | 531 ++++++++++++++++++++++ drivers/net/phy/mdio-xgene.h | 140 ++++++ 17 files changed, 1373 insertions(+), 267 deletions(-) create mode 100644 drivers/net/phy/mdio-xgene.c create mode 100644 drivers/net/phy/mdio-xgene.h -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html