Caleb Connolly 1384436dd8
soc: qcom: add build infrastructure
Add Kconfig / Makefiles to build rpmh and cmd-db drivers.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2024-07-26 01:28:11 +02:00

28 lines
783 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
#
# QCOM Soc drivers
#
menuconfig SOC_QCOM
bool "Qualcomm SOC drivers support"
help
Say Y here if you want to enable Qualcomm SOC drivers support.
if SOC_QCOM
config QCOM_COMMAND_DB
bool "Qualcomm Command DB"
help
Command DB queries shared memory by key string for shared system
resources. Platform drivers that require to set state of a shared
resource on a RPM-hardened platform must use this database to get
SoC specific identifier and information for the shared resources.
config QCOM_RPMH
bool "Qualcomm RPMh support"
depends on QCOM_COMMAND_DB
help
Say y here to support the Qualcomm RPMh (resource peripheral manager)
if you need to control regulators on Qualcomm platforms, say y here.
endif # SOC_QCOM