]> git.baikalelectronics.ru Git - uboot.git/commit
net: phy: Bind ETH_PHY uclass driver to each new PHY
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 30 May 2023 22:51:26 +0000 (00:51 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 10 Jun 2023 11:34:05 +0000 (13:34 +0200)
commitc3ab3bea19322fa7f164a301c377e44834d7a272
tree5f5aa688ca367107f3481b13a4809cd7b82d8cea
parent5e7049b8df6f6d5121f160066338c213ff7664a6
net: phy: Bind ETH_PHY uclass driver to each new PHY

In case a new PHY is created and DM_ETH_PHY is enabled, bind a
generic PHY driver from ETH_PHY uclass to the PHY to have a
matching DM representation of that PHY.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/phy/ethernet_id.c