On 2/28/24 4:05 PM, Roger Quadros wrote:
> 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: Roger Quadros <rog...@kernel.org>
> ---
> Changelog:
> 
> v2: no change
> ---
>  drivers/net/ti/Kconfig          |   8 ++
>  drivers/net/ti/Makefile         |   3 +-
>  drivers/net/ti/am65-cpsw-nuss.c | 190 ++------------------------------------
>  drivers/net/ti/cpsw_mdio.c      | 198 
> +++++++++++++++++++++++++++++++++++-----
>  drivers/net/ti/cpsw_mdio.h      |   2 +
>  5 files changed, 196 insertions(+), 205 deletions(-)
> 

Tested dhcp and ping in u-boot on J721S2-EVM, SK-AM62B
Tested-by: Ravi Gunasekaran <r-gunaseka...@ti.com>

-- 
Regards,
Ravi

Reply via email to