Skip to content
Commit be2eb3ad authored by Roger Quadros's avatar Roger Quadros Committed by Tom Rini
Browse files

net: am65-cpsw: cpsw_mdio: Switch to proper DM_MDIO framework



Add a new Kconfig symbol MDIO_TI_CPSW for the CPSW MDIO
driver and build it with proper DM support if enabled.

If MDIO_TI_CPSW is not enabled then we continue to
behave like before.

Clean up MDIO custom handling in am65-cpsw and use
dm_eth_phy_connect() to get the PHY.

Signed-off-by: default avatarRoger Quadros <rogerq@kernel.org>
Tested-by: default avatarRavi Gunasekaran <r-gunasekaran@ti.com>
parent a0e02c66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment