πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21405

Re: [PATCH net-next v16 03/13] dt-bindings: dpll: add SiTime SiT95316 clock generator

#21405
From: netdev-bot+sashiko
Date: Tue, 24 Nov 2026 00:40
94 lines
11146 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 binding uses the shared dpll-pin.yaml property
  `supported-frequencies-hz` with 32-bit cells, and nothing states the…

--

dt-bindings: dpll: add SiTime SiT95316 clock generator

This adds a DT binding for the SiTime SiT95316/SiT95317 DPLL clock
generators. It describes the XO, reset, interrupt, supplies and the
input/output pins on top of dpll-device.yaml, and it adds a MAINTAINERS
entry for the binding.

> diff --git a/Documentation/devicetree/bindings/dpll/sitime,sit95316.yaml b/Documentation/devicetree/bindings/dpll/sitime,sit95316.yaml
> new file mode 100644
> index 0000000000000..5356a73a80620
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/dpll/sitime,sit95316.yaml

[ ... ]

> +  input-pins:
> +    type: object
> +    patternProperties:
> +      "^pin@[0-9a-f]+$":
> +        type: object
> +        properties:
> +          reg:
> +            maximum: 7
> +
> +          supported-frequencies-hz:
> +            maxItems: 1
> +            description:
> +              The rate wired to the input, in Hz, as a single entry.  An
> +              input runs at the rate the board feeds it and has no
> +              frequency to select, so that entry is what the pin reports
> +              as its frequency.

[Severity: Low]
Should this binding state the cell width of supported-frequencies-hz?

The shared definition in dpll-pin.yaml has no type:

  supported-frequencies-hz:
    description: List of supported frequencies for this pin, expressed in Hz.

The only other binding that uses it, microchip,zl30731.yaml, writes it
as 64-bit:

    supported-frequencies-hz = /bits/ 64 <1>;

zl3073x_pin_props_get() in drivers/dpll/zl3073x/prop.c reads it with
fwnode_property_count_u64().

The example in this binding uses 32-bit cells. The sit9531x driver added
later in this series reads the property with fwnode_property_count_u32()
and fwnode_property_read_u32_array().

A DTB does not record cell width. So a sitime node written the zl30731
way, for example:

    supported-frequencies-hz = /bits/ 64 <10000000>;

would be read by the sit9531x driver as two u32 entries, [0, 10000000].

For an input pin, the driver takes the pin rate from freqs[0], so the
pin would report 0 Hz. For an output pin, an extra 0 Hz entry would be
advertised. Output pins have no maxItems limit, so validation would not
catch that case.

Could the encoding be stated here, for example with a uint32-array $ref
or a note in the per-pin description? Or could the type be fixed once in
dpll-pin.yaml, so the two DPLL bindings don't use different encodings
without saying so?

[ ... ]

> +                pin@0 {
> +                    reg = <0>;
> +                    label = "clkin0";
> +                    connection-type = "ext";
> +                    supported-frequencies-hz = <10000000>;
> +                };

[ ... ]

-- 
Sashiko AI review Β· https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261119225752.41846-1-arouhi%40sitime.com
Technical Details
Message-ID: <179548083810.3135.6950210693310283023@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369878-linux-kernel-netdev=dewy.ru
References: <20261119225752.41846-4-arouhi@sitime.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369878-linux-kernel-netdev=dewy.ru
From: netdev-bot+sashiko@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v16 03/13] dt-bindings: dpll: add SiTime SiT95316
 clock generator
