[PATCH 1/2] net: ti: cpsw-mdio: Add workaround for errata i2329

Tom Rini trini at konsulko.com
Fri Oct 7 17:48:11 CEST 2022


On Thu, Sep 22, 2022 at 03:21:23PM +0530, Ravi Gunasekaran wrote:

> In certain TI SoCs, on the 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.
> 
> More details about the errata i2329 and the workaround is available in:
> https://www.ti.com/lit/er/sprz487a/sprz487a.pdf
> 
> Add implementation to disable MDIO state machine, configure MDIO in manual
> mode and provide software MDIO read and writes via MDIO bitbanging. Allow
> the MDIO to be initialized based on the need for manual mode.
> 
> Signed-off-by: Ravi Gunasekaran <r-gunasekaran at ti.com>
> Reviewed-by: Ramon Fried <rfried.dev at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221007/81acfe3c/attachment.sig>


More information about the U-Boot mailing list