]> git.dujemihanovic.xyz Git - u-boot.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)
commit68a4d15061097ef4938b8e4f93af15286aac81ec
tree5f5aa688ca367107f3481b13a4809cd7b82d8cea
parent495fc04b6d24f3d4cb1661c85e2da1a7fa35ac92
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