From: sashiko-bot@kernel.org
To: evon.chiam@altera.com
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH 2/5] dt-bindings: clock: altr,agilex72-clkmgr: add Agilex72 clock manager binding
Date: Thu, 06 Aug 2026 09:34:08 +0000 [thread overview]
Message-ID: <20260806093409.4D3D51F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <39f067c31125b43d9d4ee92cd02828e894de3f45.1786006669.git.evon.chiam@altera.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The clock manager binding omits the `clocks` and `clock-names` properties, failing to properly model external hardware inputs.
--
--- Patch [2]: [PATCH 2/5] dt-bindings: clock: altr,agilex72-clkmgr: add Agilex72 clock manager binding ---
commit 99e14dc36681e2c2df411ac60959380ed8376f54
Author: Chiam, Evon <evon.chiam@altera.com>
dt-bindings: clock: altr,agilex72-clkmgr: add Agilex72 clock manager binding
Adds the device tree binding and clock ID header for the Altera SoCFPGA
Agilex72 clock manager.
> diff --git a/Documentation/devicetree/bindings/clock/altr,agilex72-clkmgr.yaml b/Documentation/devicetree/bindings/clock/altr,agilex72-clkmgr.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/altr,agilex72-clkmgr.yaml
[ ... ]
> +properties:
> + compatible:
> + const: altr,agilex72-clkmgr
> +
> + reg:
[Severity: Medium]
Should this properties block declare the clocks and clock-names properties?
Because additionalProperties is set to false, any device tree attempting to
properly link the external reference clocks to the clkmgr node via standard
phandles will be rejected by dt_binding_check.
[ ... ]
> +examples:
> + - |
> + /* External reference clocks supplied to the clock manager */
> + clocks {
> + cb_intosc_div2_clk: cb-intosc-div2-clk {
> + #clock-cells = <0>;
[ ... ]
> + clkmgr: clock-controller@915c000 {
> + compatible = "altr,agilex72-clkmgr";
> + reg = <0x915c000 0x1000>,
> + <0x915e000 0x1000>,
> + <0x915f000 0x1000>,
> + <0x9160000 0x1000>;
> + reg-names = "clkmgr", "gppll0", "gppll1", "gppll2";
> + #clock-cells = <1>;
> + };
> +...
[Severity: Medium]
Does this example accurately reflect the hardware topology?
The external reference clocks are defined just above this node, but the
clkmgr node does not consume them. While older bindings relied on global
fixed-clock lookups by name, newer schemas typically declare their
external clock inputs to support accurate topological representation and
potential parent clock power management.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1786006669.git.evon.chiam@altera.com?part=2
next prev parent reply other threads:[~2026-08-06 9:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-06 9:25 [PATCH 0/5] clk: socfpga: add Agilex72 clock manager support evon.chiam
2026-08-06 9:25 ` [PATCH 1/5] dt-bindings: arm: altera: fix Agilex72 compatible vendor prefix evon.chiam
2026-08-06 9:33 ` sashiko-bot
2026-08-12 2:49 ` Rob Herring
2026-08-06 9:25 ` [PATCH 2/5] dt-bindings: clock: altr,agilex72-clkmgr: add Agilex72 clock manager binding evon.chiam
2026-08-06 9:34 ` sashiko-bot [this message]
2026-08-06 9:25 ` [PATCH 3/5] clk: socfpga: agilex72: add clock manager driver for Agilex72 evon.chiam
2026-08-06 9:38 ` sashiko-bot
2026-08-10 17:42 ` Brian Masney
2026-08-06 9:25 ` [PATCH 4/5] arm64: dts: altera: move Agilex72 DT and use altr prefix evon.chiam
2026-08-06 9:40 ` sashiko-bot
2026-08-06 9:25 ` [PATCH 5/5] arm64: dts: altera: agilex72: add clock manager support evon.chiam
2026-08-06 9:40 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260806093409.4D3D51F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=evon.chiam@altera.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.