mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Davis <afd@ti.com>
To: Mark Brown <broonie@kernel.org>
Cc: <linux-kernel@vger.kernel.org>, Andrew Davis <afd@ti.com>
Subject: [PATCH 1/2] regmap: Users of REGMAP should imply the needed support
Date: Wed, 11 Nov 2026 17:39:32 -0600	[thread overview]
Message-ID: <20261111233933.537905-1-afd@ti.com> (raw)

This has the same effect but makes it easier to see each that each
config symbol is enabling REGMAP and avoids a really long line here.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 drivers/base/regmap/Kconfig | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index 3c76a5bf67b7e..ef5fdd1ed6c7e 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -5,7 +5,6 @@
 
 config REGMAP
 	bool
-	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.
 
@@ -33,37 +32,46 @@ config REGMAP_BUILD
 
 config REGMAP_AC97
 	tristate
+	imply REGMAP
 
 config REGMAP_I2C
 	tristate
 	depends on I2C
+	imply REGMAP
 
 config REGMAP_SLIMBUS
 	tristate
 	depends on SLIMBUS
+	imply REGMAP
 
 config REGMAP_SPI
 	tristate
 	depends on SPI
+	imply REGMAP
 
 config REGMAP_SPMI
 	tristate
 	depends on SPMI
+	imply REGMAP
 
 config REGMAP_W1
 	tristate
 	depends on W1
+	imply REGMAP
 
 config REGMAP_MDIO
 	tristate
 	depends on PHYLIB
+	imply REGMAP
 
 config REGMAP_MMIO
 	tristate
+	imply REGMAP
 
 config REGMAP_IRQ
 	bool
 	select IRQ_DOMAIN
+	imply REGMAP
 
 config REGMAP_RAM
 	tristate
@@ -71,23 +79,29 @@ config REGMAP_RAM
 config REGMAP_SOUNDWIRE
 	tristate
 	depends on SOUNDWIRE
+	imply REGMAP
 
 config REGMAP_SOUNDWIRE_MBQ
 	tristate
 	depends on SOUNDWIRE
+	imply REGMAP
 
 config REGMAP_SCCB
 	tristate
 	depends on I2C
+	imply REGMAP
 
 config REGMAP_I3C
 	tristate
 	depends on I3C
+	imply REGMAP
 
 config REGMAP_SPI_AVMM
 	tristate
 	depends on SPI
+	imply REGMAP
 
 config REGMAP_FSI
 	tristate
 	depends on FSI
+	imply REGMAP
-- 
2.43.0


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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11 23:39 Andrew Davis [this message]
2026-11-11 23:39 ` [PATCH 2/2] regmap: Remove no longer needed help text Andrew Davis

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=20261111233933.537905-1-afd@ti.com \
    --to=afd@ti.com \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®