[PATCH v3 2/2] net: stmmac: dwmac-imx: use platform specific reset for imx93 SoCs

Fabio Estevam festevam at gmail.com
Fri Mar 31 14:07:38 PDT 2023


Hi Shenwei,

On Fri, Mar 31, 2023 at 5:58 PM Shenwei Wang <shenwei.wang at nxp.com> wrote:
>
> The patch addresses an issue with the reset logic on the i.MX93 SoC, which
> requires configuration of the correct interface speed under RMII mode to
> complete the reset. The patch implements a fix_soc_reset function and uses
> it specifically for the i.MX93 SoCs.
>
> Signed-off-by: Shenwei Wang <shenwei.wang at nxp.com>
> ---
>  .../net/ethernet/stmicro/stmmac/dwmac-imx.c   | 29 ++++++++++++++++++-
>  1 file changed, 28 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c
> index ac8580f501e2..3dfd13840535 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c
> @@ -19,9 +19,9 @@
>  #include <linux/pm_wakeirq.h>
>  #include <linux/regmap.h>
>  #include <linux/slab.h>
> -#include <linux/stmmac.h>
>
>  #include "stmmac_platform.h"
> +#include "common.h"

These changes in the header seem to be unrelated.

Apart from that:

Reviewed-by: Fabio Estevam <festevam at gmail.com>



More information about the linux-arm-kernel mailing list