From mboxrd@z Thu Jan 1 00:00:00 1970 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 6545726FA5A for ; Thu, 22 Jan 2026 12:32:43 +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=1769085165; cv=none; b=os+GgHTwY8wvg4IG6IGa3s0aaySVnpMxzLBiD7Olr8gnZXm0Chfi4Yj8XwBYF+8MUAVXKDNCs2em8xLAkA2nCvGZUv2kes+ao43N1DVK8ZWTIWremZX5PrbDC+ek8vvdlaZN2M75r7gV8SydtxHwoXKDpL/jSvt4o8HKAHfLIWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769085165; c=relaxed/simple; bh=/mQKKB8o5PT+6nT5bLXeqTkThJ0jemmU7hrsEjvu7TM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GYSuZPVTiGAuzBbpgC+l+qsqCM/Mguh27K30ZXKh1+KOl6kL4cHCNVGWXk2XNJSelJwZZiNoZr+FTzgT2IivdWSYIdMcFqqxs3DEyVzzAqcEjRFQt5DlArYdrGtrlRCZ6PuEnp9KWb0nfT0MUfjzufwsgjnk2ctrAT/AKbPvfaA= 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=XwYuwLkB; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=kc11u/3b; 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="XwYuwLkB"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="kc11u/3b" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60M91YJ43463169 for ; Thu, 22 Jan 2026 12:32:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= a8/JK4eqU4aRzpBRsI/cvSNMP41mjw7eC77JpWPbvF4=; b=XwYuwLkBpfvjyciU NOJ/owNFJRDwwqthMhuZihEu9N+lUjDYRnbBnO/e7th0fgXv9oKWIgHZ2xyEvzVR DM4kuC3rwqU2GSE+cUEFBP16mrUpTdIyF0HT0hNBTsH35WuiVbw/yc/oqd4IHSUO v/uf7I7YHzC8EA5NJUUpoCSXXQ1kIPjGbomcjtJ8yTqJWIV68gGfG+Xm7NsSnVPQ 0LAdI6+FQde2ouLYS+pavdq6dNG64wZ9ZLSHL8pwGKGzrLxATOJLJPVWdkQ/4ChX 67xJVpRn5i2fW2g6cKP5YoSTkDuJ98kV0wu7LB+Nx7Xto1er4i8kLW2/4c36Dep9 kNZnAg== Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bu0653tpu-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 22 Jan 2026 12:32:41 +0000 (GMT) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-8230d6d54a5so237996b3a.1 for ; Thu, 22 Jan 2026 04:32:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769085161; x=1769689961; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=a8/JK4eqU4aRzpBRsI/cvSNMP41mjw7eC77JpWPbvF4=; b=kc11u/3byAxFaWEnVz8h+KGtZBEaZw27t7K2v6N1lREMUzOqMR9j4g7SRi+wlaup9n Uq1IeGd6Y/3NIdu9ErdBGssb1sFWq5ofxahM3b2TlkLM6+y0BFGJXV5+K7Yqc4+X5pSJ QpdjRv1OLRcnLeQyr//HbUSAjTJKplwe9McpgSZeJVveJNuhpL3JAvFmOinsblCWJn+l oOjdQgtdQm5k5dUL2G5QmZKthWaMryrjdr8tGk1aITvJQfz7qYBT7hdu5o9KmKjwCSCQ Tv+xK9Bz9GsEbbphfUBiOzPl2DpE4PAkKYX9voqe4ekUC8Eoq12LFsbW/b59birFJ2Uy MgVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769085161; x=1769689961; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=a8/JK4eqU4aRzpBRsI/cvSNMP41mjw7eC77JpWPbvF4=; b=L4mC+KtMHjpE4vLdUx6kUrY47qLLIFxtfLXRy0vN7vTURyyq0GNOOHSwhBd3IPkyki UD7nHxVeZMJQ9FV98yhy0atuIwSy7Kga+aZ2C9+ZTVh34sfSumU1DnQlUHBH+k588gqt bfyPQpjkTYDf2Cbq58mDeRcKCxvOamlL2dmHl6eZY/gVWjwmaftnBcKD6QAmaf6Hwh0u cGcrcZTOKu51NPP/a9O/5rfwi1ZvYdFIiLXkbwQTODltw01G6+VnQkkxe59G6KXbGxTQ D2Bkafz6/VqtK/b3voy/+u6Y3KsfPD+y/iw5PeY/pY/7SG/A0E2JC8a7ipBj8hKbdR+r xYDg== X-Forwarded-Encrypted: i=1; AJvYcCWfiJBBJ7DhybS2q8DQU57vKtHZAntGVCJMCZjOYEZmSZIO4g1hc4Oyky8y1+U0BUbMEVLyr74cR5AQeZE=@vger.kernel.org X-Gm-Message-State: AOJu0YxJxwyhTJYtMPHOXL5rnDb7omUjip/dfO9QhiSsV+rXdl4VieHE t/EvSgE94/EmuTgvbLHTBSHP6caoQ0f+dKm9h/gt0QF7qrvo+z6D8NlsUsUU17K8DLeSbBe6F4O pXfN1gDRYdlOJrNhmWgeng3gFBZEmAwtZCujb99WnC21i2RPpCPGEvYMgx6tyJ7X+034= X-Gm-Gg: AZuq6aIzAATX5tMdc2cb+N6sDlWeYevLGbqvnbMuXlRMu+pVC5jgoLn60v4xVJCoYbI V/vK1ufzQWCEsGDrPDYzx9Y450dkh5NgbReTbEyijaROTVSQvAf6j4KuzfJKBV9rjGFaWCJ+910 Q5a6lInDMm+ZeUyYob3YAuVn9nvk2Oq4mcb6Z+/lf+v9/AS22guwx+nIy6ylBmFK3UVnQ2UFDYW 7SG5opz+UFEVgGzo+rNMovuU7oCuDV2gqrhAgGxPUSHIAH8zSsHtpMZ8/CUxa3g1mtMGiUvCOU8 D9q8rKosesVaLYZBdkkhZSProLxubtwpsPDPCVJ+zt0wWZiwp/gJZZz1YB5Pqa2K91BDVEZcBlu 99DIkT3pjJQXfeQ38zAhBhhKJWhweY7uSFm5fPG3koVVayw== X-Received: by 2002:a05:6a00:998:b0:81f:c6d1:5608 with SMTP id d2e1a72fcca58-821978d8e7cmr2655001b3a.1.1769085160303; Thu, 22 Jan 2026 04:32:40 -0800 (PST) X-Received: by 2002:a05:6a00:998:b0:81f:c6d1:5608 with SMTP id d2e1a72fcca58-821978d8e7cmr2654963b3a.1.1769085159705; Thu, 22 Jan 2026 04:32:39 -0800 (PST) Received: from [10.217.198.130] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-81fa108b21fsm18026681b3a.13.2026.01.22.04.32.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Jan 2026 04:32:39 -0800 (PST) Message-ID: <4ce28526-6900-44ee-a63c-d9099c0a1325@oss.qualcomm.com> Date: Thu, 22 Jan 2026 18:02:33 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 03/10] arm64: dts: qcom: kaanapali: Add TSENS and thermal zones To: Dmitry Baryshkov , Konrad Dybcio Cc: Jingyi Wang , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, 20260114-knp-remoteproc-v4-0-fcf0b04d01af@oss.qualcomm.com References: <20260114-knp-dts-misc-v3-0-a6cc9e45de93@oss.qualcomm.com> <20260114-knp-dts-misc-v3-3-a6cc9e45de93@oss.qualcomm.com> <4c44mmkpsnj4cn2eh2xzraiw73xmhtx4qm3xiyhecm4vyou7os@skyj646r63d2> <3cbdae12-af7f-47ee-89dd-6c00660fa6da@oss.qualcomm.com> Content-Language: en-US From: Manaf Meethalavalappu Pallikunhi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=HOHO14tv c=1 sm=1 tr=0 ts=697218e9 cx=c_pps a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=8VeMtYcsI4s2KzZ7CggA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=IoOABgeZipijB_acs4fv:22 X-Proofpoint-ORIG-GUID: 8RUFCkR5z2w__d3_jaUX_EosGAhGMN2i X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTIyMDA5MSBTYWx0ZWRfX8gTsvt2UzLKq 3XHM8nQFZOl1zJ5exfvKVOXc2534K6AsNRZwK9VKiWj0X4y+AfR9wqShoyHiuK9RcbhUM32E4Rt xFxUfm/Wb5059wDYbwLeyjhiiQuCk3mTncbKJ3ZwaUAudc46q4ph6I2BnNmUMTzEGDoTyuFd8RJ 4xItVPplEycn46LS2k8PqvxnVe14ibFMQ8mrGtph//+9obuJXkwC8VsTiR+hs/3S0Em7Tew2YN/ zc8DeSFve75X+/XVDDhCYQarSnmqnpAgXzEpcsBNRokTDNzNkt/zbCNlH3l4c64VQALqvKyjmWj sTRHVodIfOkd9sq/cbYW4g4OjCj/Od0sVFQEzIUWbkadg+2p4dK6xi4DND+9XOdn5DmUgClCPA2 ojcZEY+5pHNYVdpueI9cRo22KhfvviDEORWGS6mLG6yi9MpgiKAj9w5/ybK2+laAH+jA6hh6swc P0PfP2xJO3Sc03ZArjQ== X-Proofpoint-GUID: 8RUFCkR5z2w__d3_jaUX_EosGAhGMN2i X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-22_01,2026-01-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 adultscore=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 suspectscore=0 clxscore=1015 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601220091 Hi Dmitry, On 1/16/2026 2:12 AM, Dmitry Baryshkov wrote: > On Thu, Jan 15, 2026 at 11:22:57AM +0100, Konrad Dybcio wrote: >> On 1/15/26 8:09 AM, Dmitry Baryshkov wrote: >>> On Wed, Jan 14, 2026 at 10:49:05PM -0800, Jingyi Wang wrote: >>>> From: Manaf Meethalavalappu Pallikunhi >>>> >>>> The Kaanapali includes seven TSENS instances, with a total of 55 thermal >>>> sensors distributed across various locations on the SoC. >>>> >>>> The TSENS max/reset threshold is configured to 130°C in the hardware. >>>> Enable all TSENS instances, and define the thermal zones with a critical >>>> trip at 125°C >>>> >>>> Signed-off-by: Manaf Meethalavalappu Pallikunhi >>>> Signed-off-by: Jingyi Wang >>>> --- >>>> arch/arm64/boot/dts/qcom/kaanapali.dtsi | 745 ++++++++++++++++++++++++++++++++ >>>> 1 file changed, 745 insertions(+) >>>> >>>> @@ -4795,6 +4879,667 @@ pdp_tx: scp-sram-section@100 { >>>> }; >>>> }; >>>> >>>> + thermal-zones { >>>> + cpullc-0-0-thermal { >>>> + thermal-sensors = <&tsens0 0>; >>>> + >>>> + trips { >>>> + cpullc-0-0-critical { >>>> + temperature = <125000>; >>>> + hysteresis = <0>; >>>> + type = "critical"; >>> I'd really suggest having several "hot" trip points at a temp less than >>> 125°C. (And 125°C for critical looks way too critical for me). >> LMH and the firmware make sure this never happens, the critical trip >> point is a last resort safety mechanism > Looking at e.g. SM8650, I can't stop but notice "hot" trip points at > 110°C and "critical" at 115°C. I think, LMH is a replacement for > "passive" trip points. But for the thermal shutdown we should give users > more warnings. Sure, I will add a hot trip at 120C for all thermal zones in next revision. Thanks, Manaf >