net: mdio-uclass: add dm_phy_find_by_ofnode() helper
authorMarek Behún <marek.behun@nic.cz>
Wed, 27 Apr 2022 10:41:49 +0000 (12:41 +0200)
committerStefan Roese <sr@denx.de>
Wed, 4 May 2022 05:05:51 +0000 (07:05 +0200)
commit00b1bad961fff51db71573f5fc6e4e35b47381b2
tree5d5a53b7a8c0058b05ccd8a2d9d70972dbbb9279
parenta2b2542992a96662740a39aad66e173a857dff2a
net: mdio-uclass: add dm_phy_find_by_ofnode() helper

Add helper to resolve PHY node from it's ofnode via DM MDIO subsystem.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
include/miiphy.h
net/mdio-uclass.c