Article View: linux.kernel.netdev
Article #184Re: [RFC PATCH v2 3/7] dt-bindings: net: amlogic,meson-dwmac: add amlogic,t7-dwmac
From: Neil Armstrong
Date: Wed, 07 Oct 2026 12:35
Date: Wed, 07 Oct 2026 12:35
104 lines
13807 bytes
13807 bytes
On 10/7/26 10:26, Lucas Tanure wrote: > The T7 has the same ethernet glue as the G12A, but the controller > reaches memory through a pipeline stage that this SoC inserts in the > bus path. That stage has a gate of its own, which no other member of > the family has, and nothing else in Linux claims it. It is therefore > switched off as unused, and the port can then no longer finish a > transfer. > > Describing it needs a fourth clock, and the fourth clock of the > existing list drives the timing adjustment logic, which the T7 never > uses. So the T7 gets a list of its own with the gate in that place, > under the name the SD and eMMC controllers already use. > > Assisted-by: LLM > Signed-off-by: Lucas Tanure <tanure@linux.com> > --- > .../bindings/net/amlogic,meson-dwmac.yaml | 47 +++++++++++++++++++ > 1 file changed, 47 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml > index 90ef79161ab1..96118b4d1560 100644 > --- a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml > @@ -23,6 +23,7 @@ select: > - amlogic,meson-gxbb-dwmac > - amlogic,meson-axg-dwmac > - amlogic,meson-g12a-dwmac > + - amlogic,t7-dwmac > required: > - compatible > > @@ -57,6 +58,47 @@ allOf: > - const: clkin1 > - const: timing-adjustment > > + # The T7 applies the RGMII RX delay through PRG_ETH1 and never enables the > + # timing adjustment logic, so it has no timing-adjustment clock. What it does > + # need is the gate of the pipeline stage the controller reaches DRAM through. > + - if: > + properties: > + compatible: > + contains: > + const: amlogic,t7-dwmac > + then: > + properties: > + clocks: > + items: > + - description: GMAC main clock > + - description: First parent clock of the internal mux > + - description: Second parent clock of the internal mux > + - description: > + clock of the pipeline stage inserted in the bus path between > + the controller and the DRAM. Without it, the controller cannot > + complete DMA transfers. > + > + clock-names: > + items: > + - const: stmmaceth > + - const: clkin0 > + - const: clkin1 > + - const: pipeline > + > + # Delay definitions for Meson8b and newer (including T7) > + - if: > + properties: > + compatible: > + contains: > + enum: > + - amlogic,meson8b-dwmac > + - amlogic,meson8m2-dwmac > + - amlogic,meson-gxbb-dwmac > + - amlogic,meson-axg-dwmac > + - amlogic,meson-g12a-dwmac > + - amlogic,t7-dwmac > + then: > + properties: > amlogic,tx-delay-ns: Do we still want to support the vendor property on t7 ? Neil > enum: [0, 2, 4, 6] > default: 2 > @@ -106,6 +148,7 @@ allOf: > contains: > enum: > - amlogic,meson-g12a-dwmac > + - amlogic,t7-dwmac > then: > properties: > rx-internal-delay-ps: > @@ -143,6 +186,10 @@ properties: > - amlogic,meson6-dwmac > - amlogic,meson8m2-dwmac > - const: snps,dwmac > + - items: > + - const: amlogic,t7-dwmac > + - const: snps,dwmac-5.10a > + - const: snps,dwmac > > reg: > items:
Technical Details
Message-ID:
<c70d918e-7944-4229-b997-7f07d924125a@linaro.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342332-linux-kernel-netdev=dewy.ruReferences:
<20261007082627.63807-1-tanure@linux.com> <20261007082627.63807-4-tanure@linux.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342332-linux-kernel-netdev=dewy.ru
From: neil.armstrong@linaro.org (Neil Armstrong)
Newsgroups: linux.kernel.netdev
Subject: Re: [RFC PATCH v2 3/7] dt-bindings: net: amlogic,meson-dwmac: add
amlogic,t7-dwmac
Date: Wed, 7 Oct 2026 14:35:43 +0200
Organization: Usenet Network
Message-ID: <c70d918e-7944-4229-b997-7f07d924125a@linaro.org>
References: <20261007082627.63807-1-tanure@linux.com>
<20261007082627.63807-4-tanure@linux.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="652220"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:51oCISYhvUPsKvrc6Oxxbg6dDF4= sha256:1lLozuO70ChwPgPaGUBz83SAYFuO9jJ/KCa7aps4nqI=
sha1:3P1Tf0N0ljUFyZXaqguCMHQz/J4= sha256:jl0IXahNkdESx6AFVxcRWWMbN+Jpbi28tISCeRvTUpg=
Content-Language: en-US, fr
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 89B0410F16C; Wed, 7 Oct 2026 16:24:10 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.951
X-Spam-Status: No, score=-1.951 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=linaro.org
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 3sPVqHgRdHYp;
Wed, 7 Oct 2026 16:24:07 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-342332-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linaro.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id 67FE910F169; Wed, 7 Oct 2026 16:24:04 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by tor.lore.kernel.org (Postfix) with ESMTP id BB9C237B55; Wed, 7 Oct 2026 12:36:07 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DABB46D2B0;
Wed, 7 Oct 2026 12:36:03 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MER5TZR1"
X-Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B6EA486417
for <netdev@vger.kernel.org>; Wed, 7 Oct 2026 12:35:50 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791376562; cv=none; b=KfV5Lm07geWKLZs4wfVhJDNXLqDim+UwTjbyZRHzY69cKYUMj6/Nyf/i6g+GOAQj/wG1WCmhjwejwk00X9CyDWdtrVMUNyf+bHSly+h+717o/LTm2gcVgDvbuLRa/toJ/ZhjBC5uA6CpRQQ3bLyZshY6H266UxEjrUybZmf/Kvg=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791376562; c=relaxed/simple;
bh=LG+u0ls6VzC7KKKN6T1gPPOh03a/2rcmPcFgIdyIVq0=;
h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References:
In-Reply-To:Content-Type; b=kClGZSLG7r5lDz4zda7mHQx1z/huwny7CCnBu9ca6UdtO5tYfy8myLxP7i42lBBky3oyyf+WDG9ktgpOATAq6Ulyd/AyN0vcZvWj+YkxDoq2vlxJZ7h2zX4W2Y0XG6qCA5CjHyJ/d1XMmaNmDi1wIvliyETD06Mf3XHs05lpWYI=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=MER5TZR1; arc=none smtp.client-ip=209.85.221.52
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org
X-Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-48c5358fc28so2408232f8f.0
for <netdev@vger.kernel.org>; Wed, 07 Oct 2026 05:35:50 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=linaro.org; s=google; t=1791376548; x=1791981348; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:in-reply-to:organization
:autocrypt:content-language:references:cc:to:subject:reply-to:from
:user-agent:mime-version:date:message-id:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=atVsgpDLAd3FCy/r5rwHewVKjgkttl9/HQ0eAY9dsQ8=;
b=MER5TZR16FnnX+q1KYf3/L+b18JwORaY3RZrf0y4tlJEPInEHPCiEH+X8trYqEPMbW
5bHmdl0Y2uqZzOlcFj2N91qj56OYkjsEuKpqt7RlA759t3ueMKMU638Zp6mVwDVH+Sfi
wlM3YwoorWKF/uTaovNFebYS4YKZPiXRlDO94mrUXWddwTRsIZ/HbrMt5yJRmRAjhsie
yFnVAWmiGqsBfMw6pDdjFjd0beElmjI+ojSSztNeyczipNvXVoOWcaVLWX4ItfkU9lRr
lqdVSXwRESbkLGsPrMSlWsJS/4Ag8FaPIFIJOz1/wj96VbPMWYg7wZWkVSAj7OPS9EAw
HLEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791376548; x=1791981348;
h=content-transfer-encoding:content-type:in-reply-to:organization
:autocrypt:content-language:references:cc:to:subject:reply-to:from
:user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to:content-type;
bh=atVsgpDLAd3FCy/r5rwHewVKjgkttl9/HQ0eAY9dsQ8=;
b=ylKb+8ww3jv5XJxF5O54/dGA4ouyqO49U7nJ/FhIy/k6gBUQsc8sbI+4BDixnbxs7j
a0+K04fyF4xWTg2Ui8MYIx1RJxbhExscMo1HqkKG7aaRu7HadKUym8g9EWtsN9VDYdkY
A2uDGhgatUwErbU8iFXA0m6nqYkKKGo1wY8GpyzmBTWmuK/mCzQQv1stgu8pZaF586w0
cMdw4k084i+x1iX6MQAowDl80kD+2LZAq58RLElHmPlOufSVWF8D+vTPSw/S+xcT0E0j
njh8P8TWPIWvUGnpE75lWYGDqI8iwSCV/OmjCr+CkZY7PAR4UNM7WcxsghpM7rAjcpzA
UcgA==
X-Gm-Message-State: AFuF++mhUvin8uDOKTjaX2iu1Qc654HztSrc2iGkNOhHbM1oGcf+C8V4
DP8hacmp6bXF9jiodGKwZP38P4hXy7UGSsn9KhXXUI28sotJc/aG6+SvKf3hEwIFma4=
X-Gm-Gg: AYBFou1Hq+zh9/67/5DPTeSTZUqUepaKar4DZbxs/7OaE0cymHuXy9YYy5OQcZWTMCN
UwSFX81hDjEZVTklKipXYMT603cMQ/QvnR9QzxLhoihSocNFneb7TqbDdsXZ4/4pxeu9JgSZQJF
4LG4BUyipmhb6Hx//dai704S3iSEscl+VLY9WUMix3naeRvvoIaAnhiYciM+BNfTZsQbbh6regg
9hqANVw2KKAs/L66oZrOVGisnBjmu6AJON/wLuO5rXpbAEKATJkg/3SL0qcHbjN3ULLLSR0rxY7
2bExHiUikt1aFH/KA9xcqI2NrU5SZ1sxo6awQ7mXMIfsvOBsA3nsgXcUvcLS2l0LsaJOccwk+GK
uOqjWloPGEUQl+3CwvgaM7gOOfj3hEgYD7kfPbKIgAgnHuqSSrMPLpZ4vYlKt24nkpx035TQVD4
YDyxVofoF8NC1xR9nFqzWL6/+xrlo4XK6WpSBTvVu63R401hjrqZmhnUrZZWNRpUE4nzvVcTUxV
/4jXjlA+LN1jBv/h/PND12oj0vNYhg=
X-Received: by 2002:a05:600c:8b54:b0:49c:fc6e:8caf with SMTP id 5b1f17b1804b1-4a18043c9b9mr34840155e9.19.1791376548113;
Wed, 07 Oct 2026 05:35:48 -0700 (PDT)
X-Received: from [192.168.151.46] (90-182-211-1.rcp.o2.cz. [90.182.211.1])
by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a1822af9d5sm37187375e9.15.2026.10.07.05.35.45
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Wed, 07 Oct 2026 05:35:46 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-User-Agent: Mozilla Thunderbird
X-Reply-To: Neil Armstrong <neil.armstrong@linaro.org>
X-Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org,
linux-kernel@vger.kernel.org
X-Autocrypt: addr=neil.armstrong@linaro.org; keydata=
xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP
GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4
BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9
qPV2k+KQ7q+aXavU5W+y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