diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-06-19 15:04:27 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-07-15 09:54:44 -0700 |
commit | cb0116090e4cff6da2e9abd1c29b8e16491af176 (patch) | |
tree | e380babeaf53b00432cb1e6e5592fa46a1b660e1 /include/linux/soc | |
parent | 7296bd3f0046f87e089499865345ab337598f5ab (diff) |
soc: qcom: smd-rpm: Add QCOM_SMD_RPM_STATE_NUM
Add a preprocessor define to indicate the number of RPM contexts/states.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: Georgi Djakov <djakov@kernel.org>
Link: https://lore.kernel.org/r/20230526-topic-smd_icc-v7-2-09c78c175546@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/linux/soc')
-rw-r--r-- | include/linux/soc/qcom/smd-rpm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/soc/qcom/smd-rpm.h b/include/linux/soc/qcom/smd-rpm.h index 2990f425fdef..e468f94fa323 100644 --- a/include/linux/soc/qcom/smd-rpm.h +++ b/include/linux/soc/qcom/smd-rpm.h @@ -6,6 +6,7 @@ struct qcom_smd_rpm; #define QCOM_SMD_RPM_ACTIVE_STATE 0 #define QCOM_SMD_RPM_SLEEP_STATE 1 +#define QCOM_SMD_RPM_STATE_NUM 2 /* * Constants used for addressing resources in the RPM. |