From: sashiko-bot@kernel.org
To: "Patrice Chotard" <patrice.chotard@foss.st.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v6 03/10] nvmem: stm32: add TAMP nvmem driver
Date: Tue, 24 Nov 2026 17:05:46 +0000 [thread overview]
Message-ID: <sashiko-outbox-231653@kernel.org> (raw)
In-Reply-To: <20261124-upstream_nvram_reworked-v6-3-ea0cfccc20b0@foss.st.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] nvmem: stm32: missing HAS_IOMEM dependency on NVMEM_STM32_TAMP
--
commit a806b31692fd854346ba32a0d69cc117ecaf99c0
Author: Simeon Marijon <simeon.marijon@foss.st.com>
nvmem: stm32: add TAMP nvmem driver
This commit adds an NVMEM driver to expose STM32MP1 and STM32MP2 TAMP
backup registers as NVMEM cells.
> diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
> index d2f5bb236663f..a0675f89015c0 100644
> --- a/drivers/nvmem/Kconfig
> +++ b/drivers/nvmem/Kconfig
> @@ -516,6 +516,17 @@ config NVMEM_STM32_ROMEM
> This driver can also be built as a module. If so, the module
> will be called nvmem-stm32-romem.
>
> +config NVMEM_STM32_TAMP
> + tristate "STMicroelectronics STM32 TAMP backup registers support"
> + depends on ARCH_STM32 || COMPILE_TEST
> + select MFD_SYSCON
[Severity: Low]
Should NVMEM_STM32_TAMP also depend on HAS_IOMEM?
MFD_SYSCON is defined inside an if HAS_IOMEM block in drivers/mfd/Kconfig
and selects REGMAP_MMIO. On COMPILE_TEST builds without HAS_IOMEM (such as
ARCH=um with CONFIG_NO_IOMEM=y), selecting MFD_SYSCON triggers an unmet
direct dependencies warning and causes build failures in regmap-mmio and
syscon.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-upstream_nvram_reworked-v6-0-ea0cfccc20b0@foss.st.com?part=3
next prev parent reply other threads:[~2026-11-24 17:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 16:47 [PATCH v6 00/10] Add STM32 TAMP nvram driver support Patrice Chotard
2026-11-24 16:47 ` [PATCH v6 01/10] dt-bindings: nvmem: add STM32MPX TAMP backup registers Patrice Chotard
2026-11-24 16:47 ` [PATCH v6 02/10] dt-bindings: arm: stm32: allow TAMP nvram child node for syscon Patrice Chotard
2026-11-24 16:55 ` sashiko-bot
2026-11-24 16:47 ` [PATCH v6 03/10] nvmem: stm32: add TAMP nvmem driver Patrice Chotard
2026-11-24 17:05 ` sashiko-bot [this message]
2026-11-24 16:47 ` [PATCH v6 04/10] ARM: dts: stm32: add TAMP backup register in stm32mp131.dtsi Patrice Chotard
2026-11-24 16:47 ` [PATCH v6 05/10] ARM: dts: stm32: add TAMP backup register in stm32mp151.dtsi Patrice Chotard
2026-11-24 16:47 ` [PATCH v6 06/10] arm64: dts: st: add TAMP backup register in stm32mp211.dtsi Patrice Chotard
2026-11-24 16:47 ` [PATCH v6 07/10] arm64: dts: st: add TAMP backup register in stm32mp231.dtsi Patrice Chotard
2026-11-24 16:47 ` [PATCH v6 08/10] arm64: dts: st: add TAMP backup register in stm32mp251.dtsi Patrice Chotard
2026-11-24 16:47 ` [PATCH v6 09/10] ARM: multi_v7_defconfig: Enable NVMEM_STM32_TAMP Patrice Chotard
2026-11-24 16:47 ` [PATCH v6 10/10] ARM: arm64: defconfig: " Patrice Chotard
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=sashiko-outbox-231653@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=patrice.chotard@foss.st.com \
--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.