aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKathiravan Thirumoorthy <kathiravan.thirumoorthy@oss.qualcomm.com>2025-05-19 19:14:01 +0530
committerBjorn Andersson <andersson@kernel.org>2025-06-17 15:49:47 -0500
commit64a026dd896e423a177fe87e11aa69bf5348c27b (patch)
tree73dfac50f0bd6fb35b43bf835d208822b5a4cd51
parentsoc: qcom: fix endianness for QMI header (diff)
downloadwireguard-linux-64a026dd896e423a177fe87e11aa69bf5348c27b.tar.xz
wireguard-linux-64a026dd896e423a177fe87e11aa69bf5348c27b.zip
soc: qcom: socinfo: Add support to retrieve TME build details
Add support to retrieve Trust Management Engine (TME) image details from SMEM, which is present in the IPQ5424 SoC. Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250519-tme-crm-version-v1-1-a6dceadc10aa@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r--drivers/soc/qcom/socinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index 8c4147737c35..391380820f08 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -48,6 +48,7 @@
#define SMEM_IMAGE_TABLE_CDSP1_INDEX 19
#define SMEM_IMAGE_TABLE_GPDSP_INDEX 20
#define SMEM_IMAGE_TABLE_GPDSP1_INDEX 21
+#define SMEM_IMAGE_TABLE_TME_INDEX 28
#define SMEM_IMAGE_VERSION_TABLE 469
/*
@@ -67,6 +68,7 @@ static const char *const socinfo_image_names[] = {
[SMEM_IMAGE_TABLE_CDSP1_INDEX] = "cdsp1",
[SMEM_IMAGE_TABLE_GPDSP_INDEX] = "gpdsp",
[SMEM_IMAGE_TABLE_GPDSP1_INDEX] = "gpdsp1",
+ [SMEM_IMAGE_TABLE_TME_INDEX] = "tme",
};
static const char *const pmic_models[] = {