diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-04-20 19:36:18 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-05-24 20:04:53 -0700 |
commit | a77b2a0b12801a232226d227636236ed89b77043 (patch) | |
tree | 26b2e2648f84acd04e0eae98a644a0162318b27f /drivers/soc/qcom/Kconfig | |
parent | 0be4392435a6a0e16b3eb56a8815ebdbcd44e1a7 (diff) | |
download | linux-stable-a77b2a0b12801a232226d227636236ed89b77043.tar.gz linux-stable-a77b2a0b12801a232226d227636236ed89b77043.tar.bz2 linux-stable-a77b2a0b12801a232226d227636236ed89b77043.zip |
soc: qcom: Introduce RPM master stats driver
Introduce a driver to query and expose detailed, per-subsystem (as opposed
to the existing qcom_stats driver which exposes SoC-wide data) about low
power mode states of a given RPM master. That includes the APSS (ARM),
MPSS (modem) and other remote cores, depending on the platform
configuration.
This is a vastly cleaned up and restructured version of a similar
driver found in msm-5.4.
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230405-topic-master_stats-v6-2-2277b4433748@linaro.org
Diffstat (limited to 'drivers/soc/qcom/Kconfig')
-rw-r--r-- | drivers/soc/qcom/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index a491718f8064..e597799e8121 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -135,6 +135,17 @@ config QCOM_RMTFS_MEM Say y here if you intend to boot the modem remoteproc. +config QCOM_RPM_MASTER_STATS + tristate "Qualcomm RPM Master stats" + depends on ARCH_QCOM || COMPILE_TEST + help + The RPM Master sleep stats driver provides detailed per-subsystem + sleep/wake data, read from the RPM message RAM. It can be used to + assess whether all the low-power modes available are entered as + expected or to check which part of the SoC prevents it from sleeping. + + Say y here if you intend to debug or monitor platform sleep. + config QCOM_RPMH tristate "Qualcomm RPM-Hardened (RPMH) Communication" depends on ARCH_QCOM || COMPILE_TEST |