From nobody Mon Apr 6 09:13:57 2026 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 A6EDA22126C for ; Fri, 20 Mar 2026 02:51:07 +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=1773975069; cv=none; b=DCcQB8h8C4nip2MIPFy+mvZJRwCCGOSDd/Y/BnTOWHj00O2rk28PLF7+RmCpFAZx8mRliNjR1exXIrgXfqlmr+Jr81Q9LQfcIXQyCJMQSR7pURaMtne3DHfeiOs52XD778DlB8362Wxtih3wxqMcnUuSwBEIbDOc6QdVkG/B/cQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773975069; c=relaxed/simple; bh=do57YT4ZSNz+w9pImozH1M9OgZ8Lf01FwyGzCCPvR9M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=X4za+3fiT0zhnrQo0wduFE6v1K+p7YYiqt4Bqt7Ydaf4lLoBUz1Ay1n9fyB/uc+TTPnmXIYiPjDS7to9oAfXKV6pori37vPY/Fn+BHJ0ZQ2wdCmx7++PfpsJcOQZVxWAMcU8MWrGkTHqJeJEJPsQ7XgCjFdnR40uMaAVuY++pdY= 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=b+sr9VE3; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=cFlY4FxK; arc=none smtp.client-ip=205.220.168.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="b+sr9VE3"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="cFlY4FxK" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62K2XvfF539542 for ; Fri, 20 Mar 2026 02:51:07 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=poneLY0JtM06E6eGkovQax GucfbPLihoAiGt3a98tTY=; b=b+sr9VE3mtqz1aCnBRQPXuJO9u8BrVb2LqnM2I GRSD7vKzkalazxdWfUDVTKgScay9mZlzDq72AASBKjPl922XGEKfruhdCa4ViZCt L2WHo4hmhzIviomzj9Tk9ba1PcjzWKWrjjx/AXMxSkii0RSeRX8OzJBOSutyKo2P n68CnRao4wgyrdGm4ZkT6IY0+bgLQMLrNHhNMPbINWupEGWElZIT9NpZ0CyU+EiK GnerKyJuDhLBRjV7ySn1eFBNVHQkVZo+fbX8lwbZPfKewESqD1Pu4/8Fbu3WzFF7 p4zVYURjWUp2iTNKJbPHchXlh/Xk4ZtnGA6X4wtB+c/pWR1Q== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d0sm6gmc0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 20 Mar 2026 02:51:06 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-50b34223670so30107011cf.0 for ; Thu, 19 Mar 2026 19:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1773975066; x=1774579866; 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=poneLY0JtM06E6eGkovQaxGucfbPLihoAiGt3a98tTY=; b=cFlY4FxKGpXTNlI19mORiVIBFjdnA0NVp6PwUKHVGdKwplZOdC0ffNSGWoLsN1AJXW T9yRB27Tg1Xp06JHUYBMt7jL4ykqoRpsocgnYyGRyB71wJfyrBcrZqxLiTrGc6MSh2ys KtxGXko0oC3XT7cM2rRgyJh2UtXkVdP35em+hqUgSB64MaE8zrYcMM/i58VsR8c5QZic 8NU9DLdufxTPzNXt7u0gwH/xdSR4mqCJ5NyPdcPHzaDLRe8oToXqdy3Y2JKkXxovnSiM 1pTOjgwZ0zqJsdOUyhhdAOdsIjQt7pr3chDtwdekpTaMB0IqnKdQ5qJCuyRDmso3iqfq sVkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773975066; x=1774579866; 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=poneLY0JtM06E6eGkovQaxGucfbPLihoAiGt3a98tTY=; b=eN1d7IdqEqhrtDC3j3I79O2mxeCgeXAdZcuimlXgKJe4lapHBTX+UXtr4LYTngwOjY BCwzHBuSqu9TO2BIHIksmLtPDfzUbZ0u09cGE/d6PrMPtXbyqKeRQWXqvVbWNHxLW3f2 H5VHWihaCSLQhBgEeHBTA2L3frB+L0btbmKtoDHpKnBTjPJRfB/W/ZfMUHMv/yWZvj6l 5rKip/GYlMFpybvwrBXBeY2RANOHRBJ2i1BXFzvlgACe4wSCn7Ohd3eyskU4O7BwGtii FB3l26r2AYbvtcLGroP9PFxvRiI+WEef2CBQcCL+LPl6j2AYyCZ+HLbkA3rBdLL7lwFU 5Bxg== X-Forwarded-Encrypted: i=1; AJvYcCUk2KKB3xdSnvZ5PoH/5rYJjbjjMbSrpNThp0H1ZJupNuE08ycuvNNKDsm2JQZWO9XshVmMQeScp5k6kj8=@vger.kernel.org X-Gm-Message-State: AOJu0YwJJyaGbaeP749IHWK40Z8n0qMunTkyRc6e7BZnhyZWrGRKaLyc ZOanxfsks5UnVhK5c8f3SVokuDhZYDkKWu0i4IOQI9b/ZiFkayb8BxEY7wson7noHZQfIFZPJ0n XZRTCa12e+Ip46pkHpyO6bgce89lQS4tyeotM0p+P2gXzpR/rRxeX2eADfLKhLlUh9WY= X-Gm-Gg: ATEYQzxHnrw5EmffaDLxU6BUSCIOEzZ3U1eao6d0G/vixYiZx3ekSH+eGn2wZ3KUU1g 7V6jTwPSr1JpsnzInF0nmkvkL/JAqTkX3TVW7yAO82cXoWph3b959ljxMdYlS3qfawZ9rJrSPtf vcXS94HgwKWMKmnDmtA5KBVrGk72I26POyB/ccpR0ddAlSXrOusNIvrmCHQVGLvCikA5VP7KcsZ 7qM1Hy3aHBde2fWAzGH+HtMYwv9CzrecIH1+roBO3yTO41XZHMOJX9nSYn02VoT5cx9/87nlm3K +M1JMuR80/9144rmvLykQEmxPSCv00g1s1VJjQzOeviaa6z9Exay7j8iJ27HPZkZmiIipXEsfar 5G+a4VDs1SG0NYc4joua4Vc4bh9YhKU2/aE7YzuvSw1ezuue4FXeTOQt9lEEQsIAnrRDqATwXEL vJrrqO+oQzhxrtNBbpqQ0836kigFQsNHlh6qs= X-Received: by 2002:a05:622a:aa08:10b0:509:21f6:df9d with SMTP id d75a77b69052e-50b373f1280mr19191831cf.12.1773975065458; Thu, 19 Mar 2026 19:51:05 -0700 (PDT) X-Received: by 2002:a05:622a:aa08:10b0:509:21f6:df9d with SMTP id d75a77b69052e-50b373f1280mr19191661cf.12.1773975064976; Thu, 19 Mar 2026 19:51:04 -0700 (PDT) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a285206f5dsm253487e87.43.2026.03.19.19.51.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Mar 2026 19:51:02 -0700 (PDT) From: Dmitry Baryshkov Date: Fri, 20 Mar 2026 04:51:00 +0200 Subject: [PATCH] arm64: dts: qcom: patch mahua thermal zones by label 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: <20260320-mahua-fix-thermals-v1-1-8957bf976c90@oss.qualcomm.com> X-B4-Tracking: v=1; b=H4sIABS2vGkC/x2MWwqAIBAArxL73YJZiHaV6GOxLRd6oRVBdPekz 2GYeSBxFE7QFg9EviTJtmaoygJ8oHVilCEzaKWNqrXChcJJOMqNR+C40JyQGuNHZ7ly1kIO98j Z/9Ouf98PCCScEGQAAAA= X-Change-ID: 20260320-mahua-fix-thermals-a46cf98e1988 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 X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=14981; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=do57YT4ZSNz+w9pImozH1M9OgZ8Lf01FwyGzCCPvR9M=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBpvLYVRuhZy3uXeuSFOYAZWo7WMfIvjfOfmLP2Z o/mwTrNrRqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaby2FQAKCRCLPIo+Aiko 1STfB/wMjAdFeaozdseaul5xFUzGsISeyqlIccqCD5ZBn2462wXz/0Py77x4qFAK/bkInFV5qZw Tfrgf7ketBaaYzS/DoMANuHRfCDkQNfkP3RTykQGKXLUsKUw0XKHQhzrB02ecXRAsM1E6XJfhKR wAqy6DsFWLEKNWB6/zBC10zhxf9cD3YCtu9UiZuIC0QFTHxm+mN3Q/uPwmNNV9+vLSf5tWhasqp OlPXLefgrlqfAiLRbjvXL8UKLyMjC621q6PmmYNNxIr3J5Id3Pxy+/1JMwHhtmxwq4pAD59Ll/g f7LCRAbUj31f70Oy2I7QDWnmV8FPTWBbCFokGOjwjDtaU84p X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-GUID: MdKQKlxo4DunxdJb9bPJweseG8pawICF X-Authority-Analysis: v=2.4 cv=Rv/I7SmK c=1 sm=1 tr=0 ts=69bcb61a cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=Z0WwjjCtZcgC3ZFS6qQA:9 a=QEXdDO2ut3YA:10 a=kacYvNCVWA4VmyqE58fU:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzIwMDAyMCBTYWx0ZWRfXyyjt4hHlgwSp ZrSC9++R55SgsHu3s3sI/p2Xt4ioGj5KSa5SvDu39tdlrB1MTGUblLGIV+eCrGh5qsSrguhuahF U8ItZViyEPBOAcfk6KA4oBxhNermgOvGNs8nSi4E2ctg/Fw+q4oxCBeLt4VN//11LsZuv42rRfc v+iFq/5cH0WTDQLIddwVYKA5yvoRq9XR09glrQSyoSK0WO3+k1K0eg7OUTYHE647h0I1L4Y01/0 T793RZCG/XVEqMIJ4UTaESadkjjOJL7c29Gv99dChmdXrmRp2sWg2++akc9HOIX2uLw0jtzIPCv Sgnd0CAT4ELuB9iot47CtQRXQ+PcoDRHp2QMcZFT5MUHyFwuQK+XtcvEWNjRgwFT/MCNE4TtkEn 2HqtrZhNbDJ7ZbQoISi9MrHZJyXYvGZbUEGsFFLzI8rrLsBGT8s3E12OMvti817ijE41J7q6PlV y+7PE9+luO2Ha5jDSOA== X-Proofpoint-ORIG-GUID: MdKQKlxo4DunxdJb9bPJweseG8pawICF 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-19_04,2026-03-19_05,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 spamscore=0 phishscore=0 bulkscore=0 impostorscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603200020 Updating DT nodes by the full path is fragile and frowned upon, it's easy to miss the rename of the node in the main tree. Add necessary labels and patch thermal zones for Mahua using those labels. Signed-off-by: Dmitry Baryshkov Reviewed-by: Abel Vesa --- arch/arm64/boot/dts/qcom/glymur.dtsi | 98 ++++++++--------- arch/arm64/boot/dts/qcom/mahua.dtsi | 199 +++++++++++++++++--------------= ---- 2 files changed, 148 insertions(+), 149 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qco= m/glymur.dtsi index bde287f645ee..d0117a844dad 100644 --- a/arch/arm64/boot/dts/qcom/glymur.dtsi +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi @@ -4962,7 +4962,7 @@ ddr-0-critical { }; }; =20 - video-0-thermal { + thermal_video_0: video-0-thermal { thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -4974,7 +4974,7 @@ video-0-critical { }; }; =20 - video-1-thermal { + thermal_video_1: video-1-thermal { thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -5250,7 +5250,7 @@ aoss-4-critical { }; }; =20 - cpu-2-0-0-thermal { + thermal_cpu_2_0_0: cpu-2-0-0-thermal { thermal-sensors =3D <&tsens4 1>; =20 trips { @@ -5262,7 +5262,7 @@ cpu-2-0-0-critical { }; }; =20 - cpu-2-0-1-thermal { + thermal_cpu_2_0_1: cpu-2-0-1-thermal { thermal-sensors =3D <&tsens4 2>; =20 trips { @@ -5274,7 +5274,7 @@ cpu-2-0-1-critical { }; }; =20 - cpu-2-1-0-thermal { + thermal_cpu_2_1_0: cpu-2-1-0-thermal { thermal-sensors =3D <&tsens4 3>; =20 trips { @@ -5286,7 +5286,7 @@ cpu-2-1-0-critical { }; }; =20 - cpu-2-1-1-thermal { + thermal_cpu_2_1_1: cpu-2-1-1-thermal { thermal-sensors =3D <&tsens4 4>; =20 trips { @@ -5298,7 +5298,7 @@ cpu-2-1-1-critical { }; }; =20 - cpu-2-2-0-thermal { + thermal_cpu_2_2_0: cpu-2-2-0-thermal { thermal-sensors =3D <&tsens4 5>; =20 trips { @@ -5310,7 +5310,7 @@ cpu-2-2-0-critical { }; }; =20 - cpu-2-2-1-thermal { + thermal_cpu_2_2_1: cpu-2-2-1-thermal { thermal-sensors =3D <&tsens4 6>; =20 trips { @@ -5322,7 +5322,7 @@ cpu-2-2-1-critical { }; }; =20 - cpu-2-3-0-thermal { + thermal_cpu_2_3_0: cpu-2-3-0-thermal { thermal-sensors =3D <&tsens4 7>; =20 trips { @@ -5334,7 +5334,7 @@ cpu-2-3-0-critical { }; }; =20 - cpu-2-3-1-thermal { + thermal_cpu_2_3_1: cpu-2-3-1-thermal { thermal-sensors =3D <&tsens4 8>; =20 trips { @@ -5346,7 +5346,7 @@ cpu-2-3-1-critical { }; }; =20 - cpu-2-4-0-thermal { + thermal_cpu_2_4_0: cpu-2-4-0-thermal { thermal-sensors =3D <&tsens4 9>; =20 trips { @@ -5358,7 +5358,7 @@ cpu-2-4-0-critical { }; }; =20 - cpu-2-4-1-thermal { + thermal_cpu_2_4_1: cpu-2-4-1-thermal { thermal-sensors =3D <&tsens4 10>; =20 trips { @@ -5370,7 +5370,7 @@ cpu-2-4-1-critical { }; }; =20 - cpu-2-5-0-thermal { + thermal_cpu_2_5_0: cpu-2-5-0-thermal { thermal-sensors =3D <&tsens4 11>; =20 trips { @@ -5382,7 +5382,7 @@ cpu-2-5-0-critical { }; }; =20 - cpu-2-5-1-thermal { + thermal_cpu_2_5_1: cpu-2-5-1-thermal { thermal-sensors =3D <&tsens4 12>; =20 trips { @@ -5406,7 +5406,7 @@ aoss-5-critical { }; }; =20 - cpullc-2-0-thermal { + thermal_cpullc_2_0: cpullc-2-0-thermal { thermal-sensors =3D <&tsens5 1>; =20 trips { @@ -5418,7 +5418,7 @@ cpullc-2-0-critical { }; }; =20 - cpuillc-2-1-thermal { + thermal_cpuillc_2_1: cpuillc-2-1-thermal { thermal-sensors =3D <&tsens5 2>; =20 trips { @@ -5430,7 +5430,7 @@ cpullc-2-1-critical { }; }; =20 - qmx-2-0-thermal { + thermal_qmx_2_0: qmx-2-0-thermal { thermal-sensors =3D <&tsens5 3>; =20 trips { @@ -5442,7 +5442,7 @@ qmx-2-0-critical { }; }; =20 - qmx-2-1-thermal { + thermal_qmx_2_1: qmx-2-1-thermal { thermal-sensors =3D <&tsens5 4>; =20 trips { @@ -5454,7 +5454,7 @@ qmx-2-1-critical { }; }; =20 - qmx-2-2-thermal { + thermal_qmx_2_2: qmx-2-2-thermal { thermal-sensors =3D <&tsens5 5>; =20 trips { @@ -5466,7 +5466,7 @@ qmx-2-2-critical { }; }; =20 - qmx-2-3-thermal { + thermal_qmx_2_3: qmx-2-3-thermal { thermal-sensors =3D <&tsens5 6>; =20 trips { @@ -5478,7 +5478,7 @@ qmx-2-3-critical { }; }; =20 - qmx-2-4-thermal { + thermal_qmx_2_4: qmx-2-4-thermal { thermal-sensors =3D <&tsens5 7>; =20 trips { @@ -5490,7 +5490,7 @@ qmx-2-4-critical { }; }; =20 - aoss-6-thermal { + thermal_aoss_6: aoss-6-thermal { thermal-sensors =3D <&tsens6 0>; =20 trips { @@ -5502,7 +5502,7 @@ aoss-6-critical { }; }; =20 - nsphvx-0-thermal { + thermal_nsphvx_0: nsphvx-0-thermal { thermal-sensors =3D <&tsens6 1>; =20 trips { @@ -5514,7 +5514,7 @@ nsphvx-0-critical { }; }; =20 - nsphvx-1-thermal { + thermal_nsphvx_1: nsphvx-1-thermal { thermal-sensors =3D <&tsens6 2>; =20 trips { @@ -5526,7 +5526,7 @@ nsphvx-1-critical { }; }; =20 - nsphvx-2-thermal { + thermal_nsphvx_2: nsphvx-2-thermal { thermal-sensors =3D <&tsens6 3>; =20 trips { @@ -5538,7 +5538,7 @@ nsphvx-2-critical { }; }; =20 - nsphvx-3-thermal { + thermal_nsphvx_3: nsphvx-3-thermal { thermal-sensors =3D <&tsens6 4>; =20 trips { @@ -5550,7 +5550,7 @@ nsphvx-3-critical { }; }; =20 - nsphmx-0-thermal { + thermal_nsphmx_0: nsphmx-0-thermal { thermal-sensors =3D <&tsens6 5>; =20 trips { @@ -5562,7 +5562,7 @@ nsphmx-0-critical { }; }; =20 - nsphmx-1-thermal { + thermal_nsphmx_1: nsphmx-1-thermal { thermal-sensors =3D <&tsens6 6>; =20 trips { @@ -5574,7 +5574,7 @@ nsphmx-1-critical { }; }; =20 - nsphmx-2-thermal { + thermal_nsphmx_2: nsphmx-2-thermal { thermal-sensors =3D <&tsens6 7>; =20 trips { @@ -5586,7 +5586,7 @@ nsphmx-2-critical { }; }; =20 - nsphmx-3-thermal { + thermal_nsphmx_3: nsphmx-3-thermal { thermal-sensors =3D <&tsens6 8>; =20 trips { @@ -5598,7 +5598,7 @@ nsphmx-3-critical { }; }; =20 - camera-0-thermal { + thermal_camera_0: camera-0-thermal { thermal-sensors =3D <&tsens6 9>; =20 trips { @@ -5610,7 +5610,7 @@ camera-0-critical { }; }; =20 - camera-1-thermal { + thermal_camera_1: camera-1-thermal { thermal-sensors =3D <&tsens6 10>; =20 trips { @@ -5622,7 +5622,7 @@ camera-1-critical { }; }; =20 - ddr-1-thermal { + thermal_ddr_1: ddr-1-thermal { thermal-sensors =3D <&tsens6 11>; =20 trips { @@ -5634,7 +5634,7 @@ ddr-1-critical { }; }; =20 - ddr-2-thermal { + thermal_ddr_2: ddr-2-thermal { thermal-sensors =3D <&tsens6 12>; =20 trips { @@ -5646,7 +5646,7 @@ ddr-2-critical { }; }; =20 - aoss-7-thermal { + thermal_aoss_7: aoss-7-thermal { thermal-sensors =3D <&tsens7 0>; =20 trips { @@ -5658,7 +5658,7 @@ aoss-7-critical { }; }; =20 - gpu-0-0-thermal { + thermal_gpu_0_0: gpu-0-0-thermal { thermal-sensors =3D <&tsens7 1>; =20 trips { @@ -5676,7 +5676,7 @@ gpu-0-0-critical { }; }; =20 - gpu-0-1-thermal { + thermal_gpu_0_1: gpu-0-1-thermal { thermal-sensors =3D <&tsens7 2>; =20 trips { @@ -5694,7 +5694,7 @@ gpu-0-1-critical { }; }; =20 - gpu-0-2-thermal { + thermal_gpu_0_2: gpu-0-2-thermal { thermal-sensors =3D <&tsens7 3>; =20 trips { @@ -5712,7 +5712,7 @@ gpu-0-2-critical { }; }; =20 - gpu-1-0-thermal { + thermal_gpu_1_0: gpu-1-0-thermal { thermal-sensors =3D <&tsens7 4>; =20 trips { @@ -5730,7 +5730,7 @@ gpu-1-0-critical { }; }; =20 - gpu-1-1-thermal { + thermal_gpu_1_1: gpu-1-1-thermal { thermal-sensors =3D <&tsens7 5>; =20 trips { @@ -5748,7 +5748,7 @@ gpu-1-1-critical { }; }; =20 - gpu-1-2-thermal { + thermal_gpu_1_2: gpu-1-2-thermal { thermal-sensors =3D <&tsens7 6>; =20 trips { @@ -5766,7 +5766,7 @@ gpu-1-2-critical { }; }; =20 - gpu-2-0-thermal { + thermal_gpu_2_0: gpu-2-0-thermal { thermal-sensors =3D <&tsens7 7>; =20 trips { @@ -5784,7 +5784,7 @@ gpu-2-0-critical { }; }; =20 - gpu-2-1-thermal { + thermal_gpu_2_1: gpu-2-1-thermal { thermal-sensors =3D <&tsens7 8>; =20 trips { @@ -5802,7 +5802,7 @@ gpu-2-1-critical { }; }; =20 - gpu-2-2-thermal { + thermal_gpu_2_2: gpu-2-2-thermal { thermal-sensors =3D <&tsens7 9>; =20 trips { @@ -5820,7 +5820,7 @@ gpu-2-2-critical { }; }; =20 - gpu-3-0-thermal { + thermal_gpu_3_0: gpu-3-0-thermal { thermal-sensors =3D <&tsens7 10>; =20 trips { @@ -5838,7 +5838,7 @@ gpu-3-0-critical { }; }; =20 - gpu-3-1-thermal { + thermal_gpu_3_1: gpu-3-1-thermal { thermal-sensors =3D <&tsens7 11>; =20 trips { @@ -5856,7 +5856,7 @@ gpu-3-1-critical { }; }; =20 - gpu-3-2-thermal { + thermal_gpu_3_2: gpu-3-2-thermal { thermal-sensors =3D <&tsens7 12>; =20 trips { @@ -5874,7 +5874,7 @@ gpu-3-2-critical { }; }; =20 - gpuss-0-thermal { + thermal_gpuss_0: gpuss-0-thermal { thermal-sensors =3D <&tsens7 13>; =20 trips { @@ -5892,7 +5892,7 @@ gpuss-0-critical { }; }; =20 - gpuss-1-thermal { + thermal_gpuss_1: gpuss-1-thermal { thermal-sensors =3D <&tsens7 14>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/mahua.dtsi b/arch/arm64/boot/dts/qcom= /mahua.dtsi index 7aa8d26b2b3a..59e771291613 100644 --- a/arch/arm64/boot/dts/qcom/mahua.dtsi +++ b/arch/arm64/boot/dts/qcom/mahua.dtsi @@ -20,6 +20,32 @@ /delete-node/ &cpu_pd15; /delete-node/ &cpu_pd16; /delete-node/ &cpu_pd17; +/delete-node/ &thermal_aoss_6; +/delete-node/ &thermal_aoss_7; +/delete-node/ &thermal_cpu_2_0_0; +/delete-node/ &thermal_cpu_2_0_1; +/delete-node/ &thermal_cpu_2_1_0; +/delete-node/ &thermal_cpu_2_1_1; +/delete-node/ &thermal_cpu_2_2_0; +/delete-node/ &thermal_cpu_2_2_1; +/delete-node/ &thermal_cpu_2_3_0; +/delete-node/ &thermal_cpu_2_3_1; +/delete-node/ &thermal_cpu_2_4_0; +/delete-node/ &thermal_cpu_2_4_1; +/delete-node/ &thermal_cpu_2_5_0; +/delete-node/ &thermal_cpu_2_5_1; +/delete-node/ &thermal_cpuillc_2_1; +/delete-node/ &thermal_cpullc_2_0; +/delete-node/ &thermal_ddr_2; +/delete-node/ &thermal_gpu_3_0; +/delete-node/ &thermal_gpu_3_1; +/delete-node/ &thermal_gpu_3_2; +/delete-node/ &thermal_qmx_2_0; +/delete-node/ &thermal_qmx_2_1; +/delete-node/ &thermal_qmx_2_2; +/delete-node/ &thermal_qmx_2_3; +/delete-node/ &thermal_qmx_2_4; +/delete-node/ &thermal_video_1; /delete-node/ &tsens6; /delete-node/ &tsens7; =20 @@ -110,130 +136,99 @@ &system_noc { compatible =3D "qcom,mahua-system-noc", "qcom,glymur-system-noc"; }; =20 -&tlmm { - compatible =3D "qcom,mahua-tlmm"; +&thermal_camera_0 { + thermal-sensors =3D <&tsens4 9>; }; =20 -&thermal_zones { - /delete-node/ aoss-6-thermal; - /delete-node/ aoss-7-thermal; - /delete-node/ cpu-2-0-0-thermal; - /delete-node/ cpu-2-0-1-thermal; - /delete-node/ cpu-2-1-0-thermal; - /delete-node/ cpu-2-1-1-thermal; - /delete-node/ cpu-2-2-0-thermal; - /delete-node/ cpu-2-2-1-thermal; - /delete-node/ cpu-2-3-0-thermal; - /delete-node/ cpu-2-3-1-thermal; - /delete-node/ cpu-2-4-0-thermal; - /delete-node/ cpu-2-4-1-thermal; - /delete-node/ cpu-2-5-0-thermal; - /delete-node/ cpu-2-5-1-thermal; - /delete-node/ cpullc-2-0-thermal; - /delete-node/ cpuillc-2-1-thermal; - /delete-node/ ddr-2-thermal; - /delete-node/ gpu-3-0-thermal; - /delete-node/ gpu-3-1-thermal; - /delete-node/ gpu-3-2-thermal; - /delete-node/ qmx-2-0-thermal; - /delete-node/ qmx-2-1-thermal; - /delete-node/ qmx-2-2-thermal; - /delete-node/ qmx-2-3-thermal; - /delete-node/ qmx-2-4-thermal; - /delete-node/ video-1-thermal; - - ddr-1-thermal { - thermal-sensors =3D <&tsens1 7>; - }; - - video-0-thermal { - thermal-sensors =3D <&tsens1 8>; - }; +&thermal_camera_1 { + thermal-sensors =3D <&tsens4 10>; +}; =20 - nsphvx-0-thermal { - thermal-sensors =3D <&tsens4 1>; - }; +&thermal_ddr_1 { + thermal-sensors =3D <&tsens1 7>; +}; =20 - nsphvx-1-thermal { - thermal-sensors =3D <&tsens4 2>; - }; +&thermal_gpu_0_0 { + thermal-sensors =3D <&tsens5 1>; +}; =20 - nsphvx-2-thermal { - thermal-sensors =3D <&tsens4 3>; - }; +&thermal_gpu_0_1 { + thermal-sensors =3D <&tsens5 2>; +}; =20 - nsphvx-3-thermal { - thermal-sensors =3D <&tsens4 4>; - }; +&thermal_gpu_0_2 { + thermal-sensors =3D <&tsens5 3>; +}; =20 - nsphmx-0-thermal { - thermal-sensors =3D <&tsens4 5>; - }; +&thermal_gpu_1_0 { + thermal-sensors =3D <&tsens5 4>; +}; =20 - nsphmx-1-thermal { - thermal-sensors =3D <&tsens4 6>; - }; +&thermal_gpu_1_1 { + thermal-sensors =3D <&tsens5 5>; +}; =20 - nsphmx-2-thermal { - thermal-sensors =3D <&tsens4 7>; - }; +&thermal_gpu_1_2 { + thermal-sensors =3D <&tsens5 6>; +}; =20 - nsphmx-3-thermal { - thermal-sensors =3D <&tsens4 8>; - }; +&thermal_gpu_2_0 { + thermal-sensors =3D <&tsens5 7>; +}; =20 - camera-0-thermal { - thermal-sensors =3D <&tsens4 9>; - }; +&thermal_gpu_2_1 { + thermal-sensors =3D <&tsens5 8>; +}; =20 - camera-1-thermal { - thermal-sensors =3D <&tsens4 10>; - }; +&thermal_gpu_2_2 { + thermal-sensors =3D <&tsens5 9>; +}; =20 - gpu-0-0-thermal { - thermal-sensors =3D <&tsens5 1>; - }; +&thermal_gpuss_0 { + thermal-sensors =3D <&tsens5 10>; +}; =20 - gpu-0-1-thermal { - thermal-sensors =3D <&tsens5 2>; - }; +&thermal_gpuss_1 { + thermal-sensors =3D <&tsens5 11>; +}; =20 - gpu-0-2-thermal { - thermal-sensors =3D <&tsens5 3>; - }; +&thermal_nsphmx_0 { + thermal-sensors =3D <&tsens4 5>; +}; =20 - gpu-1-0-thermal { - thermal-sensors =3D <&tsens5 4>; - }; +&thermal_nsphmx_1 { + thermal-sensors =3D <&tsens4 6>; +}; =20 - gpu-1-1-thermal { - thermal-sensors =3D <&tsens5 5>; - }; +&thermal_nsphmx_2 { + thermal-sensors =3D <&tsens4 7>; +}; =20 - gpu-1-2-thermal { - thermal-sensors =3D <&tsens5 6>; - }; +&thermal_nsphmx_3 { + thermal-sensors =3D <&tsens4 8>; +}; =20 - gpu-2-0-thermal { - thermal-sensors =3D <&tsens5 7>; - }; +&thermal_nsphvx_0 { + thermal-sensors =3D <&tsens4 1>; +}; =20 - gpu-2-1-thermal { - thermal-sensors =3D <&tsens5 8>; - }; +&thermal_nsphvx_1 { + thermal-sensors =3D <&tsens4 2>; +}; =20 - gpu-2-2-thermal { - thermal-sensors =3D <&tsens5 9>; - }; +&thermal_nsphvx_2 { + thermal-sensors =3D <&tsens4 3>; +}; =20 - gpuss-0-thermal { - thermal-sensors =3D <&tsens5 10>; - }; +&thermal_nsphvx_3 { + thermal-sensors =3D <&tsens4 4>; +}; =20 - gpuss-1-thermal { - thermal-sensors =3D <&tsens5 11>; - }; +&thermal_video_0 { + thermal-sensors =3D <&tsens1 8>; +}; =20 +&thermal_zones { gpuss-2-thermal { thermal-sensors =3D <&tsens5 12>; =20 @@ -289,6 +284,10 @@ gpuss-4-critical { }; }; =20 +&tlmm { + compatible =3D "qcom,mahua-tlmm"; +}; + &tsens4 { #qcom,sensors =3D <11>; }; --- base-commit: 3b11871f8e473fe399fb348ea4d0c122f4c182b1 change-id: 20260320-mahua-fix-thermals-a46cf98e1988 Best regards, --=20 With best wishes Dmitry