summaryrefslogtreecommitdiff
path: root/include/linux/soc
diff options
context:
space:
mode:
authorNaman Jain <quic_namajain@quicinc.com>2023-06-06 19:16:25 +0530
committerBjorn Andersson <andersson@kernel.org>2023-06-13 11:15:41 -0700
commit158826c73d48097f843bacc1bcafa6dbc114f4e5 (patch)
tree116f3c0de0dd1372a077675aeccf540ac36cd9dc /include/linux/soc
parent677b9e85e8691c0bddc35eebf6d01836e109e5f4 (diff)
soc: qcom: socinfo: Add support for new fields in revision 18
Add support for below fields coming in socinfo structure under v18: * num_kvps: number of key value pairs (KVP) * kvps_offset: the offset of the KVP table from the base address of socinfo structure in SMEM KVP table has boolean values for certain feature flags, used to determine hardware configuration. Signed-off-by: Naman Jain <quic_namajain@quicinc.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230606134626.18790-2-quic_namajain@quicinc.com
Diffstat (limited to 'include/linux/soc')
-rw-r--r--include/linux/soc/qcom/socinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/soc/qcom/socinfo.h b/include/linux/soc/qcom/socinfo.h
index d1cbc49a2a2d..3cc266d8a8b4 100644
--- a/include/linux/soc/qcom/socinfo.h
+++ b/include/linux/soc/qcom/socinfo.h
@@ -65,6 +65,9 @@ struct socinfo {
__le32 nnum_partname_mapping;
/* Version 17 */
__le32 oem_variant;
+ /* Version 18 */
+ __le32 num_kvps;
+ __le32 kvps_offset;
};
#endif