๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14940

Re: [PATCH net-next 1/3] dt-bindings: mfd: syscon: add ti,am654-gtc

#14940
From: netdev-bot+sashiko
Date: Thu, 12 Nov 2026 07:25
80 lines
11279 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.

Low priority / nit picks for your consideration:

- [Low] The new compatible "ti,am654-gtc"
  (Documentation/devicetree/bindings/mfd/syscon.yaml, line 134) is namedโ€ฆ
- [Low] The subject line "dt-bindings: mfd: syscon: add ti,am654-gtc"
  starts the description after the prefix with a lowercase "add".

--

dt-bindings: mfd: syscon: add ti,am654-gtc

This adds a ti,am654-gtc compatible to the generic syscon binding. It is
for the CFG0 register frame of the TI K3 Global Timebase Counter. The CPTS
driver writes GTC_CFG0_PUSHEVT in that frame to pick the counter bit the
GTC exports as its push event, which provides hardware cross-timestamps.

> dt-bindings: mfd: syscon: add ti,am654-gtc

[Severity: Low]
This isn't a bug, but MFD subjects normally capitalize the description
after the prefix. Recent commits to syscon.yaml do this, for example:

  dt-bindings: mfd: syscon: Add ESWIN EIC7700 compatible

Should this be "dt-bindings: mfd: syscon: Add ti,am654-gtc"?

> diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
> index 80ff0e1caca22..b1030f11b2dbf 100644
> --- a/Documentation/devicetree/bindings/mfd/syscon.yaml
> +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
> @@ -131,6 +131,7 @@ properties:
>                - ti,am625-dss-oldi-io-ctrl
>                - ti,am62p-cpsw-mac-efuse
>                - ti,am654-dss-oldi-io-ctrl
> +              - ti,am654-gtc

[Severity: Low]
Is ti,am654-gtc the right name for this node? The commit message says it
describes only "the CFG0 register frame" of the GTC. The compatible,
though, is named after the whole GTC IP.

The GTC has more than one register frame. k3-am62l.dtsi maps a
0x34000-byte window for it:

arch/arm64/boot/dts/ti/k3-am62l.dtsi:
    ranges = <0x00 0x00a80000 0x00 0x00a80000 0x00 0x00034000>, /* GTC */

The generic syscon schema allows only one register region and no extra
properties:

  reg:
    maxItems: 1
  [ ... ]
unevaluatedProperties: false

So a node with this compatible can never describe the other GTC frames
or resources.

The syscon.yaml description also says syscon is for registers that are
"not cohesive enough to represent as any specific type of device". The
GTC is a specific counter IP, and PUSHEVT is one of its own functions.

Compatibles become DT ABI once merged. A full GTC binding added later
would then need a different name for the same IP.

Would a frame-specific name such as ti,am654-gtc-cfg0, or a dedicated GTC
binding, describe the hardware more accurately?

The ti,gtc-push property in ti,k3-am654-cpts.yaml, added later in the
series, also describes its target as only the GTC CFG0 syscon. No later
patch in the series changes syscon.yaml, so the naming is the same at the
end of the series.

