[PATCH 0/2] net: ti: am65-cpsw / cpsw-mdio: Switch to DM MDIO
Roger Quadros
rogerq at kernel.org
Mon Feb 19 16:33:27 CET 2024
Hi,
This converts cpsw-mdio into a proper Driver Model
driver and introduces the new Config symbol CONFIG_MDIO_TI_CPSW.
It also cleans up the am65-cpsw driver so it porperly uses
the DM PHY interface.
It does not convert the legacy cpsw and keystone-net drivers.
Tested on AM64-EVM and AM335x BeagleBone.
AM64-EVM network doesn't work at 1G but only at 100M. This
limitation exists prior to this patch.
CI tests: https://github.com/u-boot/u-boot/pull/491
Signed-off-by: Roger Quadros <rogerq at kernel.org>
---
Roger Quadros (2):
net: mdio: Handle bus level GPIO Reset
net: am65-cpsw: cpsw_mdio: Switch to proper DM_MDIO framework
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 +
include/phy.h | 7 ++
net/mdio-uclass.c | 37 +++++++-
7 files changed, 239 insertions(+), 206 deletions(-)
---
base-commit: e4013bcb10f604ec1dfe955634d57e1fc336b15f
change-id: 20240216-for-2024-07-am65-cpsw-mdio-e3c15b297442
Best regards,
--
Roger Quadros <rogerq at kernel.org>
More information about the U-Boot
mailing list