From: Pengpeng Hou <hppiscas@163.com>
To: lee@kernel.org
Cc: luca@lucaceresoli.net, mfd@lists.linux.dev,
linux-kernel@vger.kernel.org, hppiscas@163.com
Subject: [PATCH] mfd: max77714: select REGMAP_IRQ
Date: Mon, 30 Nov 2026 20:55:36 +0800 [thread overview]
Message-ID: <20261130125536.76905-1-hppiscas@163.com> (raw)
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
reply other threads:[~2026-11-30 12:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261130125536.76905-1-hppiscas@163.com \
--to=hppiscas@163.com \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca@lucaceresoli.net \
--cc=mfd@lists.linux.dev \
/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®