From nobody Sun Nov 24 18:48:22 2024 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 4D6021BA89B; Mon, 4 Nov 2024 12:45:15 +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=1730724317; cv=none; b=rghjELRX1xCB50Ooqkx6qlAgMprMSDdffM5JUe2MT7Y6C78WIX65+g4jGJqwIR5qOCk5K3RC0kzGimXrYGLhMs1XkBfmbZw6wWCfdCn98lvSlby9ctL5YeSufsFp6WxuLIUs/NRAKNa0fM9DdRSBY5R5Rb/hEmnfHn2W04FIl54= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730724317; c=relaxed/simple; bh=C/2zqgpBHAfBiPtoQq+E+yTexLhSRmy5YPwsZcI12Z0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BSD83JPuLbgBS0OLOqDcxmprFLeR6rSGiqfK+7+Scpjuuv9uG1oMzRShZpvBGIYcAJcH/QmLooRNKaOCyMoKi+GN7Y+NxSjavd0hvX3t7CG5p5KAJa+xfaA25s21ebjrE3DVC4v3ZRNsmgoHYSOIMMW2XZighj21MqX+l/fupUo= 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=DxkG2iQG; 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="DxkG2iQG" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4A4Bj2vO004306; Mon, 4 Nov 2024 12:45:07 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= PsF/rRSI4RCRfrcvf5dwv8I7vz1Li7kozZXZLoEVvxs=; b=DxkG2iQGLoeBB1ls UPIxHAAdutWd0Wfm+3xj5tavElgPku3njDQgB9Q4SRQAraEkX98CJalhvGpWbKvP dpEwDtvx/QXSFZPMZscXsIqD625nKtGFnOQ836DZqkJW5Dp1wcmNwOX8je/xXeS+ H0nk+DuuFLtLvnDmVb7HWjewCOgZdOQeMY/J2JFr5/ujs+dnLyFTHSC/CB5m7Ud0 5npSXjHS45eZULIYpk3dKGf10dk7rTbc99gfKPoxzXKYbbQeXYGiZl3Per2Ycpgd Sd78kVH3+LG4qDa4MIn9eam3DuV3GMYvmt+eYIyr3C/dsl3HFBWiOMb+bU3z4/0R jzVlwA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42nd2s48hs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Nov 2024 12:45:07 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4A4Cj6oc010190 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 4 Nov 2024 12:45:06 GMT Received: from hu-mmanikan-blr.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 4 Nov 2024 04:45:01 -0800 From: Manikanta Mylavarapu To: , , , , , , , , , , , , , , , CC: , Subject: [PATCH v6 5/7] arm64: dts: qcom: ipq5332: Add thermal zone nodes Date: Mon, 4 Nov 2024 18:14:11 +0530 Message-ID: <20241104124413.2012794-6-quic_mmanikan@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241104124413.2012794-1-quic_mmanikan@quicinc.com> References: <20241104124413.2012794-1-quic_mmanikan@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 nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 9KYBPSTzcLMge2wEbVAE57pupYZQXNNk X-Proofpoint-GUID: 9KYBPSTzcLMge2wEbVAE57pupYZQXNNk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 mlxlogscore=999 clxscore=1015 suspectscore=0 adultscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 malwarescore=0 spamscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411040111 Content-Type: text/plain; charset="utf-8" From: Praveenkumar I This patch adds thermal zone nodes for sensors present in IPQ5332. Reviewed-by: Dmitry Baryshkov Signed-off-by: Praveenkumar I Signed-off-by: Manikanta Mylavarapu --- Changes in V6: - No change arch/arm64/boot/dts/qcom/ipq5332.dtsi | 78 +++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qc= om/ipq5332.dtsi index 94dca05fdc2a..72d724d67587 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -554,4 +554,82 @@ timer { , ; }; + + thermal-zones { + rfa-0-thermal { + polling-delay-passive =3D <0>; + polling-delay =3D <0>; + thermal-sensors =3D <&tsens 11>; + + trips { + rfa-0-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + rfa-1-thermal { + polling-delay-passive =3D <0>; + polling-delay =3D <0>; + thermal-sensors =3D <&tsens 12>; + + trips { + rfa-1-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + misc-thermal { + polling-delay-passive =3D <0>; + polling-delay =3D <0>; + thermal-sensors =3D <&tsens 13>; + + trips { + misc-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + cpu-top-thermal { + polling-delay-passive =3D <0>; + polling-delay =3D <0>; + thermal-sensors =3D <&tsens 14>; + + trips { + cpu-top-critical { + temperature =3D <115000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + + cpu-passive { + temperature =3D <105000>; + hysteresis =3D <1000>; + type =3D "passive"; + }; + }; + }; + + top-glue-thermal { + polling-delay-passive =3D <0>; + polling-delay =3D <0>; + thermal-sensors =3D <&tsens 15>; + + trips { + top-glue-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + }; }; --=20 2.34.1