From: sashiko-bot@kernel.org
To: "Lakshay Piplani" <lakshay.piplani@nxp.com>
Cc: robh@kernel.org, conor+dt@kernel.org, linux-rtc@vger.kernel.org,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
devicetree@vger.kernel.org
Subject: Re: [PATCH v8 1/2] dt-bindings: rtc: Add pcf85053 support
Date: Mon, 07 Sep 2026 10:27:45 +0000 [thread overview]
Message-ID: <20260907102745.EE57B1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260907102134.394717-1-lakshay.piplani@nxp.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The device tree binding defines `#clock-cells` but fails to include it in the `required` list and `examples` section, violating subsystem guidelines for provider capabilities.
--
commit b13d4a07a31d804f2eb400ecaefe4d209dc9b4ea
Author: Lakshay Piplani <lakshay.piplani@nxp.com>
dt-bindings: rtc: Add pcf85053 support
This commit introduces the device tree bindings for the NXP PCF85053 RTC
chip. It defines properties like multi-host interface roles and provides
examples for both single and dual-host configurations.
> diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf85053.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf85053.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf85053.yaml
[ ... ]
> +properties:
> + compatible:
> + enum:
> + - nxp,pcf85053
[ ... ]
> + "#clock-cells":
> + const: 0
> +
> + clock-output-names:
> + maxItems: 1
[ ... ]
> +required:
> + - compatible
> + - reg
> + - nxp,interface
[Severity: Medium]
Since the binding defines #clock-cells for clock provider capabilities, should
it also be included in this required list?
If #clock-cells is omitted from the required list, incomplete device tree
nodes missing this property will silently pass schema validation. Dependent
subsystems could then fail at runtime when attempting to use the missing
functionality.
[ ... ]
> +examples:
> + # Single host example.
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + rtc@6f {
> + compatible = "nxp,pcf85053";
> + reg = <0x6f>;
[Severity: Medium]
If #clock-cells is made required, will this example also need to be updated to
include #clock-cells = <0>; so that it passes dt_binding_check?
> + nxp,interface = "primary";
> + nxp,write-access;
> + interrupt-parent = <&gpio2>;
> + interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
> + };
> + };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260907102134.394717-1-lakshay.piplani@nxp.com?part=1
prev parent reply other threads:[~2026-09-07 10:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 10:21 [PATCH v8 1/2] dt-bindings: rtc: Add pcf85053 support Lakshay Piplani
2026-09-07 10:21 ` [PATCH v8 2/2] rtc: Add NXP PCF85053 driver support Lakshay Piplani
2026-09-07 10:35 ` sashiko-bot
2026-09-07 10:27 ` 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=20260907102745.EE57B1F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lakshay.piplani@nxp.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