From: sashiko-bot@kernel.org
To: "Bhargav Joshi" <j.bhargav.u@gmail.com>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2] dt-bindings: clock: ti,da850-pll: Convert to DT schema
Date: Thu, 23 Jul 2026 16:50:22 +0000 [thread overview]
Message-ID: <20260723165022.83D811F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260723-ti-pll-v2-1-cdc5e559a77d@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The YAML conversion fails to enforce the legacy binding requirement that `ti,da850-pll0` must have two clocks (`clksrc` and `extclksrc`).
--
--- Patch [1]: [PATCH v2] dt-bindings: clock: ti,da850-pll: Convert to DT schema ---
commit b42ff860694a3d7f4cabbc240cd8dff47c5f7fc0
Author: Bhargav Joshi <j.bhargav.u@gmail.com>
dt-bindings: clock: ti,da850-pll: Convert to DT schema
Convert TI da850-pll binding from legacy text to dt schema.
Link: https://lore.kernel.org/r/20260717-ti-pll-v1-1-f6f9ba8c9b5e@gmail.com
> diff --git a/Documentation/devicetree/bindings/clock/ti/davinci/ti,da850-pll.yaml b/Documentation/devicetree/bindings/clock/ti/davinci/ti,da850-pll.yaml
> new file mode 100644
> index 0000000000000..c6563290a702b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/ti/davinci/ti,da850-pll.yaml
[ ... ]
> + clocks:
> + minItems: 1
> + items:
> + - description: Primary reference clock input
> + - description: External clock source
> +
> + clock-names:
> + minItems: 1
> + items:
> + - const: clksrc
> + - const: extclksrc
[ ... ]
> +allOf:
> + - if:
> + properties:
> + compatible:
> + const: ti,da850-pll1
> + then:
> + properties:
> + clocks:
> + maxItems: 1
> + clock-names:
> + maxItems: 1
> + ti,clkmode-square-wave: false
> + auxclk: false
[Severity: Medium]
Does this conversion correctly enforce the legacy requirement for
ti,da850-pll0?
The text binding required two clocks (clksrc and extclksrc) for
ti,da850-pll0. While the allOf block correctly restricts ti,da850-pll1 to
maxItems: 1, it doesn't enforce minItems: 2 for ti,da850-pll0.
Could incomplete device tree nodes for ti,da850-pll0 with only one clock
silently pass schema validation?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260723-ti-pll-v2-1-cdc5e559a77d@gmail.com?part=1
next prev parent reply other threads:[~2026-07-23 16:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 16:41 [PATCH v2] dt-bindings: clock: ti,da850-pll: Convert to DT schema Bhargav Joshi
2026-07-23 16:50 ` sashiko-bot [this message]
2026-07-26 15:22 ` David Lechner
2026-08-03 21:19 ` Rob Herring (Arm)
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=20260723165022.83D811F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=j.bhargav.u@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox