From: sashiko-bot@kernel.org
To: "Markus Probst" <markus.probst@posteo.de>
Cc: "Alexandre Belloni" <alexandre.belloni@bootlin.com>,
conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org,
linux-rtc@vger.kernel.org
Subject: Re: [PATCH v5 5/6] rtc: s35390a: Add pinctrl
Date: Wed, 19 Aug 2026 22:16:21 +0000 [thread overview]
Message-ID: <20260819221621.D2BF91F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260820-rtc_s35390a_int1-v5-5-5eb4ef85c6a9@posteo.de>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Adding `depends on PINCTRL` to an existing RTC peripheral driver breaks backward compatibility for platforms without pinctrl.
--
--- Patch [5]: [PATCH v5 5/6] rtc: s35390a: Add pinctrl ---
commit 83e265d25d4e043f28a3074886c0f8157885c331
Author: Markus Probst <markus.probst@posteo.de>
rtc: s35390a: Add pinctrl
Allow configuration of pin functions, including keeping the previous
configured function, disabling output, waking up the system, and
minute periodical interrupt. If no function has been configured,
fallback to previous behaviour.
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index 01def82318731..2d79710c48375 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -668,7 +668,9 @@ config RTC_DRV_RC5T619
>
> config RTC_DRV_S35390A
> tristate "Seiko Instruments S-35390A"
> + depends on PINCTRL
[Severity: High]
Does adding this hard dependency on PINCTRL break backward compatibility for
existing platforms that do not use the pinctrl subsystem?
For users building the kernel for systems that have the S-35390A RTC but
without CONFIG_PINCTRL enabled, the new Kconfig dependency will silently
drop the driver.
To avoid link errors for pinctrl core functions while preserving RTC
functionality on all platforms, should the pinctrl-specific code within the
driver be conditionally compiled using #if IS_ENABLED(CONFIG_PINCTRL) instead?
> select BITREVERSE
> + select GENERIC_PINCONF
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260820-rtc_s35390a_int1-v5-0-5eb4ef85c6a9@posteo.de?part=5
next prev parent reply other threads:[~2026-08-19 22:16 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
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 [this message]
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=20260819221621.D2BF91F000E9@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.