summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGovind Singh <govinds@codeaurora.org>2018-10-11 13:16:01 +0300
committerSasha Levin <sashal@kernel.org>2024-03-26 18:22:40 -0400
commit1cb169229f8e6a29bd4ec4baf7a095a91ed6c729 (patch)
treea3c2a974d5feefab1f1cd454018a4bd8fc9e97fd
parent4e93392ae27eb5f8ad4efd31cf8f1ecd5fdabe15 (diff)
downloadlinux-stable-1cb169229f8e6a29bd4ec4baf7a095a91ed6c729.tar.gz
linux-stable-1cb169229f8e6a29bd4ec4baf7a095a91ed6c729.tar.bz2
linux-stable-1cb169229f8e6a29bd4ec4baf7a095a91ed6c729.zip
firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface
[ Upstream commit cc53aabcc283c36274d3f3ce9adc4b40c21d4838 ] Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone. Signed-off-by: Govind Singh <govinds@codeaurora.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Acked-by: Niklas Cassel <niklas.cassel@linaro.org> Reviewed-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Stable-dep-of: 117e7dc697c2 ("clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times") Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--include/linux/qcom_scm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
index 116b81ac442a..1637385bcc17 100644
--- a/include/linux/qcom_scm.h
+++ b/include/linux/qcom_scm.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2010-2015, 2018, The Linux Foundation. All rights reserved.
* Copyright (C) 2015 Linaro Ltd.
*
* This program is free software; you can redistribute it and/or modify
@@ -33,6 +33,8 @@ struct qcom_scm_vmperm {
#define QCOM_SCM_VMID_HLOS 0x3
#define QCOM_SCM_VMID_MSS_MSA 0xF
+#define QCOM_SCM_VMID_WLAN 0x18
+#define QCOM_SCM_VMID_WLAN_CE 0x19
#define QCOM_SCM_PERM_READ 0x4
#define QCOM_SCM_PERM_WRITE 0x2
#define QCOM_SCM_PERM_EXEC 0x1