From nobody Sat Oct 11 08:26:17 2025 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 3A9B822D4F1; Wed, 11 Jun 2025 06:38:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749623896; cv=none; b=LpQN+Fs+gAMdRIRGV8/sfO9TyQgFKqU+3us+y8vPtMRoY0G1m3vng/RYawA1KXKnpvtlo5riBAwJp3PXjXD1X+Wv/dzxo2oGi1nwpnYdVhVp+rCiXCUIZHWUQBejBYRiUZXtH7Din46s2q1PWMjzRxkTknNy7maVwaN6kCtIWdA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749623896; c=relaxed/simple; bh=khWMDJprDx37PU5uXbpU1bwIkURj4ePwzh4m9aSAUc0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PIlcDsvjRkTRIcILZoCnj+xYeccXolWmgz6g6igigPxslqSHKWjugBKJS0+sENRFmVNYHDNTX8laITf9EoEyR4Q5EjazGFPseir3bh9VOOUZ4vVeXEBnCmu5tQ9OHbu0uNa9yD9L8Asz4GBJOCTmHrkEi/gxo19UeGfeoonMftQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=IN6in0Pa; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="IN6in0Pa" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 55AIPqgl023665; Wed, 11 Jun 2025 06:38:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 7z1AdV26dRKNSLLD9ojaztR5K5WBMo0d73u6vyMdlkI=; b=IN6in0PaISwJOMis SysQolTPzFaKdJLhl854/2M/LTmd/K3DGFw0Mju+F/FzGMfmO/7jZ0ofYy2Cyl+E lyUhGCVVNH13gvFl/H09uyUbEM8qYtgt+ZilHVy8g2m0JSgW3+F2IXSkgL4PniNe ld6oYWR0Iu1lM8HN+cCUCyXrhMx/ndikT59uJidMgeaURfNHacPDnTiRG8j3672O jW5HHua74rXT3Fy8td5cmIVPl8yzfE4nnOTAJc2Mz4n7YDw6/WZ59J11Ej+H2ymT OVYaQnC3pY3hFTvnQrA3AkJGy9GLxbcPcGXCHLf0UyUsu6vSCfu/bM5igsEXPMte k3QzZg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 474eqckwve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jun 2025 06:38:12 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 55B6cBOB018846 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jun 2025 06:38:11 GMT Received: from hu-gkohli-hyd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 10 Jun 2025 23:38:08 -0700 From: Gaurav Kohli To: , , , , , CC: , , , , Gaurav Kohli Subject: [PATCH v2 1/2] dt-bindings: thermal: tsens: Add QCS615 compatible Date: Wed, 11 Jun 2025 12:07:42 +0530 Message-ID: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjExMDA1NyBTYWx0ZWRfX3lDkSy6SXvmQ VFvuJM3pFFM3S8z1FVZ5HV0EtwJAcjy7qA/dSVPKlYpPGRNPHxDE6MG+khsUeAd2Nuejvp2yJiJ BHUz2NyDKQmJRvvde6W+zFSDRVtwf4CvbdhyLJXYGjtz8EfI2XzRks0WaD6XF/qS3q9YFMuOlVw +mENDWqxdZcDamu+3qDmbu69PxQgRVeL8MyiZPTlJmlLHkL4wxk9Gfyu3GdrYFP2dsEhhr7lHnW qYRlE9DeLJJ2sgeiXJNy3kJmNKSRQZaAA4qm+CClEksBpulWzxjibzoGpkXpJtkPVuS4bYyxXri OzYlDUbr22zE4p8O+FZLqOttc4/VPiW9jt9GMJ3eyrbJyYqkf2+DSOW6EacU9t4rrVCdEOXouI4 m1q8GVGgWEYHUlELu/J4Fdg64FzhMilzY23/kI7ndESXuKmeGBkloVSBtBvwqqi99QQwGvOW X-Authority-Analysis: v=2.4 cv=Q7TS452a c=1 sm=1 tr=0 ts=68492454 cx=c_pps a=JYp8KDb2vCoCEuGobkYCKw==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=GEpy-HfZoHoA:10 a=6IFa9wvqVegA:10 a=COk6AnOGAAAA:8 a=VwQbUJbxAAAA:8 a=Pr_X6dJPkNF1GrwpdJQA:9 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: yPO4Ggdu4Yziffx56CSBMWaXCOn3mpDZ X-Proofpoint-ORIG-GUID: yPO4Ggdu4Yziffx56CSBMWaXCOn3mpDZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-06-11_02,2025-06-10_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 impostorscore=0 priorityscore=1501 malwarescore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506110057 Content-Type: text/plain; charset="utf-8" Add compatibility string for the thermal sensors on QCS615 platform. Signed-off-by: Gaurav Kohli Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Do= cumentation/devicetree/bindings/thermal/qcom-tsens.yaml index f9d8012c8cf5..de9b667a79d3 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -52,6 +52,7 @@ properties: - qcom,msm8996-tsens - qcom,msm8998-tsens - qcom,qcm2290-tsens + - qcom,qcs615-tsens - qcom,sa8255p-tsens - qcom,sa8775p-tsens - qcom,sar2130p-tsens --=20 2.34.1 From nobody Sat Oct 11 08:26:17 2025 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 EC07A22B5AD; Wed, 11 Jun 2025 06:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749623902; cv=none; b=pPVATQOrCpoRPWZeXvvPTSzdE+4HaZF0n00b7aT+2Z4kTPPl8wOrNkbvFfBHy8xFjMPaic1RIvRHmAL4+ZX9AhCKcLSxWtnTanlItWiJuEqkuphhwsocY7D3ZThY2ZCbIbCAB0fwXvDbsyRXxK6ylI7/dZ4KeptFcg+tdsYpFdk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749623902; c=relaxed/simple; bh=by01+6bkiNjcw2guSx+ZK5tYg3bKc4RqWti/1PN0ivE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lYrzv8xCOKPenkalczZNLWeCu7o4nMa9VtySVk2Gg1nw62UyK0g1F9h2yyaf7z2+O6Zm1mq9GpjGohAhVL55QcW4fxo3hucQORvJ5WPupGqSis6pI5q6FWU9QM/Rf0TBXb2JWTj9eaGkAEnU/GL+IVISpYolN7aTWM/6uCAv4/k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ASkqsBsq; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ASkqsBsq" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 55AIPqCf023657; Wed, 11 Jun 2025 06:38:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= KWcjnl5rnaEBQHdaSbbvBEgn0HyplXQ8bEiwzfkxnzk=; b=ASkqsBsqB6l44lfF fm4A+Ce8EjTnLW2E/BKkuIXe5wXUk5Di7u56eZ9aGYXKtymeWmrmAnRHgeJb8bXK swYFap969HFDabImV2++UAojODOxdV9OrW5wB26at5P3dpk6nC+l8xqStKJ605z7 1gpZX8HXn1nT2H+IqEUP0cS9T8V4cF1K66zShIABvH9mm204JkUkB3tDt0M0gLBb zWmWuO/c36WL0NqzvLR/uE9U8URbYY7/B5oSNDFOciCLBYOTQSHsk4B2vrzZHTZk fozgN5BWS8IwTK0uRSbUlrOv+gXNoEMoGGgT7LYRIJObetlUGTsTm7TGqWoW9rvS TFF6pA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 474eqckwvk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jun 2025 06:38:15 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 55B6cFJ5005592 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jun 2025 06:38:15 GMT Received: from hu-gkohli-hyd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 10 Jun 2025 23:38:11 -0700 From: Gaurav Kohli To: , , , , , CC: , , , , Gaurav Kohli Subject: [PATCH v2 2/2] arm64: dts: qcom: qcs615: Enable TSENS support for QCS615 SoC Date: Wed, 11 Jun 2025 12:07:43 +0530 Message-ID: <1758b5c2d839d40a9cb1dd17c734f36c279ac81c.1744955863.git.gkohli@qti.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjExMDA1NyBTYWx0ZWRfXzm7B7mnx80XO dGV9YQAToALi/SenPMqqPc0cgp/deV+DO18nS/l5x2VOogg3AHNEXc+I5VCY1Duo2zhUiX3yPzV M+i8KtvqGqfmWlwnPx2xjtaU0ZA8tLQpmFnbXxE5tqRVEaXLqltWXovrwQpMEFIhwll0/qn2e2r wdgjFIkMi+WNPgtpeMErgnJkXIKpABADSHPVq26JpJegeafoghAFUwe4Eaty7NccYPK4aI004Bn IDODDjbS6U5NiXafVzyd3HcLNipAUvVS2AEWAP921+gcMIH1vxr6eGKKYcS1WrQFPX3MLho63Ks zU5utEsdcTmJ+hAK607PiGp4kBDUVLlhYJGfrHiqiehwSd7naa8NAnLh8uIdOD5Yg8c1huT7jEo 9svUjiXIWab7zxcc0hOhZmFYW+/HCJ/1nWtstz8RTZr19pBYxS5k0IR3l2YQW37Sk0Ynn+iJ X-Authority-Analysis: v=2.4 cv=Q7TS452a c=1 sm=1 tr=0 ts=68492457 cx=c_pps a=JYp8KDb2vCoCEuGobkYCKw==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=GEpy-HfZoHoA:10 a=6IFa9wvqVegA:10 a=COk6AnOGAAAA:8 a=3mcCAZ4DCuo2i6UhkvcA:9 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: vDvCwaLDXnUE7QlqJcvz9qMER7jKq6aZ X-Proofpoint-ORIG-GUID: vDvCwaLDXnUE7QlqJcvz9qMER7jKq6aZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-06-11_02,2025-06-10_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 mlxscore=0 spamscore=0 mlxlogscore=658 bulkscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 impostorscore=0 priorityscore=1501 malwarescore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506110057 Content-Type: text/plain; charset="utf-8" Add TSENS and thermal devicetree node for QCS615 SoC. Signed-off-by: Gaurav Kohli --- arch/arm64/boot/dts/qcom/qcs615.dtsi | 217 +++++++++++++++++++++++++++ 1 file changed, 217 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qco= m/qcs615.dtsi index edfb796d8dd3..bbc132a1df46 100644 --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi @@ -3668,6 +3668,17 @@ usb_2_dwc3: usb@a800000 { maximum-speed =3D "high-speed"; }; }; + + tsens0: tsens@c222000 { + compatible =3D "qcom,qcs615-tsens", "qcom,tsens-v2"; + reg =3D <0x0 0x0c263000 0x0 0x1ff>, + <0x0 0x0c222000 0x0 0x8>; + interrupts =3D , + ; + interrupt-names =3D "uplow", "critical"; + #qcom,sensors =3D <16>; + #thermal-sensor-cells =3D <1>; + }; }; =20 arch_timer: timer { @@ -3677,4 +3688,210 @@ arch_timer: timer { , ; }; + + thermal-zones { + aoss-thermal { + thermal-sensors =3D <&tsens0 0>; + + trips { + trip-point0 { + temperature =3D <110000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + }; + }; + + cpuss-0-thermal { + thermal-sensors =3D <&tsens0 1>; + + trips { + cpuss0-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + cpuss-1-thermal { + thermal-sensors =3D <&tsens0 2>; + + trips { + cpuss1-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + cpuss-2-thermal { + thermal-sensors =3D <&tsens0 3>; + + trips { + cpuss2-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + cpuss-3-thermal { + thermal-sensors =3D <&tsens0 4>; + + trips { + cpuss3-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + cpu-1-0-thermal { + thermal-sensors =3D <&tsens0 5>; + + trips { + cpu-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + cpu-1-1-thermal { + thermal-sensors =3D <&tsens0 6>; + + trips { + cpu-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + cpu-1-2-thermal { + thermal-sensors =3D <&tsens0 7>; + + trips { + cpu-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + cpu-1-3-thermal { + thermal-sensors =3D <&tsens0 8>; + + trips { + cpu-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + gpu-thermal { + thermal-sensors =3D <&tsens0 9>; + + trips { + trip-point0 { + temperature =3D <105000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + + trip-point1 { + temperature =3D <110000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + }; + }; + + q6-hvx-thermal { + thermal-sensors =3D <&tsens0 10>; + + trips { + trip-point0 { + temperature =3D <105000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + + trip-point1 { + temperature =3D <110000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + }; + }; + + mdm-core-thermal { + thermal-sensors =3D <&tsens0 11>; + + trips { + trip-point0 { + temperature =3D <110000>; + hysteresis =3D <10000>; + type =3D "passive"; + }; + }; + }; + + camera-thermal { + thermal-sensors =3D <&tsens0 12>; + + trips { + trip-point0 { + temperature =3D <110000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + }; + }; + + wlan-thermal { + thermal-sensors =3D <&tsens0 13>; + + trips { + trip-point0 { + temperature =3D <110000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + }; + }; + + display-thermal { + thermal-sensors =3D <&tsens0 14>; + + trips { + trip-point0 { + temperature =3D <110000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + }; + }; + + video-thermal { + thermal-sensors =3D <&tsens0 15>; + + trips { + trip-point0 { + temperature =3D <110000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + }; + }; + }; }; --=20 2.34.1