From: sashiko-bot@kernel.org
To: "Michal Simek" <michal.simek@amd.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 3/5] dt-bindings: clock: Move xlnx,zynqmp-clk to its own schema
Date: Wed, 03 Jun 2026 15:34:04 +0000 [thread overview]
Message-ID: <20260603153405.50DAD1F00893@smtp.kernel.org> (raw)
In-Reply-To: <23d848e29176706548612c4a0751481d46176f11.1780499520.git.michal.simek@amd.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The dt-bindings example in `xlnx,versal-clk.yaml` fails schema validation (`dt_binding_check`) because it incorrectly pairs an `xlnx,zynqmp-firmware` parent with an `xlnx,versal-clk` clock controller.
--
commit eb45bdb29d194f45db74a8a016c6af5c112a380b
Author: Michal Simek <michal.simek@amd.com>
dt-bindings: clock: Move xlnx,zynqmp-clk to its own schema
This commit moves the ZynqMP clock controller binding to a dedicated
xlnx,zynqmp-clk.yaml schema, separating it from the Versal bindings. It
updates the xlnx,zynqmp-firmware.yaml schema to enforce the appropriate
clock-controller child node based on the selected firmware compatibility.
> diff --git a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
> index 680082c29f016..72af37cdb103b 100644
> --- a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
> +++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
[ ... ]
> @@ -113,10 +112,14 @@ allOf:
> const: xlnx,zynqmp-firmware
> then:
> properties:
> + clock-controller:
> + $ref: /schemas/clock/xlnx,zynqmp-clk.yaml#
[Severity: Low]
Will this new rule cause the example in xlnx,versal-clk.yaml to fail
dt_binding_check?
The remaining example in
Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml defines a
clock-controller with compatible = "xlnx,versal-clk" under a firmware
node with compatible = "xlnx,zynqmp-firmware":
firmware {
zynqmp_firmware: zynqmp-firmware {
compatible = "xlnx,zynqmp-firmware";
...
versal_clk: clock-controller {
compatible = "xlnx,versal-clk";
Because this new conditional rule enforces that an xlnx,zynqmp-firmware
parent must have an xlnx,zynqmp-clk child, the xlnx,versal-clk example
might now be invalid. Does the example need to be updated to use
compatible = "xlnx,versal-firmware" to match the child controller?
> pinctrl:
> $ref: /schemas/pinctrl/xlnx,zynqmp-pinctrl.yaml#
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1780499520.git.michal.simek@amd.com?part=3
next prev parent reply other threads:[~2026-06-03 15:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-03 15:12 [PATCH v3 0/5] clock: versal-clk: Fix Versal NET clock binding and switch to CCF Michal Simek
2026-06-03 15:12 ` [PATCH v3 1/5] dt-bindings: firmware: xilinx: Add missing example for ZynqMP Michal Simek
2026-06-03 15:30 ` Conor Dooley
2026-06-03 15:12 ` [PATCH v3 2/5] dt-bindings: clock: versal-clk: Fix mio_clk index range in clock-names pattern Michal Simek
2026-06-03 15:24 ` sashiko-bot
2026-06-03 15:33 ` Conor Dooley
2026-06-03 15:35 ` Michal Simek
2026-06-03 16:08 ` Conor Dooley
2026-06-03 15:12 ` [PATCH v3 3/5] dt-bindings: clock: Move xlnx,zynqmp-clk to its own schema Michal Simek
2026-06-03 15:34 ` sashiko-bot [this message]
2026-06-03 15:34 ` Conor Dooley
2026-06-03 15:12 ` [PATCH v3 4/5] dt-bindings: clock: versal-clk: Fix Versal NET clock validation Michal Simek
2026-06-03 15:12 ` [PATCH v3 5/5] arm64: versal-net: Switch Versal NET to firmware clock interface Michal Simek
2026-06-03 15:47 ` 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=20260603153405.50DAD1F00893@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=michal.simek@amd.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.