All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Markus Probst" <markus.probst@posteo.de>
Cc: linux-rtc@vger.kernel.org, robh@kernel.org,
	devicetree@vger.kernel.org,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	conor+dt@kernel.org
Subject: Re: [PATCH v5 1/6] dt-bindings: rtc: Add pinctrl for S35390A
Date: Wed, 19 Aug 2026 22:11:34 +0000	[thread overview]
Message-ID: <20260819221135.3BE5C1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260820-rtc_s35390a_int1-v5-1-5eb4ef85c6a9@posteo.de>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The `#clock-cells` property is added as a new provider capability but is omitted from the `required` list and the `examples` section, violating subsystem guidelines.
- [Low] Unresolved phandle reference `&int` in the YAML example will cause `dt_binding_check` to fail with a compilation error.
--

--- Patch [1]: [PATCH v5 1/6] dt-bindings: rtc: Add pinctrl for S35390A ---
commit 9114243db5b7e36e694d49f9fc028e6d6ddd5474
Author: Markus Probst <markus.probst@posteo.de>

dt-bindings: rtc: Add pinctrl for S35390A

This commit moves the devicetree bindings for sii,s35390a into its own file.
It adds the necessary properties to configure individual pins via pinctrl,
allowing interrupt signal 1 to be used as a wakeup alarm.

> diff --git a/Documentation/devicetree/bindings/rtc/sii,s35390a.yaml b/Documentation/devicetree/bindings/rtc/sii,s35390a.yaml
> new file mode 100644
> index 0000000000000..d9da3abbbd518
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/sii,s35390a.yaml

[ ... ]

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

[Severity: Medium]
Since "#clock-cells" is defined as a new provider capability in this file,
should it be added to this required list?

Without it, incomplete device tree nodes missing the property will incorrectly
pass schema validation, and dependent subsystems might fail at runtime when
attempting to use the clock capability.

> +
> +unevaluatedProperties: false
> +
> +examples:
> +  - |
> +    i2c {
> +        #address-cells = <1>;
> +        #size-cells = <0>;
> +
> +        rtc@30 {
> +            compatible = "sii,s35390a";
> +            reg = <0x30>;

[Severity: Medium]
Does this example need to include the "#clock-cells" property to pass
schema checks successfully and serve as a complete example for the new
capabilities?

> +            pinctrl-0 = <&rtc_pins_default>;
> +            pinctrl-names = "default";
> +
> +            wakeup-parent = <&int>;

[Severity: Low]
Does this phandle reference a missing label?

The "&int" label doesn't appear to be defined anywhere in the example node.
This unresolved reference will typically cause the device tree compiler to
abort with a fatal build error during make dt_binding_check.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260820-rtc_s35390a_int1-v5-0-5eb4ef85c6a9@posteo.de?part=1

  reply	other threads:[~2026-08-19 22:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-19 22:05 [PATCH v5 0/6] rtc: s35390a: Allow use of output pin for interrupt signal 1 for wakealarm Markus Probst
2026-08-19 22:05 ` [PATCH v5 1/6] dt-bindings: rtc: Add pinctrl for S35390A Markus Probst
2026-08-19 22:11   ` sashiko-bot [this message]
2026-08-19 22:05 ` [PATCH v5 2/6] rtc: s35390a: Add missing newline to dev_err Markus Probst
2026-08-19 22:09   ` sashiko-bot
2026-08-19 22:05 ` [PATCH v5 3/6] rtc: s35390a: Fix alarm not disabling Markus Probst
2026-08-19 22:12   ` sashiko-bot
2026-08-19 22:25   ` Alexandre Belloni
2026-08-19 22:29     ` Markus Probst
2026-08-19 22:05 ` [PATCH v5 4/6] rtc: s35390a: force 24-hour mode Markus Probst
2026-08-19 22:17   ` sashiko-bot
2026-08-19 22:20   ` Alexandre Belloni
2026-08-19 22:57     ` Markus Probst
2026-08-19 23:26       ` Alexandre Belloni
2026-08-19 22:05 ` [PATCH v5 5/6] rtc: s35390a: Add pinctrl Markus Probst
2026-08-19 22:16   ` sashiko-bot
2026-08-19 22:05 ` [PATCH v5 6/6] rtc: s35390a: Add synology quirk Markus Probst
2026-08-19 22:11   ` 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=20260819221135.3BE5C1F000E9@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=markus.probst@posteo.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.