[PATCH 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM

From: Krzysztof Kozlowski

Date: Mon Jul 27 2026 - 07:48:02 EST


QCOM_PDC and QCOM_MPM do not reference any architecture code, thus
should be compile-testable. QCOM_MPM is used only on ARM64 SoCs, thus
there is no point in proposing this option for 32-bit Qualcomm platforms
making kernel configurators life easier.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
---
drivers/irqchip/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 20b77fbc51ee..954137395bff 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -522,7 +522,7 @@ config GOLDFISH_PIC

config QCOM_PDC
tristate "Qualcomm PDC"
- depends on ARCH_QCOM
+ depends on ARCH_QCOM || COMPILE_TEST
select IRQ_DOMAIN_HIERARCHY
help
Power Domain Controller driver to manage and configure wakeup
@@ -530,7 +530,7 @@ config QCOM_PDC

config QCOM_MPM
tristate "Qualcomm MPM"
- depends on ARCH_QCOM
+ depends on (ARCH_QCOM && ARM64) || COMPILE_TEST
depends on MAILBOX
select IRQ_DOMAIN_HIERARCHY
help

--
2.53.0