net: phy: Add MAC-IF driver for Microsemi PHYs.
authorRaju Lakkaraju <Raju.Lakkaraju@microsemi.com>
Mon, 19 Sep 2016 10:03:54 +0000 (15:33 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2016 08:39:23 +0000 (04:39 -0400)
commit1a21101d21d7ef056dfda1d7b843289e05ecd034
tree3fd3f817a3622d9a7ac5af7d2dfb7e2f83f86df6
parent1a9234e66eddb0f18447532ab3f12bd136473ed6
net: phy: Add MAC-IF driver for Microsemi PHYs.

All the review comments updated and resending for review.

This is MAC interface feature.
Microsemi PHY can support RGMII, RMII or GMII/MII interface between MAC and PHY.
MAC-IF function program the right value based on Device tree configuration.

Tested on Beaglebone Black with VSC 8531 PHY.

Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microsemi.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc.c