[PATCH] regulator: Fix MAX77838 selection

Igor Belwon posted 1 patch 2 weeks ago
drivers/regulator/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] regulator: Fix MAX77838 selection
Posted by Igor Belwon 2 weeks ago
The current entry for the MAX77838 regulator is unselectable (as it
depended on a non-user-selectable config - REGMAP_I2C). Fix this by
making it select the config, and not depending on it.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
---
 drivers/regulator/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 5e451be51392ce4edd31057ba5fefd90dfeef272..e252bb11ae6615dc9154908bc237905b97e739e5 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -779,7 +779,8 @@ config REGULATOR_MAX77826
 
 config REGULATOR_MAX77838
 	tristate "Maxim 77838 regulator"
-	depends on REGMAP_I2C
+	depends on I2C
+	select REGMAP_I2C
 	help
 	  This driver controls a Maxim 77838 regulator via I2C bus.
 	  The regulator include 4 LDOs and a BUCK regulator. It's

---
base-commit: ae2d20002576d2893ecaff25db3d7ef9190ac0b6
change-id: 20250917-maxreg-kconfig-fix-39ab7b7d642f

Best regards,
-- 
Igor Belwon <igor.belwon@mentallysanemainliners.org>
Re: [PATCH] regulator: Fix MAX77838 selection
Posted by Mark Brown 1 week, 6 days ago
On Wed, 17 Sep 2025 16:58:28 +0200, Igor Belwon wrote:
> The current entry for the MAX77838 regulator is unselectable (as it
> depended on a non-user-selectable config - REGMAP_I2C). Fix this by
> making it select the config, and not depending on it.
> 
> 

Applied to

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

Thanks!

[1/1] regulator: Fix MAX77838 selection
      commit: abe962346ef420998d47ba1c2fe591582f69e92e

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