[PATCH v2] regmap: Enable REGMAP when REGMAP_SLIMBUS is enabled

Geert Uytterhoeven posted 1 patch 3 weeks, 3 days ago
drivers/base/regmap/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] regmap: Enable REGMAP when REGMAP_SLIMBUS is enabled
Posted by Geert Uytterhoeven 3 weeks, 3 days ago
From: Geert Uytterhoeven <geert@linux-m68k.org>

Invisible symbol REGMAP defaults to y when any of the REGMAP_* symbols
is enabled, effectively auto-enabling it when needed.  However,
REGMAP_SLIMBUS is missing from the list.

Currently this does not cause any issues, as all symbols selecting
REGMAP_SLIMBUS also select REGMAP and/or REGMAP_IRQ.  Add REGMAP_SLIMBUS
to the list for consistency, and to prevent any future issues.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
This is v2 of "[PATCH 2/3] regmap: REGMAP_SLIMBUS should select REGMAP"
https://lore.kernel.org/7519324a34015e1c046227269409fef688889f4f.1688643442.git.geert@linux-m68k.org/

v2:
  - Change the default of REGMAP instead of selecting it,
  - Drop mfd change.
---
 drivers/base/regmap/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index ffb2ef488298191a..06d7eb2aac145562 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -5,7 +5,7 @@
 
 config REGMAP
 	bool
-	default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SOUNDWIRE || REGMAP_SOUNDWIRE_MBQ || REGMAP_SCCB || REGMAP_I3C || REGMAP_SPI_AVMM || REGMAP_MDIO || REGMAP_FSI)
+	default y if (REGMAP_I2C || REGMAP_SLIMBUS || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SOUNDWIRE || REGMAP_SOUNDWIRE_MBQ || REGMAP_SCCB || REGMAP_I3C || REGMAP_SPI_AVMM || REGMAP_MDIO || REGMAP_FSI)
 	help
 	  Enable support for the Register Map (regmap) access API.
 
-- 
2.43.0
Re: [PATCH v2] regmap: Enable REGMAP when REGMAP_SLIMBUS is enabled
Posted by Mark Brown 3 weeks, 2 days ago
On Thu, 15 Jan 2026 17:24:02 +0100, Geert Uytterhoeven wrote:
> Invisible symbol REGMAP defaults to y when any of the REGMAP_* symbols
> is enabled, effectively auto-enabling it when needed.  However,
> REGMAP_SLIMBUS is missing from the list.
> 
> Currently this does not cause any issues, as all symbols selecting
> REGMAP_SLIMBUS also select REGMAP and/or REGMAP_IRQ.  Add REGMAP_SLIMBUS
> to the list for consistency, and to prevent any future issues.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next

Thanks!

[1/1] regmap: Enable REGMAP when REGMAP_SLIMBUS is enabled
      commit: dccc66b0e92d48d9a1908a3ccb8142e0ee3381f5

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark