net: axienet: add support for standard phy-mode binding
authorAlvaro G. M <alvaro.gamez@hazent.com>
Mon, 17 Jul 2017 07:12:28 +0000 (09:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 15:51:57 +0000 (08:51 -0700)
commitee06b1728b95643668e40fc58ae118aeb7c1753e
treed4864bc4af0c07c4996624982fceef6905e5d8fd
parenta288855151546d1026c8f94728084c1173126a01
net: axienet: add support for standard phy-mode binding

Keep supporting proprietary "xlnx,phy-type" attribute and add support for
MII connectivity to the PHY.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Alvaro Gamez Machado <alvaro.gamez@hazent.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/xilinx_axienet.txt [new file with mode: 0644]
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c