linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: rafael@kernel.org, robh@kernel.org,
	Amit Daniel Kachhap <amit.kachhap@gmail.com>,
	Javi Merino <javi.merino@kernel.org>,
	Zhang Rui <rui.zhang@intel.com>,
	Amit Kucheria <amit.kucheria@verdurent.com>,
	"open list:THERMAL/CPU_COOLING" <linux-pm@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/4] thermal/drivers/cpuidle_cooling: Change the registration function
Date: Mon, 30 Mar 2020 15:28:52 +0530	[thread overview]
Message-ID: <20200330095852.rn2kxxenykm74664@vireshk-i7> (raw)
In-Reply-To: <20200329220324.8785-3-daniel.lezcano@linaro.org>

On 30-03-20, 00:03, Daniel Lezcano wrote:
> Today, there is no user for the cpuidle cooling device. The targetted
> platform is ARM and ARM64.
> 
> The cpuidle and the cpufreq cooling device are based on the device tree.
> 
> As the cpuidle cooling device can have its own configuration depending
> on the platform and the available idle states. The DT node description
> will give the optional properties to set the cooling device up.
> 
> Do no longer rely on the CPU node which is prone to error and will
> lead to a confusion in the DT because the cpufreq cooling device is
> also using it. Let initialize the cpuidle cooling device with the DT
> binding.
> 
> This was tested on:
>  - hikey960
>  - hikey6220
>  - rock960
>  - db845c
> 
> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
> ---
>  drivers/thermal/cpuidle_cooling.c | 58 +++++++++++++++++++++++++------
>  include/linux/cpu_cooling.h       |  7 ----
>  2 files changed, 47 insertions(+), 18 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

  reply	other threads:[~2020-03-30  9:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-29 22:03 [PATCH V2 1/4] powercap/drivers/idle_inject: Specify idle state max latency Daniel Lezcano
2020-03-29 22:03 ` [PATCH 2/4] dt-bindings: thermal: Add the idle cooling device Daniel Lezcano
2020-04-07 13:36   ` Daniel Lezcano
2020-04-07 14:09   ` Amit Kucheria
2020-04-10 16:59   ` Rob Herring
2020-04-12 18:08     ` Daniel Lezcano
2020-03-29 22:03 ` [PATCH 3/4] thermal/drivers/cpuidle_cooling: Change the registration function Daniel Lezcano
2020-03-30  9:58   ` Viresh Kumar [this message]
2020-03-29 22:03 ` [PATCH 4/4] thermal: cpuidle: Register cpuidle cooling device Daniel Lezcano
2020-04-03  9:38 ` [PATCH V2 1/4] powercap/drivers/idle_inject: Specify idle state max latency Rafael J. Wysocki
2020-04-03 11:09   ` Daniel Lezcano

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=20200330095852.rn2kxxenykm74664@vireshk-i7 \
    --to=viresh.kumar@linaro.org \
    --cc=amit.kachhap@gmail.com \
    --cc=amit.kucheria@verdurent.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=javi.merino@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=robh@kernel.org \
    --cc=rui.zhang@intel.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).