Linux RTC
 help / color / mirror / Atom feed
From: Pengpeng Hou <hppiscas@163.com>
To: alexandre.belloni@bootlin.com
Cc: linux-rtc@vger.kernel.org, wim@linux-watchdog.org,
	linux@roeck-us.net, linux-watchdog@vger.kernel.org,
	linux-kernel@vger.kernel.org, hppiscas@163.com
Subject: [PATCH 0/2] rtc: m41t93: fix missing subsystem dependencies
Date: Mon, 30 Nov 2026 21:38:51 +0800	[thread overview]
Message-ID: <20261130133853.87210-1-hppiscas@163.com> (raw)

The M41T93 driver creates an SPI regmap and, when WATCHDOG is enabled,
registers with the watchdog core. Neither provider is selected by the RTC
configuration.

Select the SPI backend first, then select the watchdog core conditionally
without silently disabling the watchdog functionality.

The issues were found by our static-analysis tool and manually reviewed.

AI assistance: gpt 5 (patch preparation and review).

Pengpeng Hou (2):
  rtc: m41t93: select REGMAP_SPI
  rtc: m41t93: select the watchdog core when enabled

 drivers/rtc/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244


             reply	other threads:[~2026-11-30 13:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 13:38 Pengpeng Hou [this message]
2026-11-30 13:38 ` [PATCH 1/2] rtc: m41t93: select REGMAP_SPI Pengpeng Hou
2026-11-30 13:38 ` [PATCH 2/2] rtc: m41t93: select the watchdog core when enabled Pengpeng Hou
2026-11-30 13:43 ` [PATCH 0/2] rtc: m41t93: fix missing subsystem dependencies 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=20261130133853.87210-1-hppiscas@163.com \
    --to=hppiscas@163.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=wim@linux-watchdog.org \
    /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