Article View: linux.kernel.netdev
Article #27301[PATCH net-next v2 1/2] dt-bindings: net: altr,socfpga-stmmac: add altr,f2h-ptp-aux-trig
From: James Clark
Date: Sat, 05 Dec 2026 08:50
Date: Sat, 05 Dec 2026 08:50
48 lines
12787 bytes
12787 bytes
On Agilex 5, the trigger input that an EMAC uses for external
timestamps, auxiliary snapshot trigger input 1, comes either from an
HPS pin or from the FPGA fabric. The ppstrig_sel bit of the EMAC's tsn
register in the System Manager selects which. Which one is right
depends on the board's FPGA design. On the Terasic DE25-Nano, the
trigger can only come from the FPGA.
Add a boolean property for an EMAC whose trigger input 1 is driven by
the FPGA design. As the FPGA design is often loaded at run time, the
property will usually be set by the overlay that goes with the design,
which has to be applied before the EMAC is probed.
Signed-off-by: James Clark <jjc@jclark.com>
---
.../devicetree/bindings/net/altr,socfpga-stmmac.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
index ce1bd5f2c470..d634920469e4 100644
--- a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
+++ b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
@@ -130,6 +130,14 @@ properties:
Should be the phandle to the emac splitter soft IP node if DWMAC
controller is connected an emac splitter.
+ altr,f2h-ptp-aux-trig:
+ type: boolean
+ description:
+ If present, indicates that the FPGA design drives auxiliary snapshot
+ trigger input 1 of the EMAC (ptp_aux_ts_trig_i[1], used for external
+ timestamps). Otherwise, the input is taken from the HPS I/O pin
+ multiplexer.
+
altr,f2h_ptp_ref_clk:
$ref: /schemas/types.yaml#/definitions/phandle
description:
@@ -196,6 +204,8 @@ allOf:
interrupt-names:
maxItems: 1
+ altr,f2h-ptp-aux-trig: false
+
dma-coherent: false
unevaluatedProperties: false
--
2.56.1
Technical Details
Message-ID:
<85ca7cc115d8eb9f17535707275f7163e1f236a9.1796460469.git.jjc@jclark.com>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377902-linux-kernel-netdev=dewy.ruReferences:
<cover.1796460469.git.jjc@jclark.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377902-linux-kernel-netdev=dewy.ru
From: jjc@jclark.com (James Clark)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v2 1/2] dt-bindings: net: altr,socfpga-stmmac: add altr,f2h-ptp-aux-trig
Date: Sat, 5 Dec 2026 15:50:31 +0700
Organization: Usenet Network
Message-ID: <85ca7cc115d8eb9f17535707275f7163e1f236a9.1796460469.git.jjc@jclark.com>
References: <cover.1796460469.git.jjc@jclark.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="2990789"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:nJ6WHA56ST3qiKIG7gLELms3dHU= sha256:URiQCdVG39GdcOCYyCRS6WV1jun34LH/1U3kyLoXEV8=
sha1:kwYvShAYUH5aZpTDpUE28LEVM3U= sha256:wW399sG/6OICLIV2bakk2/Jj7XroyhTUMP+wDdB88oQ=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id A35B7117DB8; Sat, 5 Dec 2026 11:51:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.199
X-Spam-Status: No, score=-3.199 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=jclark-com.20260707.gappssmtp.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id USmd-YvNUGpl;
Sat, 5 Dec 2026 11:50:58 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377902-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=jclark.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id CFC62117DB3; Sat, 5 Dec 2026 11:50:49 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 88D932E889; Sat, 5 Dec 2026 08:50:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796460646;
b=3HesL9dWVSZj8iAFlMvF97xBIH6zFNBPNklrd62QrN9KYPd/KwNKf6LXm/hksgjmAKOp
ckkUVP56t1tOs0aG4/HFRDCSIZYY/R3SUzZCnUSuXfMJ23K8r5pRZKgA0QMgs4v7T58mL
qB7zrKzEIcvwYR6a7sKEtM/hs8mf70eG4MSnEEcRGjY36jvxPgQqQEMzrYgk/pWXjdeiE
9P/NzpmAeQis4kXVpVyfBoli67b0cPsYsSCaHo0jlukofaLM5XbFtDhl42S90P+jtqI0A
P9CGzcgrpHN/5q4CrKDS/xsrFg/v9Ba9dgr/y50aEWS0i/8i6+vh/pI5wWBRCEHi/jg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796460646;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Transfer-Encoding;
bh=ZEurzUDELZZGg5ciJzOXR7aMBt5XeShFJMeWWJ7iaSY=;
b=JeRIQ4xNPB283ZLCctFsJk4Z9Cl4ud3NtY4NbCfywCqwQqB9fQg4nfgSRDuWkqf8vU4p
KNCQFcmnGvqR1eHGPPeYgssQ8abDoLHFqDvX9RDUAEzhUuQ3tcGV2Fkt8EMckwTIzdxQ9
IYIN4/qu+raKmQ9zDH1POtRhdU4SI9jqj9j9XxiDTHbomEwTGkArpTd3T5n5GksGxXOkz
rVJnQ1iPFXVcKCMHp6ZX6oh2xedXlBJNRzsqj3rvG2+0jTodtai+3OgRTJlzPX8KqjDjB
Hxvty5SVqEP8SIxkcXuev4PxPEFWaEIltVZDgVsY45ZU3RPmRu7HR0niGSW9XlDPxHg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=jclark-com.20260707.gappssmtp.com header.i=@jclark-com.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=QjhQdU7A;
dmarc=none header.from=jclark.com;
spf=pass smtp.mailfrom=jclark.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 1FC89606A33A;
Sat, 5 Dec 2026 08:50:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=jclark-com.20260707.gappssmtp.com header.i=@jclark-com.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=QjhQdU7A
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.214.179
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796460645;
b=jdwJJT4JuyrVurWf1zALBF5j9TkFf2/38teh0lZufnLIHQk3JkFoKgIvcG/Hwmjptd51
IMBmvIilK/SePaPiutCEAkebAFh7gUf0g8XvbSA1Z9nSHgdR6HIUcFgM+vZirl2eHp7LZ
ghEiMdiGyQYhKwGYFzQNhgxOfyLI6GxniQ9T1bZY4jseFxsYhJbsQcNa8iRAeejN3O5wF
nwCu7gzPmLasS7bQ04l3zLGxfArkwY6SSRteESq8svA52igzAvVNcGVi/xrLIYYn3Wv1j
eydjVhIPi2XV6CeqgCfx6L4iOb57Gu8Bbl/Q6gBkOW/4lbFn2QiujwhkcnvqC5vd4Fg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796460645;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
Content-Transfer-Encoding;
bh=ZEurzUDELZZGg5ciJzOXR7aMBt5XeShFJMeWWJ7iaSY=;
b=da6oCUT0SkJGzADmyWgZd39f4a7lIltbJ8Jv/E5/6eepmoKj9fMNkDMiX5rJMS69sBL0
nUgDTKpkNDPL0tUyBAJrxuyN8FsUOE8duC6apWNaQHwcq75h7h7zJDZXhrW+pWKj5DYzh
FvH9Uw0TsolcrPeaiamVOJlQnkHzdsCU50B1XS6DTdIfLssoagiKcWmNSFLJvBWNW5SlM
X0hrC1qBT5H2VjqgtV5ZFGtNcBzjTf5DFn2kO/0uOQOsFWJf46V6h86n4ccbOewgOUuAj
npy5FCfgUi+o56fF4PShDPN9mqVxVt+7s/kDfGxGLbKNqTdWXl3jp0/PKEbZy392bEw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=jclark.com;
spf=pass smtp.mailfrom=jclark.com;
dkim=pass header.d=jclark-com.20260707.gappssmtp.com header.i=@jclark-com.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=QjhQdU7A;
arc=none smtp.remote-ip=209.85.214.179
X-Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED435606A32F
for <netdev@vger.kernel.org>; Sat, 5 Dec 2026 08:50:44 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org ED435606A32F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=jclark.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jclark.com
X-Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-2f04b676219so12230425ad.0
for <netdev@vger.kernel.org>; Sat, 05 Dec 2026 00:50:44 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=jclark-com.20260707.gappssmtp.com; s=20260707; t=1796460644; x=1797065444; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=ZEurzUDELZZGg5ciJzOXR7aMBt5XeShFJMeWWJ7iaSY=;
b=QjhQdU7A/CVIt4UidX2U2vB/wDArV7bffF5Qk5aMxXlvkyo3nqxhOjUxR+F9ikMrLO
J0rD1Fb4tbOTvMO6xOfMwN1wNUuEhh+7iurBw6uYf3sh456kWsDIT5JNPOEpGrBtsxH5
QmqeAiuz4ZgM9sGSU4Cdga0WA3vnS7VHsuC0ZZ74GCmMFjrxVBXuBkru+u3vCv/QMWeV
iufdH7J5xSdUH5nFjM2BlVSaDWLPDQoEbfKSfzk9xgBiftM1U8zpJLuNA3quHjhNpymx
oqZOw1hjVMUp743f1WI46MhJXqTjqb4JQwzUfDUCMkGELlYZaunEbxh7QM5ff4vxnZbC
uwaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796460644; x=1797065444;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=ZEurzUDELZZGg5ciJzOXR7aMBt5XeShFJMeWWJ7iaSY=;
b=at7QV6ZKlxKETfTGECxWcBzeD2npJEkbo6IeDklltg+q9AnTN74cW7oebD11xG7q2k
wyNhTwt1ceiHcK2PvF1WPhYj0wfTLpdpM9TCxS+JcQ8BTYTmpQITf+pQgTMqrX9hjJG6
Zec344Ao3JMpFFiNZu+kvNOHzg/7BoEMb39t+UXpUDrSbBuTVE7VSP9WzY9MFgnmViLa
eGxA53cXkiH+mHkZBLye30Q6OoGdNXv5QuzNrn+UXlPyhFStMjxAksvt91n2evD/wFtB
O7W6yH0gIiOIjeO5DFrPi+mIEICrcncUDPI/hjw2Alx5dZxnBxfsjQqCYhc0Vj9rJB9T
WLKQ==
X-Gm-Message-State: AB4q+uFtopMBiX6OD++26uyIx+6xoj/Umh+JiZcvwt6FCJHqmbmaOKP+
/4HCZ6vCD75A8ueXKN86cUJdbSgLBY5WHp9e7zVFNKP4aV0DosqY0OvvMYZogvKpsQ==
X-Gm-Gg: AZFdTZfNG+qr/wiXRL7wHipE0QA0XkB4am/eOV3LkHTvmGM40y+3CbonIMXSVrCgxWb
5owuMajQyDe9IioOjcyAqunGDg59+f5KRHgf/IeBhth5TgKJMlj0b6k4y5uvXvSTr4/0ki9UgC/
iwN07QQFvAEsocpiyBGy0mzlcmAcYfsgGdOJsavhCF0oRYDsY5cKpNAh1H4fs53sjf/bfRau3r0
DIKD+bz8tTd0Mi6uF247C3qe/7w1VcCWJl0cYy8WkYy6Pq6+idRy8Z9BVctwM89fw2HUZ0Bco5i
Gl1kriAAXMHxnC0tjLihvA1gFqaban7QOswTanXrg2eDPRV+JpzXBqqX5mnBAALxl4kqee/evoB
Gdv9dh5oLD8oJHvv+iOe/P28Aim1RUHR+mPFiLoIZj0diXQa3MAY1sLMe9bRSFbM5wVeF//lP9K
7DVfPZQl2ircpZeYadk1ICE5bEK7DkgKyOZmMnLH3F43c8bx3pfU0tSaLoUMvKIlBL+ZeZBTG5E
R05J2SX6YSwJQ2M+b0sFZU9sucO1sTb6oF7Jdx5HO7c35E0gkNqbtx4kwSJlBQJuzuJoTYPxypx
QxaaREoNDfXck8Pl/cefAR2GvhgqCIPogtyjaVjxLUnqqSKLoiPF77SWg9mhsk0BX7yr0Pj9L2A
k1qJp4o5x7VJs+Qe3iXA=
X-Received: by 2002:a17:902:e542:b0:2e9:3dd2:a8fe with SMTP id d9443c01a7336-2f1ba12c5aemr45530145ad.21.1796460644272;
Sat, 05 Dec 2026 00:50:44 -0800 (PST)
X-Received: from cantal.lan ([58.136.231.126])
by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791d62bsm24884125ad.39.2026.12.05.00.50.39
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 05 Dec 2026 00:50:43 -0800 (PST)
X-Cc: netdev@vger.kernel.org,
devicetree@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org
X-Mailer: git-send-email 2.56.1
X-In-Reply-To: <cover.1796460469.git.jjc@jclark.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list