summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPriyansh Jain <priyansh.jain@oss.qualcomm.com>2026-05-08 15:37:00 +0530
committerDaniel Lezcano <daniel.lezcano@kernel.org>2026-09-27 23:00:41 +0200
commiteca1247443d41f695c389e4109c2d7986f8fd95e (patch)
tree97ad0628189312a9825da34a7f386b430c877436 /tools/perf/scripts/python/bin
parentc337b60bdadc819c39f802d8e6418c320c580e0e (diff)
thermal/drivers/qcom/tsens: Widen temperature limits to match hardware range
The TSENS v2 software driver currently clamps trip_min_temp and trip_max_temp to -40°C and 120°C respectively. However, the TSENS v2 hardware temperature threshold registers support a wider programmable range from -204°C to +204°C. On newer chipsets using TSENS v2, devices may legitimately operate beyond the existing software limits (for example, up to 130°C). When a trip temperature is programmed outside the software clamped range, it is constrained to 120°C on the upper end or -40°C on the lower end. If the actual temperature continues to exceed this clamped limit, the threshold is immediately violated again, which can result in a continuous interrupt storm. Expand the TSENS v2 software trip temperature limits to match the full hardware supported range (-204°C to +204°C). This avoids repeated threshold reprogramming and ensures correct trip handling on TSENS v2 based platforms. Signed-off-by: Priyansh Jain <priyansh.jain@oss.qualcomm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://patch.msgid.link/20260508100700.772985-3-priyansh.jain@oss.qualcomm.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions