net/fsl: acpize xgmac_mdio
authorCalvin Johnson <calvin.johnson@oss.nxp.com>
Mon, 22 Jun 2020 15:05:33 +0000 (20:35 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:35:15 +0000 (20:35 -0700)
commit229f4bb47512ece7b8ca0bd1a097fee30886b9b8
treefdd069898e8190f42ea0855806a2d4205c0e17e9
parent0cc8fecf041d3e5285380da62cc6662bdc942d8c
net/fsl: acpize xgmac_mdio

Add ACPI support for xgmac MDIO bus registration while maintaining
the existing DT support.

The function mdiobus_register() inside of_mdiobus_register(), brings
up all the PHYs on the mdio bus and attach them to the bus.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Calvin Johnson <calvin.johnson@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/xgmac_mdio.c