All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Michal Simek" <michal.simek@amd.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: clock: Move xlnx,zynqmp-clk to its own schema
Date: Fri, 29 May 2026 14:34:23 +0000	[thread overview]
Message-ID: <20260529143423.9AFED1F00893@smtp.kernel.org> (raw)
In-Reply-To: <8e9163806c6f6858cca9afcbdf63599ced3422fe.1780063921.git.michal.simek@amd.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Splitting the `xlnx,zynqmp-clk` binding into a new schema breaks validation because the parent firmware schema still references the old file.
--

commit 1e02d44e7b2b8c89538f05376475e81433856e26
Author: Michal Simek <michal.simek@amd.com>

dt-bindings: clock: Move xlnx,zynqmp-clk to its own schema

The ZynqMP clock controller binding shares only #clock-cells with the
Versal bindings. Move it to a dedicated xlnx,zynqmp-clk.yaml schema.

> diff --git a/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml b/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml
> index bef109d163a82..12d060c39bfc4 100644
> --- a/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml
> +++ b/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml
> @@ -17,9 +17,7 @@ description: |
>  properties:
>    compatible:
>      oneOf:
> -      - enum:
> -          - xlnx,versal-clk
> -          - xlnx,zynqmp-clk
> +      - const: xlnx,versal-clk

[Severity: Low]
Does this change break schema validation for the parent firmware node?

The firmware binding at
Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
still validates its clock-controller child node using a reference to
/schemas/clock/xlnx,versal-clk.yaml#.

Since xlnx,zynqmp-clk is removed from this schema, will dtbs_check now fail
for device trees like arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi that
define the clock-controller under the firmware node?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1780063921.git.michal.simek@amd.com?part=1

  reply	other threads:[~2026-05-29 14:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-29 14:12 [PATCH v2 0/3] clock: versal-clk: Fix Versal NET clock binding and switch to CCF Michal Simek
2026-05-29 14:12 ` [PATCH v2 1/3] dt-bindings: clock: Move xlnx,zynqmp-clk to its own schema Michal Simek
2026-05-29 14:34   ` sashiko-bot [this message]
2026-05-29 14:12 ` [PATCH v2 2/3] dt-bindings: clock: versal-clk: Fix Versal NET clock validation Michal Simek
2026-05-29 16:38   ` Conor Dooley
2026-05-29 14:12 ` [PATCH v2 3/3] arm64: zynqmp: Switch Versal NET to firmware clock interface Michal Simek
2026-05-29 14:59   ` 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=20260529143423.9AFED1F00893@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.