* [PATCH] mfd: max77714: select REGMAP_IRQ
@ 2026-11-30 12:55 Pengpeng Hou
0 siblings, 0 replies; only message in thread
From: Pengpeng Hou @ 2026-11-30 12:55 UTC (permalink / raw)
To: lee; +Cc: luca, mfd, linux-kernel, hppiscas
The MAX77714 probe registers its interrupt controller with
devm_regmap_add_irq_chip(). Selecting REGMAP_I2C enables the
register transport but does not provide the separately configured
IRQ helper. The driver fails to link when REGMAP_IRQ is disabled.
Select REGMAP_IRQ to provide the interrupt-controller support used
by the driver.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: 60b050ff3a60 ("mfd: max77714: Add driver for Maxim MAX77714 PMIC")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
AI assistance: gpt 5 (patch preparation and review).
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 87ed55c..54bfbed 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1036,6 +1036,7 @@ config MFD_MAX77714
depends on OF
select MFD_CORE
select REGMAP_I2C
+ select REGMAP_IRQ
help
Say yes here to add support for Maxim Semiconductor MAX77714.
This is a Power Management IC with 4 buck regulators, 9
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 12:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 12:55 [PATCH] mfd: max77714: select REGMAP_IRQ Pengpeng Hou
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®