[PATCH 2/4] soc: qcom: Restrict drivers per ARM/ARM64
Krzysztof Kozlowski
krzysztof.kozlowski at oss.qualcomm.com
Wed Apr 29 01:56:33 PDT 2026
There is no point to allow selecting core SoC drivers for Qualcomm ARMv7
SoCs when building ARM64 kernel, and vice versa.
This makes kernel configuration more difficult as many do not remember
the Qualcomm SoCs model names/numbers and their properties like
architecture. No features should be lost because:
1. There won't be a single image for ARMv7 and ARMv8/9 SoCs.
2. Newer ARMv8/9 SoCs won't be running in arm32 emulation mode.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
---
drivers/soc/qcom/Kconfig | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 62ce1c67d684..9a050ba1dbcb 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -19,6 +19,7 @@ config QCOM_AOSS_QMP
tristate "Qualcomm AOSS Driver"
depends on MAILBOX
depends on COMMON_CLK && PM
+ depends on ARM64 || COMPILE_TEST
select PM_GENERIC_DOMAINS
help
This driver provides the means of communicating with and controlling
@@ -37,6 +38,7 @@ config QCOM_COMMAND_DB
config QCOM_GENI_SE
tristate "QCOM GENI Serial Engine Driver"
+ depends on ARM64 || COMPILE_TEST
help
This driver is used to manage Generic Interface (GENI) firmware based
Qualcomm Technologies, Inc. Universal Peripheral (QUP) Wrapper. This
@@ -45,6 +47,7 @@ config QCOM_GENI_SE
config QCOM_GSBI
tristate "QCOM General Serial Bus Interface"
+ depends on ARM || COMPILE_TEST
select MFD_SYSCON
help
Say y here to enable GSBI support. The GSBI provides control
@@ -53,6 +56,7 @@ config QCOM_GSBI
config QCOM_LLCC
tristate "Qualcomm Technologies, Inc. LLCC driver"
+ depends on ARM64 || COMPILE_TEST
select REGMAP_MMIO
help
Qualcomm Technologies, Inc. platform specific
@@ -108,6 +112,7 @@ config QCOM_PMIC_GLINK
depends on DRM
depends on NET
depends on OF
+ depends on ARM64 || COMPILE_TEST
select AUXILIARY_BUS
select QCOM_PDR_HELPERS
select DRM_AUX_HPD_BRIDGE
@@ -242,6 +247,7 @@ config QCOM_APR
tristate "Qualcomm APR/GPR Bus (Asynchronous/Generic Packet Router)"
depends on RPMSG
depends on NET
+ depends on ARM64 || COMPILE_TEST
select QCOM_PDR_HELPERS
help
Enable APR IPC protocol support between
@@ -251,6 +257,7 @@ config QCOM_APR
config QCOM_ICC_BWMON
tristate "QCOM Interconnect Bandwidth Monitor driver"
+ depends on ARM64 || COMPILE_TEST
select PM_OPP
select REGMAP_MMIO
help
@@ -265,6 +272,7 @@ config QCOM_ICC_BWMON
config QCOM_PBS
tristate "PBS trigger support for Qualcomm Technologies, Inc. PMICS"
+ depends on ARM64 || COMPILE_TEST
depends on SPMI
help
This driver supports configuring software programmable boot sequencer (PBS)
--
2.51.0
More information about the linux-arm-kernel
mailing list