[PATCH 1/4] soc: qcom: Hide all drivers behind selectable menu

Konrad Dybcio konrad.dybcio at oss.qualcomm.com
Wed Apr 29 02:28:14 PDT 2026


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 at 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



More information about the linux-arm-kernel mailing list