Re: [PATCH v6 5/5] net: ti: icssg-prueth: am65x SR2.0 add 10M full duplex support

From: Jacob Keller
Date: Wed Aug 23 2023 - 15:27:34 EST




On 8/23/2023 4:32 AM, MD Danish Anwar wrote:
> From: Grygorii Strashko <grygorii.strashko@xxxxxx>
>
> For AM65x SR2.0 it's required to enable IEP1 in raw 64bit mode which is
> used by PRU FW to monitor the link and apply w/a for 10M link issue.
> Note. No public errata available yet.
>
> Without this w/a the PRU FW will stuck if link state changes under TX
> traffic pressure.
>
> Hence, add support for 10M full duplex for AM65x SR2.0:
> - add new IEP API to enable IEP, but without PTP support
> - add pdata quirk_10m_link_issue to enable 10M link issue w/a.
>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>
> Signed-off-by: Vignesh Raghavendra <vigneshr@xxxxxx>
> Reviewed-by: Roger Quadros <rogerq@xxxxxxxxxx>
> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>
> Signed-off-by: MD Danish Anwar <danishanwar@xxxxxx>
> ---

I should really checkout the regmap stuff :D It looks neat.

Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>