Skip to content

net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from the FPGA

James Clark linux-arm-kernel linux-devicetree netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: net: altr,socfpga-stmmac: add altr,f2h-ptp-aux-trigDocumentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml+10 -00 replies
2/2net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from the FPGAdrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+17 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from the FPGA

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

Signature · 1 line
2.56.1