public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2] net: fec: Add stop mode support on i.MX8DX/i.MX8QP
@ 2026-01-05 15:24 Francesco Dolcini
  2026-01-05 15:35 ` Andrew Lunn
  2026-01-07  1:20 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Francesco Dolcini @ 2026-01-05 15:24 UTC (permalink / raw)
  To: Wei Fang, Shenwei Wang, Clark Wang, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Francesco Dolcini, imx, netdev, linux-kernel

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,imx8qm).

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
v2: Fix i.MX8QM compatible in the commit message
v1: https://lore.kernel.org/all/20251223163328.139734-1-francesco@dolcini.it/
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-07  1:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 15:24 [PATCH net-next v2] net: fec: Add stop mode support on i.MX8DX/i.MX8QP Francesco Dolcini
2026-01-05 15:35 ` Andrew Lunn
2026-01-07  1:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox