mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
To: Thomas Gleixner <tglx@kernel.org>, Radu Rendec <radu@rendec.net>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Subject: [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers
Date: Mon, 27 Jul 2026 22:01:21 +0200	[thread overview]
Message-ID: <20260727-irqchip-qcom-defaults-v2-2-466f3c407937@oss.qualcomm.com> (raw)
In-Reply-To: <20260727-irqchip-qcom-defaults-v2-0-466f3c407937@oss.qualcomm.com>

QCOM_PDC and QCOM_MPM are essential for booting up SoCs and are not
really optional for a given platform.  Kernel should not ask users
choice of drivers when that choice is obvious and known to the
developers that answer should be 'yes' or 'module'.

Enable these by default whenever a kernel for Qualcomm SoC is built.
The change has no impact on arm64 defconfig, but will enable QCOM_PDC
for 32-bit ARM multi_v7_defconfig and qcom_defconfig, which is desired
because SDX55 uses it.

QCOM_MDM is used by 32-bit Qualcomm SoCs, but there is no in-tree user
of it, so it does not have to be enabled by default.

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

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 5a881ddfa3ab..a8f8c423b795 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -524,6 +524,7 @@ config QCOM_PDC
 	tristate "Qualcomm PDC"
 	depends on ARCH_QCOM || COMPILE_TEST
 	select IRQ_DOMAIN_HIERARCHY
+	default ARCH_QCOM
 	help
 	  Power Domain Controller driver to manage and configure wakeup
 	  IRQs for Qualcomm Technologies Inc (QTI) mobile chips.
@@ -533,6 +534,7 @@ config QCOM_MPM
 	depends on ARCH_QCOM || COMPILE_TEST
 	depends on MAILBOX
 	select IRQ_DOMAIN_HIERARCHY
+	default ARCH_QCOM if ARM64
 	help
 	  MSM Power Manager driver to manage and configure wakeup
 	  IRQs for Qualcomm Technologies Inc (QTI) mobile chips.

-- 
2.53.0


  parent reply	other threads:[~2026-07-27 20:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-27 20:01 [PATCH v2 0/3] irqchip: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM Krzysztof Kozlowski
2026-07-28  7:54   ` Konrad Dybcio
2026-09-04 13:40   ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
2026-07-27 20:01 ` Krzysztof Kozlowski [this message]
2026-07-28  7:55   ` [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers Konrad Dybcio
2026-09-04 13:40   ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 3/3] arm64: defconfig: Drop redundant Qualcomm irqchip entries Krzysztof Kozlowski
2026-07-28  7:55   ` Konrad Dybcio
2026-09-04 13:40   ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski

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=20260727-irqchip-qcom-defaults-v2-2-466f3c407937@oss.qualcomm.com \
    --to=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=radu@rendec.net \
    --cc=tglx@kernel.org \
    /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®