[PATCH v1] net: fec: Add stop mode support on i.MX8DX/i.MX8QP

Francesco Dolcini posted 1 patch 1 month, 2 weeks ago
There is a newer version of this series
drivers/net/ethernet/freescale/fec_main.c | 2 ++
1 file changed, 2 insertions(+)
[PATCH v1] net: fec: Add stop mode support on i.MX8DX/i.MX8QP
Posted by Francesco Dolcini 1 month, 2 weeks ago
From: Francesco Dolcini <francesco.dolcini@toradex.com>

Add additional machines that requires communication to the SC firmware
to set the GPR bit required for stop mode support.

NXP i.MX8DX (fsl,imx8dx) is a low end version of i.MX8QXP (fsl,imx8qxp),
while NXP i.MX8QP (fsl,imx8qp) is a low end version of i.MX8QM
(fsl,imx8qp).

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 drivers/net/ethernet/freescale/fec_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index c685a5c0cc51..2eacc35e0b8a 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -1334,7 +1334,9 @@ fec_restart(struct net_device *ndev)
 static int fec_enet_ipc_handle_init(struct fec_enet_private *fep)
 {
 	if (!(of_machine_is_compatible("fsl,imx8qm") ||
+	      of_machine_is_compatible("fsl,imx8qp") ||
 	      of_machine_is_compatible("fsl,imx8qxp") ||
+	      of_machine_is_compatible("fsl,imx8dx") ||
 	      of_machine_is_compatible("fsl,imx8dxl")))
 		return 0;
 
-- 
2.47.3
Re: [PATCH v1] net: fec: Add stop mode support on i.MX8DX/i.MX8QP
Posted by Francesco Dolcini 1 month, 2 weeks ago
On Tue, Dec 23, 2025 at 05:33:27PM +0100, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@toradex.com>
> 
> Add additional machines that requires communication to the SC firmware
> to set the GPR bit required for stop mode support.
> 
> NXP i.MX8DX (fsl,imx8dx) is a low end version of i.MX8QXP (fsl,imx8qxp),
> while NXP i.MX8QP (fsl,imx8qp) is a low end version of i.MX8QM
> (fsl,imx8qp).
> 
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>

Whoops. I missed the destination branch, this is for net-next, sorry.

Francesco
Re: [PATCH v1] net: fec: Add stop mode support on i.MX8DX/i.MX8QP
Posted by Andrew Lunn 1 month, 2 weeks ago
On Tue, Dec 23, 2025 at 05:36:29PM +0100, Francesco Dolcini wrote:
> On Tue, Dec 23, 2025 at 05:33:27PM +0100, Francesco Dolcini wrote:
> > From: Francesco Dolcini <francesco.dolcini@toradex.com>
> > 
> > Add additional machines that requires communication to the SC firmware
> > to set the GPR bit required for stop mode support.
> > 
> > NXP i.MX8DX (fsl,imx8dx) is a low end version of i.MX8QXP (fsl,imx8qxp),
> > while NXP i.MX8QP (fsl,imx8qp) is a low end version of i.MX8QM
> > (fsl,imx8qp).
> > 
> > Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
> 
> Whoops. I missed the destination branch, this is for net-next, sorry.

Please repost next year when net-next reopens.

Thanks
	Andrew