All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from the FPGA
@ 2026-12-01  8:29 James Clark
  2026-12-01  8:29 ` [PATCH net-next 1/2] dt-bindings: net: altr,socfpga-stmmac: add altr,f2h-ptp-aux-trig James Clark
  2026-12-01  8:29 ` [PATCH net-next 2/2] net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from the FPGA James Clark
  0 siblings, 2 replies; 3+ messages in thread
From: James Clark @ 2026-12-01  8:29 UTC (permalink / raw)
  To: Maxime Chevallier, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Richard Cochran
  Cc: netdev, devicetree, linux-stm32, linux-arm-kernel

On Agilex 5, an external timestamp trigger driven by the FPGA design
never reaches the EMAC. The EMAC's trigger input takes its signal from
an HPS pin unless a bit in the System Manager selects the FPGA fabric.
Nothing in the kernel sets that bit.

Patch 1 adds a boolean device tree property for an EMAC whose trigger
is driven by the FPGA design. Patch 2 makes dwmac-socfpga set the bit
from it.

Tested on a Terasic DE25-Nano, where the trigger can only come from the
FPGA. External timestamp events on XGMAC cores also need a separate
series, which will follow.

I used an LLM coding assistant to help prepare these patches.

James Clark (2):
  dt-bindings: net: altr,socfpga-stmmac: add altr,f2h-ptp-aux-trig
  net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from
    the FPGA

 .../bindings/net/altr,socfpga-stmmac.yaml       | 10 ++++++++++
 .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 17 +++++++++++++++++
 2 files changed, 27 insertions(+)


base-commit: d35a725a7c96504f7deece4dfaa83bee6a98fe0e
-- 
2.56.1


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

end of thread, other threads:[~2026-12-01  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01  8:29 [PATCH net-next 0/2] net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from the FPGA James Clark
2026-12-01  8:29 ` [PATCH net-next 1/2] dt-bindings: net: altr,socfpga-stmmac: add altr,f2h-ptp-aux-trig James Clark
2026-12-01  8:29 ` [PATCH net-next 2/2] net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from the FPGA James Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.