Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Ali Rouhi" <rouhi.ali@gmail.com>
Cc: krzk+dt@kernel.org, robh@kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH net-next 2/3] dt-bindings: dpll: add SiTime SiT9531x clock generator
Date: Wed, 13 May 2026 00:18:27 +0000	[thread overview]
Message-ID: <20260513001828.44B4DC2BCB0@smtp.kernel.org> (raw)
In-Reply-To: <20260511211453.20671-1-arouhi@sitime.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] The schema omits the standard DPLL schema reference and uses `additionalProperties: false`, preventing the documentation of hardware wiring.
- [Low] The device node name in the examples violates the standard DPLL schema naming conventions.
--

commit 88ed321f90ac52e086a07eae925ac22020338107
Author: Ali Rouhi <rouhi.ali@gmail.com>

dt-bindings: dpll: add SiTime SiT9531x clock generator

This commit adds device tree binding documentation for the SiTime SiT95316
and SiT95317 DPLL clock generators.

> diff --git a/Documentation/devicetree/bindings/dpll/sitime,sit9531x.yaml b/Documentation/devicetree/bindings/dpll/sitime,sit9531x.yaml
> new file mode 100644
> index 0000000000000..0b05f0de65b9d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/dpll/sitime,sit9531x.yaml

[ ... ]

> required:
>   - compatible
>   - reg
> 
> additionalProperties: false

The commit message notes the device tree describes the hardware wiring
for the inputs and outputs, and the driver parses standard DPLL properties
such as dpll-types, input-pins, and output-pins.

Should this schema include a reference to /schemas/dpll/dpll-device.yaml#
and use unevaluatedProperties: false instead? Without this, schema
validation will reject boards that configure the required DPLL wiring.

> 
> examples:
>   - |
>     i2c {
>         #address-cells = <1>;
>         #size-cells = <0>;
> 
>         clock-generator@68 {

This isn't a bug, but the node name clock-generator@68 does not follow
the standard DPLL naming convention. 

The core DPLL schema enforces the pattern ^dpll(@.*)?$. Could the node
names in these examples be updated to match the standard dpll pattern?

>             compatible = "sitime,sit95317";
>             reg = <0x68>;
>         };

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260511211453.20671-1-arouhi@sitime.com?part=2

      parent reply	other threads:[~2026-05-13  0:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11 21:11 [PATCH net-next 0/3] dpll: add SiTime SiT9531x DPLL clock driver Ali Rouhi
2026-05-11 21:11 ` [PATCH net-next 1/3] dt-bindings: vendor-prefixes: add SiTime Corporation Ali Rouhi
2026-05-12 17:46   ` Conor Dooley
2026-05-13  0:09   ` sashiko-bot
2026-05-11 21:14 ` [PATCH net-next 2/3] dt-bindings: dpll: add SiTime SiT9531x clock generator Ali Rouhi
2026-05-11 21:14   ` [PATCH net-next 3/3] dpll: add SiTime SiT9531x DPLL clock driver Ali Rouhi
2026-05-13  0:52     ` sashiko-bot
2026-05-12 17:52   ` [PATCH net-next 2/3] dt-bindings: dpll: add SiTime SiT9531x clock generator Conor Dooley
     [not found]     ` <CALFSGurCGzyk3mOPnyP_p2o+s9kCCQZc4MjBsDpPxqSPV1ZseA@mail.gmail.com>
2026-05-12 20:23       ` Ali Rouhi
2026-05-13  0:18   ` sashiko-bot [this message]

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=20260513001828.44B4DC2BCB0@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=rouhi.ali@gmail.com \
    --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