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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F01EEB64DA for ; Mon, 10 Jul 2023 11:23:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232306AbjGJLXP (ORCPT ); Mon, 10 Jul 2023 07:23:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232201AbjGJLXM (ORCPT ); Mon, 10 Jul 2023 07:23:12 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69E2EE6 for ; Mon, 10 Jul 2023 04:23:10 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4f4b2bc1565so6607123e87.2 for ; Mon, 10 Jul 2023 04:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688988189; x=1691580189; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xUxkf5RZGu2yidCyZ+qFJ65AjIed+EE+d0XWkl7imOo=; b=SEEnpi0+eGxrYUD0c3qzfBknh8G3+ELBxr2VzPqUEApiUhC4ZTmL+I6xx7wCs44XFA EiyTtXubmJbDWeGYEeJXQA7zt7DqEvNAvXHmi11mkFyDOAHneNS7vtoOFIiBNyCX1qqz D60LRo4kHC+kruODQeOovuC5rYX5bVBNr5KIVlRsFzYerSf50dkVzic7MAwtILyNCkAe RI1XUwqU9U6n5AQxfBXIRBN9YzohJEnGj+XR2wuI3e0w2k9jSRc+8og61FoE3A5IBLGK 3uEKyznrY2gQEagWgeZx6vj3pk7XHi1pJLRLsWmdYF3vC9l/kn6ksXGdYldYmm3vnguw YY9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688988189; x=1691580189; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xUxkf5RZGu2yidCyZ+qFJ65AjIed+EE+d0XWkl7imOo=; b=is8Kub601ulEXSdif/CkDCx7ub4AGu08tgWXvT+lYZhwmyC1yWQYh8hJVFygjv7oQf sHuU/wo9jsCfNMtgEL2w2nftLJ0lAL8QSAvCmhlentI1kNRfdZ/Nx3O4dqzdkUoZYzJn oNSyl7MyI9dVLAXbd2i0zESWnGP/vV51wLfqXPXotNY5JYiipBTw+oBaDJdzSnd55T2F SDcv8fNSVAwDNp+G1kpB8m/gbpvlR92ukSHfDkPr930w2K1JPu1TZnfHzIXZZUpLR/Xh LtD8h0CCvYUTBT97yf+kLduxu5C5LAc4whrTqYWCBaw08oLg9yZrvbW6r2X5zJE2I/ls 3IXg== X-Gm-Message-State: ABy/qLapZwEBz5HKyMZHNFBtQecWSukRYgyWlW8d0YYXvEouzvAFK7SC usPMIsnGc9XoK+hjQ1vOL3CNtg== X-Google-Smtp-Source: APBJJlEObkVeIgQVbnOkglpvJlBEnplY6s2uOIVDL3/gE5xX/0kLoNfinXj270azZbxc9QDRDte3HQ== X-Received: by 2002:a05:6512:b8e:b0:4f9:a542:91c with SMTP id b14-20020a0565120b8e00b004f9a542091cmr12164170lfv.3.1688988188796; Mon, 10 Jul 2023 04:23:08 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id l3-20020ac24303000000b004fbc2ffdef8sm1661915lfh.174.2023.07.10.04.23.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jul 2023 04:23:08 -0700 (PDT) Message-ID: <3f6ab4b4-b5f5-5807-0cb4-8ae782bd6044@linaro.org> Date: Mon, 10 Jul 2023 14:23:07 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 5/6] arm64: dts: qcom: ipq5332: Add thermal zone nodes Content-Language: en-GB To: Praveenkumar I , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, amitk@kernel.org, thara.gopinath@gmail.com, rafael@kernel.org, daniel.lezcano@linaro.org, rui.zhang@intel.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_varada@quicinc.com References: <20230710103735.1375847-1-quic_ipkumar@quicinc.com> <20230710103735.1375847-6-quic_ipkumar@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <20230710103735.1375847-6-quic_ipkumar@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/07/2023 13:37, Praveenkumar I wrote: > This patch adds thermal zone nodes for sensors present in > IPQ5332. > > Signed-off-by: Praveenkumar I > --- > arch/arm64/boot/dts/qcom/ipq5332.dtsi | 72 +++++++++++++++++++++++++++ > 1 file changed, 72 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > index a1e3527178c0..8b276aeca53e 100644 > --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > @@ -527,4 +527,76 @@ timer { > , > ; > }; > + > + thermal-zones { > + rfa-0-thermal{ > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 11>; > + > + trips { > + rfa-0-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + rfa-1-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 12>; > + > + trips { > + rfa-1-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + misc-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 13>; > + > + trips { > + misc-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpu-top-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 14>; > + > + trips { > + cpu-top-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; Could you please add a passive cooling devices for the CPU? > + }; > + > + top-glue-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 15>; > + > + trips { > + top-glue-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + }; > }; -- With best wishes Dmitry