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

* Re: [PATCH net-next v2] net: fec: Add stop mode support on i.MX8DX/i.MX8QP
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2026-01-05 15:35 UTC (permalink / raw)
  To: Francesco Dolcini
  Cc: Wei Fang, Shenwei Wang, Clark Wang, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Francesco Dolcini, imx,
	netdev, linux-kernel

On Mon, Jan 05, 2026 at 04:24:50PM +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,imx8qm).
> 
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

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

* Re: [PATCH net-next v2] net: fec: Add stop mode support on i.MX8DX/i.MX8QP
  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
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-01-07  1:20 UTC (permalink / raw)
  To: Francesco Dolcini
  Cc: wei.fang, shenwei.wang, xiaoning.wang, andrew+netdev, davem,
	edumazet, kuba, pabeni, francesco.dolcini, imx, netdev,
	linux-kernel

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon,  5 Jan 2026 16:24:50 +0100 you 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,imx8qm).
> 
> [...]

Here is the summary with links:
  - [net-next,v2] net: fec: Add stop mode support on i.MX8DX/i.MX8QP
    https://git.kernel.org/netdev/net-next/c/3f049b653450

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[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