[PATCH 0/2] Implement workaround for errata i2329

Ravi Gunasekaran r-gunasekaran at ti.com
Thu Sep 22 11:51:22 CEST 2022


This patch series adds the MDIO workaround for the errata i2329.

On certain TI SoC's CPSW and ICSS peripherals, there is a possibility
that the MDIO interface returns corrupt data on MDIO reads or writes
incorrect data on MDIO writes. There is also a possibility for the
MDIO interface to become unavailable until the next peripheral reset.

The workaround is to configure the MDIO in manual mode and disable the
MDIO state machine and emulate the MDIO protocol by reading and writing
appropriate fields in MDIO_MANUAL_IF_REG register of the MDIO controller
to manipulate the MDIO clock and data pins.

Ravi Gunasekaran (2):
  net: ti: cpsw-mdio: Add workaround for errata i2329
  net: ti: am65-cpsw-nuss: Enable MDIO manual mode

 drivers/net/ti/am65-cpsw-nuss.c |  24 ++-
 drivers/net/ti/cpsw.c           |   3 +-
 drivers/net/ti/cpsw_mdio.c      | 255 +++++++++++++++++++++++++++++++-
 drivers/net/ti/cpsw_mdio.h      |   2 +-
 drivers/net/ti/keystone_net.c   |   3 +-
 5 files changed, 279 insertions(+), 8 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list