From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/4] soc: qcom: Hide all drivers behind selectable menu
Date: Wed, 29 Apr 2026 11:28:14 +0200 [thread overview]
Message-ID: <82602963-6caa-428a-9b39-e0cfd42ae87f@oss.qualcomm.com> (raw)
In-Reply-To: <20260429-qcom-soc-kconfig-v1-1-69ba540b3fe9@oss.qualcomm.com>
On 4/29/26 10:56 AM, Krzysztof Kozlowski wrote:
> Switch from a simple menu to menuconfig, so all Qualcomm SoC drivers
> will be under one selectable option, allowing to disable them all which
> should make kernel configuration easier when preparing a non-Qualcomm
> kernel.
>
> This has few benefits (functional impact of this commit):
>
> 1. Allow compile testing of QCOM_OCMEM, which previously required
> ARCH_QCOM.
>
> 2. Hide behind ARCH_QCOM or COMPILE_TEST drivers specific to Qualcomm
> which should not be available to other kernel builds:
> QCOM_PMIC_PDCHARGER_ULOG, QCOM_PMIC_GLINK, QCOM_SPM and QCOM_PBS.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
[...]
> +# Options selected by other drivers from different subsystems must be outside
> +# of the menuconfig if-block:
> +
> +config QCOM_INLINE_CRYPTO_ENGINE
> + tristate
> + select QCOM_SCM
> +
> +config QCOM_MDT_LOADER
> + tristate
> + select QCOM_SCM
> +
> +config QCOM_PDR_HELPERS
> + tristate
> + select QCOM_QMI_HELPERS
> + select QCOM_PDR_MSG
> + depends on NET
> +
> +config QCOM_QMI_HELPERS
> + tristate
> + depends on NET
also:
QCOM_KRYO_L2_ACCESSORS -> drivers/perf/Kconfig
QCOM_SPM -> drivers/cpuidle/Kconfig.arm
Konrad
next prev parent reply other threads:[~2026-04-29 9:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-29 8:56 [PATCH 0/4] soc: qcom: Kconfig improvements Krzysztof Kozlowski
2026-04-29 8:56 ` [PATCH 1/4] soc: qcom: Hide all drivers behind selectable menu Krzysztof Kozlowski
2026-04-29 9:28 ` Konrad Dybcio [this message]
2026-04-29 15:30 ` Krzysztof Kozlowski
2026-04-29 8:56 ` [PATCH 2/4] soc: qcom: Restrict drivers per ARM/ARM64 Krzysztof Kozlowski
2026-04-29 9:03 ` Konrad Dybcio
2026-04-29 9:10 ` Krzysztof Kozlowski
2026-04-29 8:56 ` [PATCH 3/4] soc: qcom: Make important drivers default Krzysztof Kozlowski
2026-04-29 9:06 ` Konrad Dybcio
2026-04-29 16:10 ` Krzysztof Kozlowski
2026-04-29 8:56 ` [PATCH 4/4] ARM: defconfig: qcom: Drop Qualcomm SoC drivers with defaults 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=82602963-6caa-428a-9b39-e0cfd42ae87f@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.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