net: mdio-uclass: add dm_eth_phy_connect helper function
authorAlex Marginean <alexandru.marginean@nxp.com>
Mon, 25 Nov 2019 15:15:12 +0000 (17:15 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:43 +0000 (09:47 -0600)
commit2f6245594e1f11db00efcaa5ac122918f019e0b4
tree1b8933734b1754fe0e5c1213913c0950370e1ecf
parenta5d32c37d9eec2f819273536a5600a0fbde09acb
net: mdio-uclass: add dm_eth_phy_connect helper function

The function connects an ethernet device to a PHY using DT information.
This API is only available for eth devices with an associated device tree
node.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
include/miiphy.h
net/mdio-uclass.c