From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ED58BFE51FA for ; Fri, 24 Apr 2026 09:53:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SBpa+OY6Vx3uYT0JNDbcMHz2F1hz9Z/Yh2ubTX1Ek2I=; b=hKiuWWI5sZcBlPlXbta8ytDTlQ /xLgUL1D2Sw7VKQnkgbxJZKPEJsRHFeaWBHm+yvCSA96XrdXur0YIF4VcwYB5za22/V4xvC4vNWy7 JvNSrOG5aYC/PW+c20HhxjO9/1yNfEgyYgvDX67pRotesqXAkTMU429zzfltbU7ZDUvhN/jeHSdxP jxrIGdp4Wt+SpqqqiFhWrSl6sdMRcEgrJbG0b3mZSUbdiDHD8PEgrIlZxH/I5qe4quGgiBWqZPNAo A201JRlLQj4lUQzNaFTWCo00DRddpHqj+crSwd3fxDUoSggpPmDfW+BAg4l1SFi3FCJxi7U1HhaCM OQvyi5wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wGDDs-0000000Cxx7-2CJo; Fri, 24 Apr 2026 09:53:20 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wGDDp-0000000Cxw2-3yxW for linux-arm-kernel@lists.infradead.org; Fri, 24 Apr 2026 09:53:19 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-488a14c31eeso61078805e9.0 for ; Fri, 24 Apr 2026 02:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1777024396; x=1777629196; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=SBpa+OY6Vx3uYT0JNDbcMHz2F1hz9Z/Yh2ubTX1Ek2I=; b=Sv2INVYfvz2uHHWTI3WRobz29iT5sQ1eEewFH3PTNuUOGNxFXE3qk374UetAAH0hpX /yeM/EnVV7r4aJmav8qtOq1ODrAAITAhw4ssM0NDAdGioLkMgVEGoMLvpJf6V3Q2PvjV 9K4y51cK4Rw/aEoE6raeIvXgDQnJ6H+vIJ4MlhgEFg0lF+RUM/4PV0bZD8OqUFLfI4Vw u41IVhhcMjP5a0kaS/mWmA5SCPxMF6fs+aoBVXw5uSNraxI01tIxsmAZxo0uJqcQuMLp 9D/tGzwIlTPYFbTNezF3TC/HhF3618stxX1OQEr+MV+OOKz6hxeZ8nGg9HnEF5oX2O9W FEKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777024396; x=1777629196; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SBpa+OY6Vx3uYT0JNDbcMHz2F1hz9Z/Yh2ubTX1Ek2I=; b=qFc40WpADC2vxxAFRxtudbiUpAZupbQaMpWJoK3XnTw4OBziWzR1R5ZEoWJRvrxOGW MN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-Received: by 2002:a05:600c:34c3:b0:485:41c4:e2e4 with SMTP id 5b1f17b1804b1-488fb792dd0mr421536775e9.23.1777024395930; Fri, 24 Apr 2026 02:53:15 -0700 (PDT) Received: from ?IPV6:2a01:e0a:106d:1080:79e1:f56b:445c:ca9c? ([2a01:e0a:106d:1080:79e1:f56b:445c:ca9c]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4891f98728dsm106060925e9.23.2026.04.24.02.53.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Apr 2026 02:53:14 -0700 (PDT) Message-ID: <3768fc2a-ae1b-4e58-a1a5-1b49d0f0c90c@linaro.org> Date: Fri, 24 Apr 2026 11:53:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Subject: Re: [PATCH v4 7/8] arm64: dts: amlogic: t7: Add thermal zones To: linux-kernel-dev@aliel.fr, Guillaume La Roque , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: linux-pm@vger.kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20260423-add-thermal-t7-vim4-v4-0-d4c1528d5044@aliel.fr> <20260423-add-thermal-t7-vim4-v4-7-d4c1528d5044@aliel.fr> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7Qt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nNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20260423-add-thermal-t7-vim4-v4-7-d4c1528d5044@aliel.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260424_025318_039604_B87305D9 X-CRM114-Status: GOOD ( 13.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Neil Armstrong Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 4/23/26 18:07, Ronald Claveau via B4 Relay wrote: > From: Ronald Claveau > > Add thermal zones for all six sensors: a53, a73, gpu, nna, vpu, and hevc. > > Signed-off-by: Ronald Claveau > --- > arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 179 ++++++++++++++++++++++++++++ > 1 file changed, 179 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi > index 62f259b2b17d2..c6ea0f20a879f 100644 > --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi > +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi > @@ -9,6 +9,7 @@ > #include > #include > #include > +#include > > / { > interrupt-parent = <&gic>; > @@ -829,6 +830,184 @@ hevc_tsensor: temperature-sensor@9a000 { > amlogic,secure-monitor = <&sm 5>; > }; > }; > + }; > + > + thermal-zones { > + a53_thermal: a53-thermal { > + polling-delay = <1000>; > + polling-delay-passive = <100>; > + thermal-sensors = <&a53_tsensor>; > + > + trips { > + a53_passive: a53-passive { > + temperature = <85000>; /* millicelsius */ > + hysteresis = <2000>; /* millicelsius */ > + type = "passive"; > + }; > + > + a53_hot: a53-hot { > + temperature = <95000>; /* millicelsius */ > + hysteresis = <2000>; /* millicelsius */ > + type = "hot"; > + }; > + > + a53_critical: a53-critical { > + temperature = <110000>; /* millicelsius */ > + hysteresis = <2000>; /* millicelsius */ > + type = "critical"; > + }; > + }; > + > + cooling-maps { > + map-a53 { > + trip = <&a53_passive>; > + cooling-device = > + <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; > + }; > + }; > + }; > + > + a73_thermal: a73-thermal { > + polling-delay = <1000>; > + polling-delay-passive = <100>; > + thermal-sensors = <&a73_tsensor>; > + > + trips { > + a73_passive: a73-passive { > + temperature = <85000>; /* millicelsius */ > + hysteresis = <2000>; /* millicelsius */ > + type = "passive"; > + }; > + > + a73_hot: a73-hot { > + temperature = <95000>; /* millicelsius */ > + hysteresis = <2000>; /* millicelsius */ > + type = "hot"; > + }; > + > + a73_critical: a73-critical { > + temperature = <110000>; /* millicelsius */ > + hysteresis = <2000>; /* millicelsius */ > + type = "critical"; > + }; > + }; > + > + cooling-maps { > + map-a73 { > + trip = <&a73_passive>; > + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; > + }; > + }; > + }; > + > + gpu_thermal: gpu-thermal { > + polling-delay = <1000>; > + polling-delay-passive = <100>; > + thermal-sensors = <&gpu_tsensor>; > + > + trips { > + gpu_passive: gpu-passive { > + temperature = <95000>; > + hysteresis = <5000>; > + type = "passive"; > + }; > + > + gpu_hot: gpu-hot { > + temperature = <105000>; > + hysteresis = <5000>; > + type = "passive"; > + }; > > + gpu_critical: gpu-critical { > + temperature = <115000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + hevc_thermal: hevc-thermal { > + polling-delay = <1000>; > + polling-delay-passive = <100>; > + thermal-sensors = <&hevc_tsensor>; > + > + trips { > + hevc_passive: hevc-passive { > + temperature = <95000>; > + hysteresis = <5000>; > + type = "passive"; > + }; > + > + hevc_hot: hevc-hot { > + temperature = <105000>; > + hysteresis = <5000>; > + type = "passive"; > + }; > + > + hevc_critical: hevc-critical { > + temperature = <115000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + nna_thermal: nna-thermal { > + polling-delay = <1000>; > + polling-delay-passive = <100>; > + thermal-sensors = <&nna_tsensor>; > + > + trips { > + nna_passive: nna-passive { > + temperature = <95000>; > + hysteresis = <5000>; > + type = "passive"; > + }; > + > + nna_hot: nna-hot { > + temperature = <105000>; > + hysteresis = <5000>; > + type = "passive"; > + }; > + > + nna_critical: nna-critical { > + temperature = <115000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + vpu_thermal: vpu-thermal { > + polling-delay = <1000>; > + polling-delay-passive = <100>; > + thermal-sensors = <&vpu_tsensor>; > + > + trips { > + vpu_passive: vpu-passive { > + temperature = <95000>; > + hysteresis = <5000>; > + type = "passive"; > + }; > + > + vpu_hot: vpu-hot { > + temperature = <105000>; > + hysteresis = <5000>; > + type = "passive"; > + }; > + > + vpu_critical: vpu-critical { > + temperature = <115000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > }; > }; > Reviewed-by: Neil Armstrong Thanks, Neil