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 47E29EB64D9 for ; Wed, 12 Jul 2023 12:25:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232769AbjGLMZ2 (ORCPT ); Wed, 12 Jul 2023 08:25:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232216AbjGLMZ1 (ORCPT ); Wed, 12 Jul 2023 08:25:27 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7C0EE4D for ; Wed, 12 Jul 2023 05:25:23 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4fb77f21c63so11114458e87.2 for ; Wed, 12 Jul 2023 05:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689164722; x=1691756722; 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=F1ZyIkq4WbMXWqsXns9THs2olK9VahWIVb3OHn8unLs=; b=JOhezo/1ZaTIWSt6mBTejlQYkBv3WvNx2TkyB751uV8RDLHsGi3hu3tW9xLHpiBE27 t4RmO25UfGXyjCr5+327l2i6qJsBRlizuq4Mw3Hraf1vvDHPc7+KqAOCAAo8arDlju4T Gf9sZHtrCRqGKepDySmk7mN4VqXwDn0L+04sgal+ZfHzMohsv2AkZ/I6IhEwGEBSmJnE kRNtlyQj7knLf98OQuIJ4xTZbg7X5QIgQs1zxn0q8K55dN3NbLaYi+Q/CgXUKHKH4oiZ eKxmRal20B/z+d7dp1CYfWZKWSSTpmvWZZH13oueWr1KVcC1k/cL4Q/yWBFusZWwcnXf V8VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689164722; x=1691756722; 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=F1ZyIkq4WbMXWqsXns9THs2olK9VahWIVb3OHn8unLs=; b=QaxLapxOBoLsuGZFApus0ax1tpwWHwmgfchrWW1Tl+ERvdWNFt1pnpQ5p9pUh1yqVH 3bTUG8lP9C6qLo2n0hiQ6qNm5qwYV+n+0PGNaTYM2Syssee3mkm3M6aASQzkhv0EyLV9 Iu2Sgxdy805WX3uxyiVjGnyGrD6Unmp86hsdXsoEnH4c8S/W4Zlk7f9mZiFAIxnlp4xy h/qB0XdEkMq7qi0NpMQP1/lrNH8+olzN/1QBFGNKcV+QcGTevwvJNBIIw2591G6j0gZV Pq1EB0lhJ2puJUVX69nHdZ3X1evadKQt6jLU21UmA4UiVhnoMD9yIr4tW2xW0PBtkh5X 7EOQ== X-Gm-Message-State: ABy/qLa4bXoOQbXHoESH3gM6hlqUuddJF3dqWS/Eze0gIM3H+Eo9PpxA d+b3w5sw8GkvtXSqEYXgD5xD0g== X-Google-Smtp-Source: APBJJlH7qN4d0sOGUx0/N+ngJQbFVjX31uyhadAOMznlzUCc1KWAh341B1BGXehV5rlS7kbWZ5IdWA== X-Received: by 2002:a19:5e06:0:b0:4fb:9595:15e9 with SMTP id s6-20020a195e06000000b004fb959515e9mr14485851lfb.22.1689164722152; Wed, 12 Jul 2023 05:25:22 -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 i13-20020a056512006d00b004f73eac0308sm688235lfo.183.2023.07.12.05.25.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jul 2023 05:25:21 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2023 15:25:21 +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 v2 4/5] arm64: dts: qcom: ipq5332: Add thermal zone nodes Content-Language: en-GB To: Praveenkumar I , amitk@kernel.org, thara.gopinath@gmail.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, 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-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_varada@quicinc.com References: <20230712113539.4029941-1-quic_ipkumar@quicinc.com> <20230712113539.4029941-5-quic_ipkumar@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <20230712113539.4029941-5-quic_ipkumar@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 12/07/2023 14:35, Praveenkumar I wrote: > This patch adds thermal zone nodes for sensors present in > IPQ5332. > > Signed-off-by: Praveenkumar I > --- > [v2]: > Added passive trips and alignment change. > > arch/arm64/boot/dts/qcom/ipq5332.dtsi | 78 +++++++++++++++++++++++++++ > 1 file changed, 78 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > index 0eef77e36609..a1f59af97ee8 100644 > --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > @@ -480,4 +480,82 @@ 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 = <115000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + > + cpu-passive { > + temperature = <105000>; > + hysteresis = <1000>; > + type = "passive"; cooling device for this trip point? > + }; > + }; > + }; > + > + 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