* [PATCH 1/2] regmap: Users of REGMAP should imply the needed support
@ 2026-11-11 23:39 Andrew Davis
2026-11-11 23:39 ` [PATCH 2/2] regmap: Remove no longer needed help text Andrew Davis
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Davis @ 2026-11-11 23:39 UTC (permalink / raw)
To: Mark Brown; +Cc: linux-kernel, Andrew Davis
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] regmap: Remove no longer needed help text
2026-11-11 23:39 [PATCH 1/2] regmap: Users of REGMAP should imply the needed support Andrew Davis
@ 2026-11-11 23:39 ` Andrew Davis
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Davis @ 2026-11-11 23:39 UTC (permalink / raw)
To: Mark Brown; +Cc: linux-kernel, Andrew Davis
User help text was added when this symbol got a user selection string,
that string was since removed but the help text was not. Do that here.
Signed-off-by: Andrew Davis <afd@ti.com>
---
drivers/base/regmap/Kconfig | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index ef5fdd1ed6c7e..a26bd6ce00de5 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -5,14 +5,6 @@
config REGMAP
bool
- help
- Enable support for the Register Map (regmap) access API.
-
- Usually, this option is automatically selected when needed.
- However, you may want to enable it manually for running the regmap
- KUnit tests.
-
- If unsure, say N.
config REGMAP_KUNIT
tristate "KUnit tests for regmap"
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-11 23:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11 23:39 [PATCH 1/2] regmap: Users of REGMAP should imply the needed support Andrew Davis
2026-11-11 23:39 ` [PATCH 2/2] regmap: Remove no longer needed help text Andrew Davis
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®