From nobody Wed Oct 8 19:18:26 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 5F9EA1F4CAC; Wed, 25 Jun 2025 04:36:59 +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=1750826220; cv=none; b=beRl7Smgdqhqq3V1kPxJojmozsrPHEnlL1PWjklQrNQaqpMUBf2DI7t7jhWPiPEhKIj11kYL4cukfR4R6bI8iRJu17UNj99pAa90IJ9vwHk/Jq4jTi+bFFodSL+U5B9djToYwra8wy8NQkgabIF13XDJ/DKOqYOVqnUlgv4OWns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750826220; c=relaxed/simple; bh=otBZh15OOyjJkHH2CKgAxb2GW+HM0480P32OmU9pIq4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=S8PeBSob90ZINjiIiLRwNnqzRxgHD10h8AyAl5jg5vE3WspBW0YIvLHbbRLwdT7mT3vtOEgs/c0oWFfTXJjc1Qm+G+pYQ9plSuvev7+PIZiW4jK4why1WB8RdLryWTqp6vhgwjOWlR7do8ajTEHevtP2ZxVMtevEYArMH+3uKg0= 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=Fd1RfeVn; 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="Fd1RfeVn" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 55OFtCeD019573; Wed, 25 Jun 2025 04:36:52 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= DESyyby3BI6Fcvb3mJCAa+KVqYOAQbycV1UC39W8JRw=; b=Fd1RfeVn27rCjwbw 1XGFv8grj98VrFGlVflfTxdTj/7xn/bYH9Btkah00+uEWQpEJ+1/rmBID1WgFm52 MejVmeqMlGPuXaYNQAI0EN6x6ASZ445d5cMZsoq1zcXnkb6ZDVI4YlqRCQS/jswI Wqmr8T9FypkTxcYD6dzrNgOPyyWBF/wGJkTeZoiMmdAcNZw5mR6AEgXcX+u7dZ3J wa/jjziLMxPkqmBp7zg/dkmNa8j1ICNDDKUSN88xTXFLeZMqjzrFYKHw3xP7746S AI7+5N9h3YGxPN6y8cpj9G/PsdVi5OqZp5Lflf7A6tUMAT+keBDOn0tnnA7ynKVQ t9AwOw== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 47esa4qqdd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Jun 2025 04:36:52 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 55P4apJh021598 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Jun 2025 04:36:51 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, 24 Jun 2025 21:36:47 -0700 From: Gaurav Kohli To: , , , , , , , CC: , , , , Gaurav Kohli Subject: [PATCH v5 1/2] dt-bindings: thermal: tsens: Add QCS615 compatible Date: Wed, 25 Jun 2025 10:06:25 +0530 Message-ID: <20250625043626.2743155-2-quic_gkohli@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250625043626.2743155-1-quic_gkohli@quicinc.com> References: <20250625043626.2743155-1-quic_gkohli@quicinc.com> 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: nasanex01b.na.qualcomm.com (10.46.141.250) 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-Authority-Analysis: v=2.4 cv=eLYTjGp1 c=1 sm=1 tr=0 ts=685b7ce4 cx=c_pps a=JYp8KDb2vCoCEuGobkYCKw==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=GEpy-HfZoHoA:10 a=6IFa9wvqVegA:10 a=VwQbUJbxAAAA:8 a=COk6AnOGAAAA:8 a=IfUgwc_bth4yghHgifUA:9 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: 6EZvP2rFwHsQE5A98dWDkfj7i_GdxEpO X-Proofpoint-ORIG-GUID: 6EZvP2rFwHsQE5A98dWDkfj7i_GdxEpO X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjI1MDAzMyBTYWx0ZWRfX7BKziKh0a0LW n3nHxVJSTlkwhz5/+n3rT8iHiHrERvKvNmZomT4HR0duU7txz7qJBn4+ppJGtZRPcReqPNz2Ya4 n/Kij96Pf1Pm8QTA5Bs2KiyyUK05hiT6F8PVjSssBXMffn4EzIb1GZQt5x5nVim3uSprFhpa0VZ JT4whFl/vyjyusQ3P6qiu7RU+He960lzNtvxbURzL78ZMai+4emQwy2DadWwvkDR6QgrLM2tmrs 9texqot9RVW18kUIO0xsDx0K30nwdEN3B5fR16zqnFj2unJL3JpJ4YOrSIZe1T+AfOmwjqw8lAn 3FYquQYmeZh1Crg8GFs1eoanjOHu0JA/PDCeTlRzv0xwV6jZreOMgxqSHL49aNGsNkkxyXVjCF5 Q8fNhcGMOEe/hbFRbnaJVxPu3sPqJQ7r6HXWKbJU+1kNOAYbBXrGC3buMZuOUHSeB2DpnkTO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-06-25_01,2025-06-23_07,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 mlxscore=0 clxscore=1015 mlxlogscore=999 suspectscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 spamscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506250033 Content-Type: text/plain; charset="utf-8" Add compatibility string for the thermal sensors on QCS615 platform. Acked-by: Rob Herring (Arm) Signed-off-by: Gaurav Kohli --- 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 0e653bbe9884..c8cc67b65f73 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -53,6 +53,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 Wed Oct 8 19:18:26 2025 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 84B661F8F04; Wed, 25 Jun 2025 04:37:05 +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=1750826227; cv=none; b=R+a+rFSnitRI4EMOIWiRDlXmdUmGgj9n88uycERQccF4ijzgqGYl+S7IXj9qrKaYm7rk3WFHGjWQciebKCgRA76HJcOS9FIKa0v7421PA3aR+uIkQ/Qr5J7nh3GL4utwCBwWBCStWA+Ibd+MufzTJf8bIK5egVeQePrKMc2z4H4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750826227; c=relaxed/simple; bh=pWn49LNA4I1yycTiwukHdmKBrPI5OFgqhgwsK4Mf4LE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IN9vpHtK/jwhqdaDf3yUjhcB/6YqCguv1i95hWEZAbhOF9p0hVyQBQtI1CfexcYDj8PAXCdUc8RZROV/4ngv4YZtORIofcQP6z3QkVmMU325X2IwjbbxOCXonzK1aFAHRWbYNPALprrjYph2GiYscP1zgrRALMFHC9fJ97QsfVs= 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=aBJLjz96; arc=none smtp.client-ip=205.220.180.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="aBJLjz96" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 55P4Cllq012117; Wed, 25 Jun 2025 04:36:56 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= GoM+/GB7+CXx13oQ0cP6U3HrmC9OcVEyI/bcNQ4231s=; b=aBJLjz96YPShbWOK V+xDsVJ18iBpogq5j9NSl5/MhFU/DvMsZZvhHdcysLzF9obu5mccvKbHM8xrFKfc wJNkp4FaA4cWtAiqPHcIQnYFfvqZS1RM0vPrHNe67NDKGotRmnc3D0+iLr1E0wl/ o/iq/uXn50JAgeXfoT17r9dFOU806i8Mx4K9o73Uk6E1Ie+vzQjs0OcwUA0I0mbP GxIC20m/AADJcnUsNP/hMqdHz9bUdLuYfH8/wJANQVjHyyhn2/LiZV1zRN2uRazp t34ostVzlF1ND3kNnF406t0YwOdmxnsqzqHa/Q9EeDeIdnG/a50PBT7HRsD5Guds dKb1UA== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 47fbm1w1hk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Jun 2025 04:36:56 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 55P4atDl020263 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Jun 2025 04:36:55 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, 24 Jun 2025 21:36:51 -0700 From: Gaurav Kohli To: , , , , , , , CC: , , , , Gaurav Kohli Subject: [PATCH v5 2/2] arm64: dts: qcom: qcs615: Enable TSENS support for QCS615 SoC Date: Wed, 25 Jun 2025 10:06:26 +0530 Message-ID: <20250625043626.2743155-3-quic_gkohli@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250625043626.2743155-1-quic_gkohli@quicinc.com> References: <20250625043626.2743155-1-quic_gkohli@quicinc.com> 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: nasanex01b.na.qualcomm.com (10.46.141.250) 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-Authority-Analysis: v=2.4 cv=YYu95xRf c=1 sm=1 tr=0 ts=685b7ce8 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: 8bzI6lswgQ9f81e4x5IumXPDbEJ7DXRP X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjI1MDAzMyBTYWx0ZWRfXynE8DiqijWDt A5YwCMW5AJYx9Iw977XuVA2nnhRc6ovA2YJYD3KsYftGbJaajpApvAOh6bW550C539gMjagGYRS Uh1M7r9BqnOcA+d0dBKFa8Q+7XKor9CvnJBSQWPeVAfCORBXGGEt0tZUtXr1L2pgnMhmjq4Yb6U ZJGawllD6Hun/mNsqXWtim6REneQA4buQbLrZXKFVRGLxaedP27DCmz4jG5CRKIEURtwrEDM2g5 chWg8rweyhPTUMGw/Ytbzm2kIikWCak568b9jtmyCEv3S0HKmdL3s+a2Ke4iB+OnEwRgDKrW/fA t6f4XwxF76xomhilh5qmjXaAJjvxQYgD2VjWi2+71wDJY1mxzRNUHwiVhu3QIOyckNa7py52Kd6 9EvbDsW945rdYqtB4dtI6yxShU43uMhHC4Pa49Qb+BHFZz73SFGXXxdzqazFgugvvTg6koUn X-Proofpoint-ORIG-GUID: 8bzI6lswgQ9f81e4x5IumXPDbEJ7DXRP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-06-25_01,2025-06-23_07,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 spamscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 mlxlogscore=755 clxscore=1015 mlxscore=0 bulkscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506250033 Content-Type: text/plain; charset="utf-8" Add TSENS and thermal devicetree node for QCS615 SoC. Signed-off-by: Gaurav Kohli Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcs615.dtsi | 205 +++++++++++++++++++++++++++ 1 file changed, 205 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qco= m/qcs615.dtsi index bb8b6c3ebd03..c20e98f8399f 100644 --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi @@ -3692,6 +3692,17 @@ usb_2_dwc3: usb@a800000 { maximum-speed =3D "high-speed"; }; }; + + tsens0: thermal-sensor@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 { @@ -3701,4 +3712,198 @@ arch_timer: timer { , ; }; + + thermal-zones { + aoss-thermal { + thermal-sensors =3D <&tsens0 0>; + + trips { + aoss-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + 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 { + gpu-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + q6-hvx-thermal { + thermal-sensors =3D <&tsens0 10>; + + trips { + q6-hvx-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + mdm-core-thermal { + thermal-sensors =3D <&tsens0 11>; + + trips { + mdm-core-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + camera-thermal { + thermal-sensors =3D <&tsens0 12>; + + trips { + camera-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + wlan-thermal { + thermal-sensors =3D <&tsens0 13>; + + trips { + wlan-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + display-thermal { + thermal-sensors =3D <&tsens0 14>; + + trips { + display-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + video-thermal { + thermal-sensors =3D <&tsens0 15>; + + trips { + video-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + }; }; --=20 2.34.1