From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACF2D3264E2 for ; Fri, 24 Apr 2026 09:53:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777024399; cv=none; b=kPDxMNsb51VrLED3DKuKU9Q+Os7AvCyI3+GlIHYHagDxWnmgwineUdL1FQNAxx5Dq/JRhs8yM6514P4gBoTM21ImzbY3LG1dxdaRpoyZetdgOgIz/TgEKGh/2nSxFXeAiZ4uxrCQG0EN2/I8R1/oD452N0eIN66VWM666W0259M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777024399; c=relaxed/simple; bh=qqaeXtSxiTWa6nb7odE0NNpzwlxBegSvuphPOAi08mM=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=rTQLerYIvPB06UO+7GIFqtRHEUA5yYXz+b2ILxux333hVz3Jqz/Dv7So91ocohmHOEiwSf10jHUMC0Uy5b1pM3KFLskEmDJFSp987wQa9+Y/G122jS0YPkm2kOqNeyjFS13ZYweN/pb+ZzV5KFvB0/HmzxlH70gCPTcZfX2OiqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=i3xMf6pC; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="i3xMf6pC" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-483487335c2so74486115e9.2 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=vger.kernel.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=i3xMf6pC/yWp5I5iwAhUhnaiF2/HSZ3D+ez+RTy59Sv8Ii/d3JG/0vx/XQNX42Agor 1il1Blez2DM3KeFOtqLSGp/HFMhvq+Ht9GT7njc2ZM6tmeaYNGj3FSdQvaxif4gEB5V7 TDYCzDhM7B0f2Lx5S2rFoG0LuI3tYvQM4HZT3rjGUCzbxE7DZQFOpOCnoJ4cPomodj9n mNSykWaJItC46WQaRpAU5M4FiYD9r0liQuZV8jh0l/svScpONeljTRB4x8SIuBlieLAj D2prx9SeSvQZyARSXFzerhlR3FnFG8GwyzPNrGgxV3EVAcu5t5BKFwhbbdK0wQty0TGK si4A== 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=G3zVgh768tGNGs6y2fpMBFgwFNrC8cA2CQ4wkfsgglhq9cIFSVL5Xc1bs1zjukESix IF8syzyJZUI2nga+2F+4GIdD7CWNLi47LhYN8jQq2MfptO+MdXgdlh6BbsKHxZyn75AU I2WrcFfU1NnmisheOvgGlwy8lMeFy43TQ5eI8MDpFapDztFG2+N25mrCTRTcCkNjd6Jo QoJA1D6EzCcxnx8pxN7yaWMlA0Bot/IOvwbX5azyZfUAHG4SWTsSHO/LfqQHO8EW4GWt HrPqlyqVrRWbV+m0LuZQWU0S88od1p3xt25bCzsRf1DdL+eevFie4CntWnvW4ZVbM7EU 1XAg== X-Forwarded-Encrypted: i=1; AFNElJ9Rycj72A5dCi22l0TlbRJcNLvvUDcKMqFox7VutE4uqJM0kf+fky8pZLv7gKVlSGQ71GB/UzIYQIPj9co=@vger.kernel.org X-Gm-Message-State: AOJu0Yx8cArdVEqlxSLT88VfJv1OUefZBZgi9waz58nkfxWQKDJmdzP9 iCCtZuCGyljjCMuNIoHEC99y7munyRfEsY9qX7NMeHxgrjj9raPY5eNTTKksthdMg2U= X-Gm-Gg: AeBDieuQc6O6HG9kCefDhyOs4SCuYccZcve6pWCXpIG64zVb/9qE7HO2KKI/Str1E8L 0nAE9NUzAvH2gaxz3VroNBbQaFSAbCDWDcAGaWMJXAvYB1hxVzgS9zAEfo5FMQpiH+kJp0ICmB7 62gCfr+hUUCevtxq9WyaYUATt1OPJbOeinLMGJyVvU6+Yl3k60lAC6LXGnxa8Tb+AbVNCmfY5Lg HtD3xiM7ZiUpspKru5RMapdok5HcRoU2bDV7f04bFSNUFlhnQr3sPs6EckvvQRQVVBik+APP+kL Aunv2Mkt+DaT3y5RqJofR4Wf9Q4FxaGpZ9yay+MYOfd865YJOTCMicNy4h9hrSuOckHX7OcFT4c TVvSUZbInJOXdDKikP8O4IKylihXTEnTzWcnV/1uMEgs2rFH7xu1tSyXzhjUs5EaNoBe5PPQPhL 725hXUBVuig5Tcucau6achp7c65GFsQtA0x8WaEF9F/8IKgOPyPy6XDr/UNhQHfrPidO8hMVg2H RiBeUuRnAFUIX2JyQ== X-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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: 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+yLNn7QtXUB530Zlk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bwfBNuT3H8//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 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