From nobody Fri Apr 3 01:25:08 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBD66347536 for ; Wed, 25 Mar 2026 11:20:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774437620; cv=none; b=V42TWkFw5rkqkmyHhJCUl3EcPiNiuMAChUh+Sf1d9z2QHX8ASi7A5DVGrNRRZd+CoPTcBSpFKBxDWbAQdQlUdRWxVQoK7s+1PrVF8ElZvqNN2eFmjmqomwJe51G7NbpNQBC5Ho4KIJT7MUTJrPlcoTsNIInwptYutPoYJ0Ux/sI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774437620; c=relaxed/simple; bh=PjslLB/GbcgsSodW4fDgHrU9aZkQCqY0rf+GL6i5q/w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=F8goN+HPOfEm/6OijFVXFloc0qhu3l9+FeITIcmUqgwRAGAPB3L8v97DIxgEBTIhkc/Prv4U28uf72JiO0mGVjzB6SoE6kb749UXMgFDR/BOCYqOsC7O9ADmTR4ZtJ40YvJgJtAyCkPecRyQC5g+neYzxjTlBaIa+k6+yWUuJO8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=eaRo5LZ/; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Go+RNbyi; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="eaRo5LZ/"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Go+RNbyi" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62PBGdmY1626601 for ; Wed, 25 Mar 2026 11:20:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=AkiAZ6h8OtSPjYVRefLK3n rZ0DYlkD25XClzqpyMgCM=; b=eaRo5LZ/5cx5q39wrRL9QPzmRkMKLrhWbWceof 4GALgqJuoeYd8DWEBQG/189Hf0o4RaVPPZD1lZzjXkUDX5PmVrkHnd/qocqGotXY NVMmA6TM2ZB2VVjV33/932AwJVtPcnqzK06Tsxkh0WKblwXIGXIDhQtvR5ByD8mV 0ERDLAEFCyZDiej2DSU+kMAzpMXorkjify4lh7iCgfwt2IuxvJadxhugMpFkpGX+ 3ecqbs8Hevnrzc/x+6SyhUkW7YrNUerLhk6HyE/7scEur2Zeh82MRDm/Ouh+ETVH 4WMj/uElq2VGAkcvzqhxdlq5Md/zl8Qjl8AKZojnAdcoa26w== Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d489whg8x-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 25 Mar 2026 11:20:17 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-35c0cbe0f64so4206966a91.0 for ; Wed, 25 Mar 2026 04:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1774437617; x=1775042417; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=AkiAZ6h8OtSPjYVRefLK3nrZ0DYlkD25XClzqpyMgCM=; b=Go+RNbyijB7wfjogxsR/+vkAqxB6121HVBSUTLZapndu8iQPcOpU+e3nMKDhKuEnVr ChDcbQitORG0jBzQBM09qC8JRuhspDZwDAAwUpEyZGJrLjWKNCn0/BD5IabRMA19K2VM htTMeleuCPmxjQT58DBVerkQPqurDJ65zaxd3kqEK6hlXEcx++LgaG8+3y29CymX50Pf yHJkEZl/sf8x5ic6t6O3K/faYLamPyNxetTSXrVONlN6khbk4t5vsT4Vi99a6ys1HV9U HGbm294rGEjCicbuVFSCI8KQ3nv7u3rqMS8mx7EEXZGEJ8X+CEZmqfhFChy77hWnH4+r XMlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774437617; x=1775042417; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AkiAZ6h8OtSPjYVRefLK3nrZ0DYlkD25XClzqpyMgCM=; b=B4/155BSjvSPZRSwePy8BwB7FtwS5FZAvDnXk9h8yLkBKbtSfRbdTGUo73spWmcvrN vIVn9oogYPbLqtO0qQnCYr61wrXtPHypJpnvUgmDncoVt8HWq+sXvlI6tMkbUu1QJOcl nkEL8vlENECKCf8nUSjJhNcAo8aBfuogdgmQ7p83VwJwrXiKJnfatYh3CFB+LgM5p46g vnKfxbhNfJf887+hl27KM+jyR+97Joiyno2JQJPSPK8o/sw4hlhEhlkooV1jLCq6QsvS SdkEfn9mKeQXv25b6tt2w4a3RbLle1So10+FVlBkbE+HqFp0kkChVSjuT/GZd3Kp3FXZ xyOg== X-Forwarded-Encrypted: i=1; AJvYcCXJGN+fha+//J3YZnv/n024GCXhiYnuX586g4ctOz1oA/X85DV5HRmO3QmhXnJA+K2hxviop2/1FMctR+w=@vger.kernel.org X-Gm-Message-State: AOJu0YwPoyYdmXQF/ygHPR1la7Zr7PPl1J4P+LLI9G9EWMGiOROvvYQO nQCE1Otp0HQ/4faM8zJtlTmtpp6j8Htbua8sQ/OAZ3FRhIFjHceFzhRbteTT/9JSp+2PKyLRMJh suVJ9eiOc0uQ7fVYOH8l0sJn6n0Uk+xfM2C3f3Ne/PCIyRqh3m0mWY+u8IMH4aTErCkE= X-Gm-Gg: ATEYQzy8FBuCvokk0Rl6FwjsxO0C14HcmHaGqn73NordGoC+S5IPA5MN9J7yav0YxhD CgI0rc0HlLMf72ArVtkYXrkJlm62b76cQdwIod5Ll8ox/zrdiXo3v06g3+NsroePbSkgxFxnQ8e FAJsQh4mEaHewkmWiI9nrpQWdzGVCkRA9V6sifQYJ5mUBZ59ijKFVmp9ikj4uJ8je25AylDLWBP I9ppUgEkFGUKlGfp7Q21991V5i/bdyHfwnOCSUmWKdTIQ2m1yIeqZfTR7cgPVPIaATehdZb9Wf0 pvdsqLROS4kIwZue4VB2/w9Tpls3zTaABO5eZRZDZZ+3+9muMr30VEw/+F3PMxSk7zx7cPv1F20 9fmnuwInpnzpJQ//N+ao9iVwXQZeff85ix8XZO8yiz3Pal0sUK9s= X-Received: by 2002:a17:90b:3fcd:b0:359:fd9a:c513 with SMTP id 98e67ed59e1d1-35c0dd6ea20mr2843422a91.24.1774437616447; Wed, 25 Mar 2026 04:20:16 -0700 (PDT) X-Received: by 2002:a17:90b:3fcd:b0:359:fd9a:c513 with SMTP id 98e67ed59e1d1-35c0dd6ea20mr2843384a91.24.1774437615795; Wed, 25 Mar 2026 04:20:15 -0700 (PDT) Received: from hu-gkohli-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c743a818114sm12253810a12.12.2026.03.25.04.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2026 04:20:15 -0700 (PDT) From: Gaurav Kohli Date: Wed, 25 Mar 2026 16:50:00 +0530 Subject: [PATCH v2] arm64: dts: qcom: sm8750: Enable TSENS and thermal zones Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260325-sm8750_tsens-v2-1-8a554e54dc1b@oss.qualcomm.com> X-B4-Tracking: v=1; b=H4sIAN/Ew2kC/1XMQQ7CIBCF4as0s5aGgrTiynuYxiBOLYkFZSrRN NxdbNy4meSf5H0LEEaHBPtqgYjJkQu+hNhUYEfjr8jcpTQILlouuWY07TrFTzOhJ6b0oFG28qx 1C2Vyjzi418od+9KjoznE96qn5vv9QY38h1LDOBOKD9bKTm+NOASi+vE0NxumqS4H+pzzB0xw2 zqvAAAA X-Change-ID: 20260309-sm8750_tsens-59f9e363b996 To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, aastha.pandey@oss.qualcomm.com, dipa.mantre@oss.qualcomm.com, Manaf Meethalavalappu Pallikunhi , Gaurav Kohli , Konrad Dybcio X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774437611; l=18490; i=gaurav.kohli@oss.qualcomm.com; s=20260302; h=from:subject:message-id; bh=4jWUxyH4mMg1bhH12ZVcKvZjbKQZEeBpUaOc8pEXrZc=; b=FU8YlsHsp+5Knrd8UtuDIDaRBEXQ/sHJO0ZU4ubCwqcBjUMVVL7Aopus/AT+s/4IaqIwgrJg8 JJOZT1xSKcVAgCGSDIAvQpFJ/8MQiE4GeKj/VOmcVrzPgHdmY2HSWv6 X-Developer-Key: i=gaurav.kohli@oss.qualcomm.com; a=ed25519; pk=IdNsqe8rWsF6dbpGHfwPEH9zM0nbOdRH72HxUT9qPak= X-Proofpoint-GUID: u-qP_1WElDxoMy2LNZ5G_wcDonVHdBrV X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzI1MDA4MCBTYWx0ZWRfX5pecajJBEugk V9sOkiFHCkWjnQ4cJDxtnCV3lJ0Fvd/M+WeVJBt3E1/Y6VJXjEGSH8IulSo2DKBHm2tigA0gPrB NBLVc/h5tcxItlBD6zT/oTHkyDojKNexXpE2CWvn/+zinLtgVy+VNAdAfGNR4L1jS6LpCw2bCuU XpnhltZnorwWT74x+5Jxp6mNBaI1ioGGQX5ZKNwu66xfV/Pt5RRQjsJ/kahCn+BCu7CWUiLfFcq /g6NdEmBShLeV5B8YZx2dlU/OCqa0uaBhoB9uPmy3wcN/ZOqoTVBq41UsJunUayyg6kpxTFEWYA rEdnB4EveqEk3DmnqKz00Et7/UhxoiUt9k1xgaAagyaLdgr/vVWqFLrS/D1DoAGiJ5wYbPoY7gP nUDZ3l8mOmLBbMo6YgAlL2AZ684zWhxKGQ8QxjqjrawZHKrx4x4ekKNxeEqk/lAInLLVeObtMC6 AmnBhHl0hA+/v1/Szkg== X-Authority-Analysis: v=2.4 cv=e/gLiKp/ c=1 sm=1 tr=0 ts=69c3c4f1 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=Vhz7AfH1-bsduPmLJRsA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=mQ_c8vxmzFEMiUWkPHU9:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: u-qP_1WElDxoMy2LNZ5G_wcDonVHdBrV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-25_03,2026-03-24_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 clxscore=1015 impostorscore=0 adultscore=0 suspectscore=0 malwarescore=0 spamscore=0 priorityscore=1501 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603250080 From: Manaf Meethalavalappu Pallikunhi The sm8750 includes four TSENS instances, with a total of 47 thermal sensors distributed across various locations on the SoC. The TSENS max/reset threshold is configured to 130=C2=B0C in the hardware. Enable all TSENS instances, and define the thermal zones with a hot trip at 120=C2=B0C and critical trip at 125=C2=B0C. Signed-off-by: Manaf Meethalavalappu Pallikunhi Signed-off-by: Gaurav Kohli Reviewed-by: Konrad Dybcio --- Changes in v2: - Fix tsens order in device tree file. - Add R-B from Konrad. - Link to v1: https://lore.kernel.org/r/20260313-sm8750_tsens-v1-0-250fcc37= 94a2@oss.qualcomm.com --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 897 +++++++++++++++++++++++++++++++= ++++ 1 file changed, 897 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qco= m/sm8750.dtsi index 8b1b51558dcb..18fb52c14acd 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -22,6 +22,7 @@ #include #include #include +#include =20 / { interrupt-parent =3D <&intc>; @@ -3447,6 +3448,54 @@ pdc: interrupt-controller@b220000 { interrupt-controller; }; =20 + tsens0: thermal-sensor@c228000 { + compatible =3D "qcom,sm8750-tsens", "qcom,tsens-v2"; + reg =3D <0x0 0x0c228000 0x0 0x1000>, + <0x0 0x0c222000 0x0 0x1000>; + interrupts =3D , + ; + interrupt-names =3D "uplow", + "critical"; + #qcom,sensors =3D <15>; + #thermal-sensor-cells =3D <1>; + }; + + tsens1: thermal-sensor@c229000 { + compatible =3D "qcom,sm8750-tsens", "qcom,tsens-v2"; + reg =3D <0x0 0x0c229000 0x0 0x1000>, + <0x0 0x0c223000 0x0 0x1000>; + interrupts =3D , + ; + interrupt-names =3D "uplow", + "critical"; + #qcom,sensors =3D <7>; + #thermal-sensor-cells =3D <1>; + }; + + tsens2: thermal-sensor@c22a000 { + compatible =3D "qcom,sm8750-tsens", "qcom,tsens-v2"; + reg =3D <0x0 0x0c22a000 0x0 0x1000>, + <0x0 0x0c224000 0x0 0x1000>; + interrupts =3D , + ; + interrupt-names =3D "uplow", + "critical"; + #qcom,sensors =3D <16>; + #thermal-sensor-cells =3D <1>; + }; + + tsens3: thermal-sensor@c22b000 { + compatible =3D "qcom,sm8750-tsens", "qcom,tsens-v2"; + reg =3D <0x0 0x0c22b000 0x0 0x1000>, + <0x0 0x0c225000 0x0 0x1000>; + interrupts =3D , + ; + interrupt-names =3D "uplow", + "critical"; + #qcom,sensors =3D <9>; + #thermal-sensor-cells =3D <1>; + }; + aoss_qmp: power-management@c300000 { compatible =3D "qcom,sm8750-aoss-qmp", "qcom,aoss-qmp"; reg =3D <0x0 0x0c300000 0x0 0x400>; @@ -5893,6 +5942,854 @@ compute-cb@14 { }; }; =20 + thermal-zones { + aoss0-thermal { + thermal-sensors =3D <&tsens0 0>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + aoss0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-0-0-thermal { + thermal-sensors =3D <&tsens0 1>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-0-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-0-1-thermal { + thermal-sensors =3D <&tsens0 2>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-0-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-1-0-thermal { + thermal-sensors =3D <&tsens0 3>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-1-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-1-1-thermal { + thermal-sensors =3D <&tsens0 4>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-1-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-2-0-thermal { + thermal-sensors =3D <&tsens0 5>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-2-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-2-1-thermal { + thermal-sensors =3D <&tsens0 6>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-2-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-3-0-thermal { + thermal-sensors =3D <&tsens0 7>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-3-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-3-1-thermal { + thermal-sensors =3D <&tsens0 8>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-3-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-4-0-thermal { + thermal-sensors =3D <&tsens0 9>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-4-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-4-1-thermal { + thermal-sensors =3D <&tsens0 10>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-4-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-5-0-thermal { + thermal-sensors =3D <&tsens0 11>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-5-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-0-5-1-thermal { + thermal-sensors =3D <&tsens0 12>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-0-5-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpuss-0-0-thermal { + thermal-sensors =3D <&tsens0 13>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpuss-0-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpuss-0-1-thermal { + thermal-sensors =3D <&tsens0 14>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpuss-0-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + aoss1-thermal { + thermal-sensors =3D <&tsens1 0>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + aoss1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-1-0-0-thermal { + thermal-sensors =3D <&tsens1 1>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-1-0-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-1-0-1-thermal { + thermal-sensors =3D <&tsens1 2>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-1-0-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-1-1-0-thermal { + thermal-sensors =3D <&tsens1 3>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-1-1-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpu-1-1-1-thermal { + thermal-sensors =3D <&tsens1 4>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpu-1-1-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpuss-1-0-thermal { + thermal-sensors =3D <&tsens1 5>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpuss-1-0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + cpuss-1-1-thermal { + thermal-sensors =3D <&tsens1 6>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + cpuss-1-1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + aoss2-thermal { + thermal-sensors =3D <&tsens2 0>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + aoss2-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + gpuss0-thermal { + thermal-sensors =3D <&tsens2 1>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + gpuss0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + gpuss1-thermal { + thermal-sensors =3D <&tsens2 2>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + gpuss1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + gpuss2-thermal { + thermal-sensors =3D <&tsens2 3>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + gpuss2-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + gpuss3-thermal { + thermal-sensors =3D <&tsens2 4>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + gpuss3-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + gpuss4-thermal { + thermal-sensors =3D <&tsens2 5>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + gpuss4-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + gpuss5-thermal { + thermal-sensors =3D <&tsens2 6>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + gpuss5-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + gpuss6-thermal { + thermal-sensors =3D <&tsens2 7>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + gpuss6-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + gpuss7-thermal { + thermal-sensors =3D <&tsens2 8>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + gpuss7-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + modem0-thermal { + thermal-sensors =3D <&tsens2 9>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + modem0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + modem1-thermal { + thermal-sensors =3D <&tsens2 10>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + modem1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + modem2-thermal { + thermal-sensors =3D <&tsens2 11>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + modem2-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + modem3-thermal { + thermal-sensors =3D <&tsens2 12>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + modem3-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + camera0-thermal { + thermal-sensors =3D <&tsens2 13>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + camera0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + camera1-thermal { + thermal-sensors =3D <&tsens2 14>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + camera1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + video-thermal { + thermal-sensors =3D <&tsens2 15>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + video-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + aoss3-thermal { + thermal-sensors =3D <&tsens3 0>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + aoss3-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + nsphvx0-thermal { + thermal-sensors =3D <&tsens3 1>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + nsphvx0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + nsphvx1-thermal { + thermal-sensors =3D <&tsens3 2>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + nsphvx1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + nsphvx2-thermal { + thermal-sensors =3D <&tsens3 3>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + nsphvx2-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + nsphmx0-thermal { + thermal-sensors =3D <&tsens3 4>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + nsphmx0-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + nsphmx1-thermal { + thermal-sensors =3D <&tsens3 5>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + nsphmx1-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + nsphmx2-thermal { + thermal-sensors =3D <&tsens3 6>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + nsphmx2-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + nsphmx3-thermal { + thermal-sensors =3D <&tsens3 7>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <5000>; + type =3D "hot"; + }; + + nsphmx3-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + + ddr-thermal { + thermal-sensors =3D <&tsens3 8>; + + trips { + trip-point0 { + temperature =3D <120000>; + hysteresis =3D <2000>; + type =3D "hot"; + }; + + ddr-critical { + temperature =3D <125000>; + hysteresis =3D <0>; + type =3D "critical"; + }; + }; + }; + }; + timer { compatible =3D "arm,armv8-timer"; =20 --- base-commit: 85964cdcad0fac9a0eb7b87a0f9d88cc074b854c change-id: 20260309-sm8750_tsens-59f9e363b996 Best regards, --=20 Gaurav Kohli