]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: qcom: socinfo: Add support for new fields in revision 20
authorMukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Tue, 4 Nov 2025 13:09:05 +0000 (18:39 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 6 Nov 2025 20:11:54 +0000 (14:11 -0600)
commit6a571d762cda6c25517c5533b8bd06d56028cdcb
tree318be0a539463a8ccdd625edbe6cd0e879a7cd64
parent682921ab33129ec46392b27e9dafcb206c2a08dd
soc: qcom: socinfo: Add support for new fields in revision 20

Add support for socinfo version 20. Version 20 adds a new field
package id and its zeroth bit contain information that can be
can be used to tune temperature thresholds on devices which might
be able to withstand higher temperatures. Zeroth bit value 1 means
that its heat dissipation is better and more relaxed thermal
scheme can be put in place and 0 means a more aggressive scheme
may be needed.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251104130906.167666-1-mukesh.ojha@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/socinfo.c
include/linux/soc/qcom/socinfo.h