From: sashiko-bot@kernel.org
To: "Heiko Schocher" <hs@nabladev.com>
Cc: devicetree@vger.kernel.org,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
conor+dt@kernel.org, robh@kernel.org, linux-rtc@vger.kernel.org
Subject: Re: [PATCH v1 1/3] dt-bindings: rtc: add ricoh,r2223x binding
Date: Mon, 24 Aug 2026 11:08:22 +0000 [thread overview]
Message-ID: <20260824110822.F37951F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260824110452.4038870-2-hs@nabladev.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The `#clock-cells` property is missing from the `required` list for a device that acts as a clock provider.
--
--- Patch [1]: [PATCH v1 1/3] dt-bindings: rtc: add ricoh,r2223x binding ---
commit 650ba92edebadde8c761f1e4168721297f6edde4
Author: Heiko Schocher <hs@nabladev.com>
dt-bindings: rtc: add ricoh,r2223x binding
This commit introduces a new device tree binding for the Ricoh R2223x
Real-Time Clock. It adds schema definitions for its compatible string,
clock provider capabilities, and an eco mode property.
> diff --git a/Documentation/devicetree/bindings/rtc/ricoh,r2223x.yaml b/Documentation/devicetree/bindings/rtc/ricoh,r2223x.yaml
> new file mode 100644
> index 0000000000000..e64a1ee378e64
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/ricoh,r2223x.yaml
[ ... ]
> + start-year: true
> +
> +required:
> + - compatible
> + - reg
[Severity: Medium]
Since this device acts as a clock provider and defines #clock-cells above,
should #clock-cells be explicitly included in this required list?
Without it, device tree nodes that omit the property could silently pass
schema validation, potentially leading to runtime failures in dependent
drivers attempting to use the clock functionality.
> +
> +additionalProperties: false
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260824110452.4038870-1-hs@nabladev.com?part=1
next prev parent reply other threads:[~2026-08-24 11:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-24 11:04 [PATCH v1 0/3] rtc: rs5c372: add Ricoh R2223x support Heiko Schocher
2026-08-24 11:04 ` [PATCH v1 1/3] dt-bindings: rtc: add ricoh,r2223x binding Heiko Schocher
2026-08-24 11:08 ` sashiko-bot [this message]
2026-08-24 16:26 ` Conor Dooley
2026-08-24 11:04 ` [PATCH v1 2/3] rtc: rs5c372: add support for Ricoh R2223x Heiko Schocher
2026-08-24 11:14 ` sashiko-bot
2026-08-24 11:04 ` [PATCH v1 3/3] rtc: rs5c372: support eco mode on R2223x Heiko Schocher
2026-08-24 11:15 ` 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=20260824110822.F37951F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hs@nabladev.com \
--cc=linux-rtc@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