Date: Tue, 24 Nov 2026 00:40:38 +0000
Organization: Usenet Network
Message-ID: <179548083810.3135.6950210693310283023@kernel.org>
References: <20261119225752.41846-4-arouhi@sitime.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="4017619"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:GzsnaCukQ/jCag5otRGFUCoIRKM= sha256:WEkN7BMYhWm+ruK373QTiSZC8JkB8ArLixE3XYyjGoQ=
	sha1:Ig+yVOvv3iMx7v0TVvWsNIphS1Y= sha256:JGXwm4NdOqosk9B16Ih9IAqXLPVkp/QoWOgdS3/nh4w=
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 4B1C1125DC8; Tue, 24 Nov 2026 03:41:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.4
X-Spam-Status: No, score=-3.4 tagged_above=-9999 required=6.31
	tests=[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, URIBL_BLOCKED=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 frPUjVtB43jF;
	Tue, 24 Nov 2026 03:40:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-369878-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 8BE88125DC7; Tue, 24 Nov 2026 03:40:51 +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 B64542B9FA; Tue, 24 Nov 2026 00:40:42 +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=1795480840;
	b=Qv4PKaIw/L0lZTdaq4OBJDwU9WBkm8qGoXk50HXbJY+unYRQXnX3Wa3DwzRX+VBxPrnB
	 T9TdDD7FCFMG6wFx9vYiAF8H6Lg8bRm3OkFXziH7/5W81+INogaE/Qepe42FTC0jPwyE8
	 39TRyoxYSaHzfq9GnXfZEAEGnDbhyNb4SLV6yqLHK1QcqWZCHKkz2mHXiqxGPhIgQtzbZ
	 C2ZhAlUCrdOEPmqzNUlEJGXCQ75zBrYrrvLLrAV3/8Pmx5+LbX9++Un1rQHhWE2QupYU2
	 JP+fTj15xJZ5ucMVdZjOBaNWoA1p7qQyzg6KGt7k5ITlMzb5ZAarbIQNBbmIKOc0vBg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795480840;
	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=oXOmEymlLhGvxYC2DcRRg7okeq4lsC29GL/NI09EpkY=;
	b=cW7evm6RHwunI8tXx/wEw/QRP+9IDPmcq7IBIyEizNeg+xkejKj2MghmblQaiN6I0Nlz
	 3jFx+U6uPkUfkg3nsy9xIoV2rwB56SJ1MLAwlXAiHfgRuwfbleKg91UsiVTQSAWncSQ93
	 jRDAT6ij3bSKtTarSkF5XmIzIM3ZzWV/C1OmXgPG1yJbFvAT775O6y21UpZFg3DeiwpwP
	 neTlWBv+lZGGF14GQ3sL4IE3zP9Z3p842z/ipgsv06jITx4ia5bpGPI6/kzl6JxNUWKVr
	 Me1YJmgT+3F8sH7HhFCn0WvuIOkX6IeO3r8y2sj4Ofn2TEbD1gTF91qNFvtwQP+YlKQ==
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=HTYF3AsR;
	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 B1390606A68C;
	Tue, 24 Nov 2026 00:40:40 +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=HTYF3AsR
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=1795480839;
	b=L9N4DV1e0CoPxTM1ML8OA+HfjFuTFRN4BsjdmxCxpF+KeKPRhYOtOFgO3wvG850mOCSQ
	 ubbEYZ/cEcKHMA4lbPrD/LQVgDu5+fkSOMtHWgXGYJTZo7gKO59XdDjmbibpvyrLIYSNs
	 U0Gekju3zsv11JcnOAZNhUF7sCvtHIvsCplbcq4FEK6vt8QMVrIzA3FyqsbOWMyPdNvPy
	 9NA5ycyK004rBmVbo5wCyAhIDK8uwC919klYzWvQaquYXgvIIuCmQ1rBeG+Ia2Uv+eaEF
	 duRf3F0lWrGOv2Ocsbm+8e5mo6vrq9fA5s5/onGoWbtEAUlT4lqTA11KWUITZsscOFw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795480839;
	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=oXOmEymlLhGvxYC2DcRRg7okeq4lsC29GL/NI09EpkY=;
	b=JYnFr3LznX4O5CiR32fmXPnZTqQfGzFo1ppqq8agV5vGRes9TOb6G+ukwYiOqNXc1bRD
	 Dcgu6mvb5kw+YP1U0+ykLbIAGwpvAUesgw5bdpoGHy0lLBZIg2r2rI2U09kQBJeg/YYgw
	 07VCr2BYHfG8lEEnEeXxacC3LwOffXVzjZqXKdLBN8PLtpHVACf7skyTfW7bT5jVpURl6
	 oo4UutFCRmK1RsH7ICSn8rUbdGcOwK4YtgXD8gDr5GLe3fgIU4OpbmjAoEFwIvY48QkKC
	 EeR+qmb/7nxuNwMfL0satOagiGwtmh0zmBGNCQfEGDvSAbcA5KaQUKqwnd8EBt5Pzdg==
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=HTYF3AsR;
	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 D2CFD606A334;
	Tue, 24 Nov 2026 00:40:39 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7ED871F00A3E;
	Tue, 24 Nov 2026 00:40:38 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795480839;
	bh=oXOmEymlLhGvxYC2DcRRg7okeq4lsC29GL/NI09EpkY=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=HTYF3AsRtmc/f6w8/EZq4nxnX0H+E1oCRlbnkZcF+snmfAZKxYGXwCX0ouZPJlqDC
	 FERvRKr4/apXJn2AtF76PYDi1fzRreCBgzl5psb981lI3kbcPwgxuGIoWuOqNw6QBF
	 Q6eyD7jj8aqmh2PXWxNrINNzumQZW5UWzLfAAwCTkMdu/nqyJ/8P2mp0Db/b7KbSsS
	 P0H0Ba+hmdRRDrk0mVAUTfIfz6UEqbRVMjQRUFs6KU/AAXEEatveHKX7AvJkINwOvu
	 h7Z9Eywf0WUyFxoMdErPPPDJz7uoq8txXXhtc1TXquChqNKI97525Xc8zJTTNIRMb8
	 wOgWSPjZSGYKg==
X-Cc: jiri@resnulli.us, vadim.fedorenko@linux.dev,
 arkadiusz.kubalewski@intel.com, ivecera@redhat.com, kuba@kernel.org,
 pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
 cjubran@nvidia.com, Oleg.Zadorozhnyi@devoxsoftware.com,
 prabhakar.mahadev-lad.rj@bp.renesas.com, devicetree@vger.kernel.org,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-In-Reply-To: <20261119225752.41846-4-arouhi@sitime.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