mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regulator: Fix MAX77838 selection
@ 2025-09-17 14:58 Igor Belwon
  2025-09-18 15:31 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Igor Belwon @ 2025-09-17 14:58 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: ~postmarketos/upstreaming, linux-kernel, Igor Belwon

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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-18 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-17 14:58 [PATCH] regulator: Fix MAX77838 selection Igor Belwon
2025-09-18 15:31 ` Mark Brown

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®