From: sashiko-bot@kernel.org
To: "Sander Speetjens" <sander.speetjens@gmail.com>
Cc: devicetree@vger.kernel.org,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
robh@kernel.org, linux-rtc@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: rtc: Add Raspberry Pi 5 RTC binding
Date: Wed, 09 Sep 2026 14:23:55 +0000 [thread overview]
Message-ID: <20260909142355.73A7B1F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260909141300.1368790-2-sander.speetjens@gmail.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] The binding introduces a custom, un-prefixed `trickle-charge-microvolt` property instead of using the standard `trickle-voltage-millivolt` property, and fails to reference the common RTC schema.
- [Low] The YAML filename does not match the primary compatible string it defines.
- [Low] Spelling errors in the commit message.
--
commit 425dd29b0a89a2c3ccab5825c325cf7042fb52e4
Author: Sander Speetjens <sander.speetjens@gmail.com>
dt-bindings: rtc: Add Raspberry Pi 5 RTC binding
This commit adds device tree bindings for the Raspberry Pi 5 RTC, which is
located in a custom DA9091 PMIC and accessed through the firmware mailbox
interface.
> Add device tree bindings for the Raspberry Pi 5 RTC.
> Located in a custom DA9091 PMIC and accesed trough the firmware mailbox.
[Severity: Low]
This isn't a bug, but there are spelling mistakes in the commit message.
"accesed trough" should be "accessed through".
> diff --git a/Documentation/devicetree/bindings/rtc/raspberrypi,rtc-rpi.yaml b/Documentation/devicetree/bindings/rtc/raspberrypi,rtc-rpi.yaml
> new file mode 100644
> index 0000000000000..93430048355a8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/raspberrypi,rtc-rpi.yaml
> @@ -0,0 +1,48 @@
[ ... ]
> +properties:
> + compatible:
> + const: raspberrypi,rpi-rtc
[Severity: Low]
Does this compatible string intentionally differ from the filename? The YAML
filename (raspberrypi,rtc-rpi.yaml) does not match the defined primary
compatible string (raspberrypi,rpi-rtc), which goes against standard binding
naming conventions.
> +
> + firmware:
> + $ref: /schemas/types.yaml#/definitions/phandle
> + description:
> + Phandle to the Raspberry Pi firmware device.
> +
> + trickle-charge-microvolt:
> + description:
> + RTC backup battery trickle-charge voltage. A value of 0 disables
> + trickle charging.
[Severity: Medium]
Should this property use the standard trickle-voltage-millivolt property
name instead? If a custom property is strictly required here, shouldn't it
have a vendor prefix?
[ ... ]
> +required:
> + - compatible
> + - firmware
> +
> +additionalProperties: false
[Severity: Medium]
Should this binding reference the common RTC schema? Setting
additionalProperties: false without including an $ref to rtc.yaml# will
strictly reject generic RTC properties. Any device tree developer attempting
to use standard RTC properties (like wakeup-source) on this node will
encounter schema validation failures.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260909141300.1368790-1-sander.speetjens@gmail.com?part=1
next prev parent reply other threads:[~2026-09-09 14:23 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-09 14:12 [PATCH 0/3] Raspberry Pi 5 RTC driver Sander Speetjens
2026-09-09 14:12 ` [PATCH 1/3] dt-bindings: rtc: Add Raspberry Pi 5 RTC binding Sander Speetjens
2026-09-09 14:23 ` sashiko-bot [this message]
2026-09-09 15:15 ` Alexandre Belloni
2026-09-09 15:47 ` Krzysztof Kozlowski
2026-09-09 15:54 ` Krzysztof Kozlowski
2026-09-09 20:38 ` Sander Speetjens
[not found] ` <CAAOJLPHNGgC7B=7ESCifZ1FPcR6V=Hcg-q-aaVg_9M_-d6Fh2A@mail.gmail.com>
2026-09-10 7:08 ` Krzysztof Kozlowski
2026-09-10 8:10 ` Sander Speetjens
2026-09-10 16:33 ` Stefan Wahren
2026-09-09 14:12 ` [PATCH 2/3] rtc: Add Raspberry Pi 5 RTC driver Sander Speetjens
2026-09-09 14:34 ` sashiko-bot
2026-09-09 15:20 ` Alexandre Belloni
2026-09-09 15:22 ` Alexandre Belloni
2026-09-09 15:44 ` Krzysztof Kozlowski
2026-09-09 14:13 ` [PATCH 3/3] arm64: dts: broadcom: Add RTC to Raspberry Pi 5 B Sander Speetjens
2026-09-09 14:44 ` sashiko-bot
2026-09-09 15:47 ` Krzysztof Kozlowski
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=20260909142355.73A7B1F00A3D@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sander.speetjens@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