[PATCH] interconnect: qcom: select REGMAP_MMIO for RPM and RPMh
From: Pengpeng Hou
Date: Mon Nov 30 2026 - 08:07:26 EST
The RPM and RPMh interconnect implementations create MMIO regmaps
for their register resources. INTERCONNECT_QCOM_SMD_RPM and
INTERCONNECT_QCOM_RPMH do not select the MMIO regmap backend,
leaving unresolved initialization calls when it is not enabled
elsewhere.
Select REGMAP_MMIO from both implementation symbols. This ties the
dependency to the objects making the calls rather than enabling it
unconditionally from the top-level Qualcomm interconnect option.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: 2b6c7d645118 ("interconnect: sdm660: merge common code into icc-rpm")
Fixes: 0a7be6b35da8 ("interconnect: qcom: icc-rpmh: Add QoS configuration support")
Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>
---
AI assistance: gpt 5 (patch preparation and review).
drivers/interconnect/qcom/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/interconnect/qcom/Kconfig b/drivers/interconnect/qcom/Kconfig
index 7f3a977..634ab92 100644
--- a/drivers/interconnect/qcom/Kconfig
+++ b/drivers/interconnect/qcom/Kconfig
@@ -250,6 +250,7 @@ config INTERCONNECT_QCOM_RPMH_POSSIBLE
config INTERCONNECT_QCOM_RPMH
tristate
+ select REGMAP_MMIO
config INTERCONNECT_QCOM_SA8775P
tristate "Qualcomm SA8775P interconnect driver"
@@ -527,3 +528,4 @@ config INTERCONNECT_QCOM_X1E80100
config INTERCONNECT_QCOM_SMD_RPM
tristate
+ select REGMAP_MMIO
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244