-- 
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/cover.1794284248.git.jjc%40jclark.com
Technical Details
Message-ID: <179446830222.2199510.13606408467624966277@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361562-linux-kernel-netdev=dewy.ru
References: <42bbc4a03679958f2ed4e195acea99fb57c68fd6.1794284248.git.jjc@jclark.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361562-linux-kernel-netdev=dewy.ru
From: netdev-bot+sashiko@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 1/3] dt-bindings: mfd: syscon: add ti,am654-gtc
Date: Thu, 12 Nov 2026 07:25:02 +0000
Organization: Usenet Network
Message-ID: <179446830222.2199510.13606408467624966277@kernel.org>
References: <42bbc4a03679958f2ed4e195acea99fb57c68fd6.1794284248.git.jjc@jclark.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1036565"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:10nAdOyfmg/okzCNl2UYa3dxZng= sha256:qMDiNdeCp4TPUehDckLGtf+FT6Jz0QovhxqkynEad3w=
	sha1:oxe+hiCA64Zli82MiTpvOC3tIew= sha256:PNZxmOERmpSWIVFGStCE8y+oRI+Outq/rqXSXOK6lAA=
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 70FED11413A; Thu, 12 Nov 2026 10:49:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Status: No, score=-2.301 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001,
	DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	DKIM_VALID_EF=-0.1, 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=kernel.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 ffEwn1h137KM;
	Thu, 12 Nov 2026 10:49:03 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-361562-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 1E651114105; Thu, 12 Nov 2026 10:48:53 +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 4E7F5104A19; Thu, 12 Nov 2026 07:25:15 +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=1794468305;
	b=r7+PyBCaowSyUtPq4xv5+CwnYy2G/RYek170L9z89j7I2s59Q2SExL3h9gejNO+/6Bzr
	 soiduwc3JUvsJN1unWLIqnSYCFEb9Gt3A0w5ytbh74db/LhSQkC5tNi7DeM1Jet8+mjtX
	 frh+d0jKWDCzKWcpdkh6f2+6U5IU2ap2+kXJFOpCjxCqgbywJP9dcSg9kM51e3ENjOIcd
	 Qaqbks+5FA972+PLwKeS1nTGIXNJvdak84WAwC4eYqTm2VnlwCj/jpmLoOggNNZ2NSVwT
	 VRBdQfmS/ZYSuIfAzW44XABv03E3YEP5KhHUMHLD+FkJlXbj24eyeEUVXvqh8UXzA9Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794468305;
	h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc:
	 Date:Message-ID:In-Reply-To:References:X-sashiko-severity:
	 Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version;
	bh=a1xEK6Aga3yjCNS1Hmlu8sGRBKzLE3yolmU5IVLWK9g=;
	b=YHIUPbJGyHzAkzYpQygmJyV0JKgiMTZKIFFQmf4Rk0gE0HbgECNBW70D2d66S3b5PkVM
	 wFKKK48lBPwMzFL5PAJCwi01vz4VVelEw8txG+tXDsdFaa5TzA7RS6KKtxEdGKg/toqaU
	 1lmkGL9KjtPwEf+ge5T5LEqnFHn2tza6aEjgtGqKrSsigZOFGWOaXyBTr3UlKuA3UzpIA
	 nFZ2YeQGskOxO8agKKLpB+sDlljPObuxyC9AttXq3jDDHMShSzh/FPaZ+Tu7wQycAkKpQ
	 Kz7pHNSWdvOXZUwQyu2Z6CLGWu7O/AcHmLhweoHu5kvgG6MJGCaEYMoDEGPOaDyHKLQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="jYd/fAZz";
	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 9652C606A890;
	Thu, 12 Nov 2026 07:25:05 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=jYd/fAZz
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794468304;
	b=Mv/gbbXAM8hd5g1DwmAKR4cxe/iWe9jE3QlUfTv/l5Iw9iAx7jokjv0ZL8e8gIA4AIaC
	 DJbkgXWUeHD86J7VJvT8KJfsfiNyDD0mMdGBVUIUKnIq8LLna09xz21FJb4ojPwY+xElW
	 5A5qLAy1CSQE8pdQ1MkORFNnmJUVM4XcvdcAPeGvyQHYTisCMa7qG5K16CcWsaAb4MsCl
	 KhVWjeLVyAt/J3W7dPBV8ka8ITg+fHB8gZK/RDwoanQ5Wch+3w8TWDy7YJQvhfmvxDnEf
	 wru6447LqOchH95DYn23DSqQHfcPe/L37deig+ob1xoT8SWO4UpUHJAL/nUbhL67qkQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794468304;
	h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID:
	 In-Reply-To:References:X-sashiko-severity:Content-Type:
	 Content-Transfer-Encoding:MIME-Version;
	bh=a1xEK6Aga3yjCNS1Hmlu8sGRBKzLE3yolmU5IVLWK9g=;
	b=iQqUyTCzqqOYxKe+ZzAyL7dRvByOdGmLM0gqkqX9xXh+DBZG9Nb9b/6MI+OZjKgUKvQE
	 2PrVW70dqQ9gnq8x0+kG9irx9VPw649MVkxxYTDXZ4p3nvXUFd9JMKbyfMMsDnuDLj5bJ
	 nBK8C/ahNDy6b502LZyKLK5mLQCKK3XHe3sNMLH8gS/couo/VYo7cgq9LC2cM+R12t6PB
	 3+La3er7oLpb6o/e1jO6UmOkFrndyAsnr3Qy7mqbKa1DJpNtnV4LfNKxtzSFSKFnXkqpg
	 hGBbEAAxCcYFdbSctBo2gCekOn45YnB9dJjM7KI3uaGfCeGFchh5OaTQI1OczcM7yRA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="jYd/fAZz";
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4233606A33D;
	Thu, 12 Nov 2026 07:25:04 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCABA1F00A05;
	Thu, 12 Nov 2026 07:25:02 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794468304;
	bh=a1xEK6Aga3yjCNS1Hmlu8sGRBKzLE3yolmU5IVLWK9g=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=jYd/fAZzm3pNLz3fQRYz76G0ehETIQ1m4H5F5RwgD5a5V/lt8BdhrdeqEUQ8DrKzx
	 5Lm/FRO0U6X7Onjr+NZLtQHmdJ9ja0FHhIy1RkskBrSOcRr9vNkmTVZspK4JLV4uMt
	 8/eIzPHtw+eHGdO3q2Gfnz5uYplSF2TLUk4eAHssQV2zNdjMRbOOESIz1I5njrPCdZ
	 nzChP00C8o3u/dr9voat0JXLcVqm7c/t1+V3g7dM5lTjv9/vIW3ciP2Qfe23xM5xyO
	 kPhovEsTMClfGYhNs51SrAFMd9/+pKnPuHSym9kHcY7uil/x+RAvJ8MhFoRVMngQN2
	 cGxWUKLdAT/cA==
X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com, robh@kernel.org,
 krzk+dt@kernel.org, conor+dt@kernel.org, lee@kernel.org, s-vadapalli@ti.com,
 rogerq@kernel.org, bigeasy@linutronix.de, martin.kaistra@linutronix.de,
 vadim.fedorenko@linux.dev, r-sharma3@ti.com, robertcnelson@gmail.com,
 nm@ti.com, vigneshr@ti.com, c-vankar@ti.com, netdev@vger.kernel.org,
 devicetree@vger.kernel.org, mfd@lists.linux.dev, linux-kernel@vger.kernel.org,
 linux-arm-kernel@lists.infradead.org
X-In-Reply-To: <42bbc4a03679958f2ed4e195acea99fb57c68fd6.1794284248.git.jjc@jclark.com>
X-sashiko-severity: Low
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