From: sashiko-bot@kernel.org
To: "Udaya Kiran Challa" <challauday369@gmail.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: clock: via,vt8500: Convert to DT Schema
Date: Wed, 20 May 2026 03:02:01 +0000 [thread overview]
Message-ID: <20260520030201.A6E721F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260520025131.17772-1-challauday369@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] Missing default value for `divisor-mask` property in the DT schema.
- [Low] Example node uses a deprecated name for `fixed-clock`, which will cause schema validation warnings.
--
commit 5bd68ac4f98e8a51a2fee1d1c82c98071336d42f
Author: Udaya Kiran Challa <challauday369@gmail.com>
dt-bindings: clock: via,vt8500: Convert to DT Schema
Convert the VIA/Wondermedia VT8500 and Wondermedia WM8xxx series SoCs clock
controller binding from the legacy text format to DT schema.
> diff --git a/Documentation/devicetree/bindings/clock/via,vt8500-clock.yaml b/Documentation/devicetree/bindings/clock/via,vt8500-clock.yaml
> new file mode 100644
> index 0000000000000..9c312d11a6a7b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/via,vt8500-clock.yaml
[ ... ]
> + divisor-mask:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + Bitmask describing the divisor field inside divisor-reg.
[Severity: Low]
The legacy text binding explicitly specified that divisor-mask defaults to
0x1f if not specified. Can we include a default value here to ensure the
dt-schema validation tools can infer it?
[ ... ]
> +examples:
> + - |
> + / {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + ref25: ref25M {
[Severity: Low]
Does this node name cause schema validation warnings? The core
fixed-clock.yaml schema requires node names to match the pattern
^clock-([0-9]+|[a-z0-9-]+)$.
Naming it clock-25000000 might be better to avoid warnings during
make dt_binding_check.
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <25000000>;
> + };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260520025131.17772-1-challauday369@gmail.com?part=1
next prev parent reply other threads:[~2026-05-20 3:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-20 2:48 [PATCH] dt-bindings: clock: via,vt8500: Convert to DT Schema Udaya Kiran Challa
2026-05-20 3:02 ` sashiko-bot [this message]
2026-05-20 3:41 ` 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=20260520030201.A6E721F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=challauday369@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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