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 92ED8C7EE2C for ; Mon, 8 May 2023 09:01:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233422AbjEHJBn (ORCPT ); Mon, 8 May 2023 05:01:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233609AbjEHJBA (ORCPT ); Mon, 8 May 2023 05:01:00 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 852ED19D7B for ; Mon, 8 May 2023 02:00:38 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4f24d4900bbso1179797e87.3 for ; Mon, 08 May 2023 02:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683536415; x=1686128415; 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=PT1MjX9Jt1V1wOfZQ22B9L8R20mNO/popYvQeqwMHes=; b=Vqw9qGa5EUnl82dBIYP3d873838EBEWXEGt1jxJjIb3DuldpgfMH0MSDBaGL/nzEMt YKHLjY9U59TWVWDU0uy2YXzzcML0x5q1VJ8SnHVYgw57LC/NTzrh1aoektDKxfHphWKa kM+KhSnZLOnVaa6UKIE7fovrWRpCXlbTSwF4QRu9dYTMYbYbAOHcwELa+hY4D2vO+Kkq WJcaBMVMBd4Uj1MkAJm0JTF1VKELx1/ItDVFytEDn5K2GGjz+gBHB6KDVqV+BOjWEDyu 1kP4jMFbZiXdEEV20h4JuMQB2FV4fY9Ck552RAhNHAAWG3UirZLXJaq2Fj5FW49Vu226 w+yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683536415; x=1686128415; 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=PT1MjX9Jt1V1wOfZQ22B9L8R20mNO/popYvQeqwMHes=; b=FLyR5n9vzbW81Bx7K4h1HsXaU06gDH3LepRJiwjp6+1pZD6H0/fFD4xICFW7zjXo+u bszeJm8aDbYJe90VmXWlTWhPdX9T/q3L5puIvXBUL6jHHWv5gLDJlpPGj6ypaIGH+bLv QoTRPUpoCZSIstuIQs4KdNzWORB121OpDic3SBRL5axRcNWK6d0R//HMR5sGSLuBC2vj JrQsYSGCmGPupaUfglrt3Oig9QSyliSClINwbV9+omsmzcZ7Ck82qBF/BlxUDsoDqW9U 8PviIkqyqNaL2mDdcjO9MfNr1MvVdVUcxOSp62n6cJeN9vxtXajvNhmztktO7LkVK29n p9gw== X-Gm-Message-State: AC+VfDwB2dbqWbd2d2ALpNXZ/FwpMwu5KFHSy2lT4UglLjXFYYfBOdWn s1YWo6D2oQ3cwUhpsuQ9vUmWeA== X-Google-Smtp-Source: ACHHUZ5tnKfNqFFrQml/C0rlmRjXoCzgUpGXhKhZmXq72SSIs6MgMwcDBJSAnMpLpJ653tjBo2ya/Q== X-Received: by 2002:ac2:44c9:0:b0:4ef:f509:1184 with SMTP id d9-20020ac244c9000000b004eff5091184mr2276066lfm.3.1683536415351; Mon, 08 May 2023 02:00:15 -0700 (PDT) Received: from [192.168.1.101] (abyl248.neoplus.adsl.tpnet.pl. [83.9.31.248]) by smtp.gmail.com with ESMTPSA id u15-20020ac248af000000b004edc20b8929sm1235989lfg.69.2023.05.08.02.00.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 May 2023 02:00:14 -0700 (PDT) Message-ID: <9773aeee-1529-7fd8-b24d-d665e622f8d3@linaro.org> Date: Mon, 8 May 2023 11:00:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: ipq9574: add thermal zone nodes Content-Language: en-US To: Varadarajan Narayanan , agross@kernel.org, andersson@kernel.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, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Praveenkumar I References: From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 8.05.2023 07:32, Varadarajan Narayanan wrote: > This patch adds thermal zone nodes for the various > sensors present in IPQ9574 > > Reviewed-by: Dmitry Baryshkov > Co-developed-by: Praveenkumar I > Signed-off-by: Praveenkumar I > Signed-off-by: Varadarajan Narayanan > --- > [v2]: > Rename clusterX nodes as cpussX nodes > > [v1]: > Fix node names > --- > arch/arm64/boot/dts/qcom/ipq9574.dtsi | 208 ++++++++++++++++++++++++++++++++++ > 1 file changed, 208 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi > index 85bba6a..5a29ee7 100644 > --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi > @@ -1067,6 +1067,214 @@ > }; > }; > > + thermal-zones { > + nss-top-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 3>; > + > + trips { > + nss-top-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + ubi-0-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 4>; > + > + trips { > + ubi_0-critical { no underscores in node names Konrad > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + ubi-1-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 5>; > + > + trips { > + ubi_1-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + ubi-2-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 6>; > + > + trips { > + ubi_2-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + ubi-3-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 7>; > + > + trips { > + ubi_3-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpuss0-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 8>; > + > + trips { > + cpu-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpuss1-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 9>; > + > + trips { > + cpu-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpu0-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 10>; > + > + trips { > + cpu-critical { > + temperature = <120000>; > + hysteresis = <10000>; > + type = "critical"; > + }; > + > + cpu-passive { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "passive"; > + }; > + }; > + }; > + > + cpu1-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 11>; > + > + trips { > + cpu-critical { > + temperature = <120000>; > + hysteresis = <10000>; > + type = "critical"; > + }; > + > + cpu-passive { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "passive"; > + }; > + }; > + }; > + > + cpu2-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 12>; > + > + trips { > + cpu-critical { > + temperature = <120000>; > + hysteresis = <10000>; > + type = "critical"; > + }; > + > + cpu-passive { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "passive"; > + }; > + }; > + }; > + > + cpu3-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 13>; > + > + trips { > + cpu-critical { > + temperature = <120000>; > + hysteresis = <10000>; > + type = "critical"; > + }; > + > + cpu-passive { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "passive"; > + }; > + }; > + }; > + > + wcss-phyb-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 14>; > + > + trips { > + wcss_phyb-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + top-glue-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + thermal-sensors = <&tsens 15>; > + > + trips { > + top_glue-critical { > + temperature = <125000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + }; > + > timer { > compatible = "arm,armv8-timer"; > interrupts = ,