devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eduardo Valentin <edubezval@gmail.com>
To: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	Simon Horman <horms@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-renesas-soc@vger.kernel.org
Subject: Re: [2/2] arm64: dts: r8a7796: add thermal cooling management
Date: Mon, 1 Jan 2018 10:11:05 -0800	[thread overview]
Message-ID: <20180101181102.GA3487@localhost.localdomain> (raw)
In-Reply-To: <20170913105909.13230-3-niklas.soderlund+renesas@ragnatech.se>

On Wed, Sep 13, 2017 at 12:59:09PM +0200, Niklas Söderlund wrote:
> Add nodes and properties for thermal cooling management support.
> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

Acked-by: Eduardo Valentin <edubezval@gmail.com>

> ---
>  arch/arm64/boot/dts/renesas/r8a7796.dtsi | 38 ++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> index 2905a3b953aab145..0b805dc30925e9be 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> @@ -53,6 +53,7 @@
>  				<&cluster0_opp_tb3>, <&cluster0_opp_tb4>,
>  				<&cluster0_opp_tb5>, <&cluster0_opp_tb6>,
>  				<&cluster0_opp_tb7>;
> +			#cooling-cells = <2>;
>  		};
>  
>  		a57_1: cpu@1 {
> @@ -67,6 +68,7 @@
>  				<&cluster0_opp_tb3>, <&cluster0_opp_tb4>,
>  				<&cluster0_opp_tb5>, <&cluster0_opp_tb6>,
>  				<&cluster0_opp_tb7>;
> +			#cooling-cells = <2>;
>  		};
>  
>  		a53_0: cpu@100 {
> @@ -2116,12 +2118,24 @@
>  				thermal-sensors = <&tsc 0>;
>  
>  				trips {
> +					sensor1_passive: sensor1-passive {
> +						temperature = <95000>;
> +						hysteresis = <2000>;
> +						type = "passive";
> +					};
>  					sensor1_crit: sensor1-crit {
>  						temperature = <120000>;
>  						hysteresis = <2000>;
>  						type = "critical";
>  					};
>  				};
> +
> +				cooling-maps {
> +					map0 {
> +						trip = <&sensor1_passive>;
> +						cooling-device = <&a57_0 5 5>;
> +					};
> +				};
>  			};
>  
>  			sensor_thermal2: sensor-thermal2 {
> @@ -2130,12 +2144,24 @@
>  				thermal-sensors = <&tsc 1>;
>  
>  				trips {
> +					sensor2_passive: sensor2-passive {
> +						temperature = <95000>;
> +						hysteresis = <2000>;
> +						type = "passive";
> +					};
>  					sensor2_crit: sensor2-crit {
>  						temperature = <120000>;
>  						hysteresis = <2000>;
>  						type = "critical";
>  					};
>  				};
> +
> +				cooling-maps {
> +					map0 {
> +						trip = <&sensor2_passive>;
> +						cooling-device = <&a57_0 5 5>;
> +					};
> +				};
>  			};
>  
>  			sensor_thermal3: sensor-thermal3 {
> @@ -2144,12 +2170,24 @@
>  				thermal-sensors = <&tsc 2>;
>  
>  				trips {
> +					sensor3_passive: sensor3-passive {
> +						temperature = <95000>;
> +						hysteresis = <2000>;
> +						type = "passive";
> +					};
>  					sensor3_crit: sensor3-crit {
>  						temperature = <120000>;
>  						hysteresis = <2000>;
>  						type = "critical";
>  					};
>  				};
> +
> +				cooling-maps {
> +					map0 {
> +						trip = <&sensor3_passive>;
> +						cooling-device = <&a57_0 5 5>;
> +					};
> +				};
>  			};
>  		};
>  

  reply	other threads:[~2018-01-01 18:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-13 10:59 [PATCH 0/2] arm64: dts: r8a7795: r8a7796: add thermal cooling management Niklas Söderlund
     [not found] ` <20170913105909.13230-1-niklas.soderlund+renesas-1zkq55x86MTxsAP9Fp7wbw@public.gmane.org>
2017-09-13 10:59   ` [PATCH 1/2] arm64: dts: r8a7795: " Niklas Söderlund
     [not found]     ` <20170913105909.13230-2-niklas.soderlund+renesas-1zkq55x86MTxsAP9Fp7wbw@public.gmane.org>
2018-01-01 18:12       ` [1/2] " Eduardo Valentin
2018-01-01 18:13     ` Eduardo Valentin
2018-01-02  9:19       ` Simon Horman
2018-01-03  0:03         ` Niklas Söderlund
2018-01-03 10:14           ` Simon Horman
2018-01-03 10:25             ` Geert Uytterhoeven
2018-01-04 16:53               ` Simon Horman
2017-09-13 10:59   ` [PATCH 2/2] arm64: dts: r8a7796: " Niklas Söderlund
2018-01-01 18:11     ` Eduardo Valentin [this message]
2017-09-15  7:37   ` [PATCH 0/2] arm64: dts: r8a7795: " Simon Horman

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=20180101181102.GA3487@localhost.localdomain \
    --to=edubezval@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=horms@verge.net.au \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=niklas.soderlund+renesas@ragnatech.se \
    /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).