devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Brugger <matthias.bgg@gmail.com>
To: Michael Kao <michael.kao@mediatek.com>,
	Zhang Rui <rui.zhang@intel.com>,
	Eduardo Valentin <edubezval@gmail.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	hsinyi@chromium.org, linux-pm@vger.kernel.org,
	srv_heupstream@mediatek.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH] [RESEND] arm64: dts: mt8173: fix cooling device range
Date: Fri, 15 May 2020 17:33:32 +0200	[thread overview]
Message-ID: <8e8a17ef-6919-0aef-2e8c-4ce6bb388bec@gmail.com> (raw)
In-Reply-To: <20200424082340.4127-1-michael.kao@mediatek.com>



On 24/04/2020 10:23, Michael Kao wrote:
> When thermal reaches target temperature,it would be pinned to state 0
> (max frequency and power).
> Fix the throttling range to no limit.
> 
> Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
> Signed-off-by: Michael Kao <michael.kao@mediatek.com>

applied to v5.7-next/dts64

Thanks!

> ---
>  arch/arm64/boot/dts/mediatek/mt8173.dtsi | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> index ccb8e88a60c5..cae2cec46cdc 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> @@ -19,6 +19,7 @@
>  #include <dt-bindings/power/mt8173-power.h>
>  #include <dt-bindings/reset/mt8173-resets.h>
>  #include <dt-bindings/gce/mt8173-gce.h>
> +#include <dt-bindings/thermal/thermal.h>
>  #include "mt8173-pinfunc.h"
>  
>  / {
> @@ -294,14 +295,18 @@
>  			cooling-maps {
>  				map@0 {
>  					trip = <&target>;
> -					cooling-device = <&cpu0 0 0>,
> -							 <&cpu1 0 0>;
> +					cooling-device = <&cpu0 THERMAL_NO_LIMIT
> +							  THERMAL_NO_LIMIT>,
> +							 <&cpu1 THERMAL_NO_LIMIT
> +							  THERMAL_NO_LIMIT>;
>  					contribution = <3072>;
>  				};
>  				map@1 {
>  					trip = <&target>;
> -					cooling-device = <&cpu2 0 0>,
> -							 <&cpu3 0 0>;
> +					cooling-device = <&cpu2 THERMAL_NO_LIMIT
> +							  THERMAL_NO_LIMIT>,
> +							 <&cpu3 THERMAL_NO_LIMIT
> +							  THERMAL_NO_LIMIT>;
>  					contribution = <1024>;
>  				};
>  			};
> 

      reply	other threads:[~2020-05-15 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24  8:23 [PATCH] [RESEND] arm64: dts: mt8173: fix cooling device range Michael Kao
2020-05-15 15:33 ` Matthias Brugger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8e8a17ef-6919-0aef-2e8c-4ce6bb388bec@gmail.com \
    --to=matthias.bgg@gmail.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=edubezval@gmail.com \
    --cc=hsinyi@chromium.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=michael.kao@mediatek.com \
    --cc=robh+dt@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=srv_heupstream@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).