From: sashiko-bot@kernel.org
To: "Heiko Schocher" <hs@nabladev.com>
Cc: linux-rtc@vger.kernel.org, robh@kernel.org,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: rtc: add ricoh,r2223x binding
Date: Tue, 25 Aug 2026 07:24:26 +0000 [thread overview]
Message-ID: <20260825072426.A77DE1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260825071927.4090460-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 omitted from the `required` list despite the device functioning as a clock provider.
--
--- Patch [1]: [PATCH v2 1/3] dt-bindings: rtc: add ricoh,r2223x binding ---
commit c9a8726516af9b3ebff5835956246051050d1e80
Author: Heiko Schocher <hs@nabladev.com>
dt-bindings: rtc: add ricoh,r2223x binding
This commit adds a new device tree binding for the Ricoh R2223x I2C RTC.
The device drives a clock output and features an eco mode to lower current
consumption from the backup supply.
> diff --git a/Documentation/devicetree/bindings/rtc/ricoh,r2223x.yaml b/Documentation/devicetree/bindings/rtc/ricoh,r2223x.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/ricoh,r2223x.yaml
[ ... ]
> + start-year: true
> +
> +required:
> + - compatible
> + - reg
[Severity: Medium]
Since this device functions as a clock provider and defines #clock-cells,
should #clock-cells be included in the required list?
Omitting it allows incomplete device tree nodes to pass schema validation
but fail at runtime when dependent subsystems attempt to use the clock
functionality.
> +
> +additionalProperties: false
> +
> +examples:
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260825071927.4090460-1-hs@nabladev.com?part=1
next prev parent reply other threads:[~2026-08-25 7:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 7:19 [PATCH v2 0/3] rtc: rs5c372: add Ricoh R2223x support Heiko Schocher
2026-08-25 7:19 ` [PATCH v2 1/3] dt-bindings: rtc: add ricoh,r2223x binding Heiko Schocher
2026-08-25 7:24 ` sashiko-bot [this message]
2026-08-25 7:19 ` [PATCH v2 2/3] rtc: rs5c372: add support for Ricoh R2223x Heiko Schocher
2026-08-25 7:35 ` sashiko-bot
2026-08-25 7:19 ` [PATCH v2 3/3] rtc: rs5c372: support eco mode on R2223x Heiko Schocher
2026-08-25 7:36 ` 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=20260825072426.A77DE1F000E9@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