linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Leo Yan <leo.yan@linaro.org>
To: Amit Kucheria <amit.kucheria@linaro.org>
Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
	Eduardo Valentin <edubezval@gmail.com>,
	kongxinwei <kong.kongxinwei@hisilicon.com>,
	Zhang Rui <rui.zhang@intel.com>
Subject: Re: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling
Date: Mon, 20 Jun 2016 21:16:16 +0800	[thread overview]
Message-ID: <20160620131616.GA400@leoy-linaro> (raw)
In-Reply-To: <f6bbd7ddf978001aa0f1c6fb8fc454a30241d0a8.1466424352.git.amit.kucheria@linaro.org>

Hi Amit,

On Mon, Jun 20, 2016 at 05:46:36PM +0530, Amit Kucheria wrote:
> The Hisilicon clock stub driver is needed to allow the thermal drivers to
> actually scale the frequency. Make it an automatic dependency.
> 
> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
> ---
>  drivers/thermal/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 22ae1f7..4e843f7 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -178,6 +178,7 @@ config THERMAL_EMULATION
>  config HISI_THERMAL
>  	tristate "Hisilicon thermal driver"
>  	depends on (ARCH_HISI && CPU_THERMAL && OF) || COMPILE_TEST
> +	select STUB_CLK_HI6220

Acked-by: Leo Yan <leo.yan@linaro.org>

>  	help
>  	  Enable this to plug hisilicon's thermal sensor driver into the Linux
>  	  thermal framework. cpufreq is used as the cooling device to throttle
> -- 
> 2.5.0
> 

  reply	other threads:[~2016-06-20 13:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <32d418f24a4da44ad4ca5b2b1276ffcea2aa7d6c.1466424352.git.amit.kucheria@linaro.org>
2016-06-20 12:16 ` [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling Amit Kucheria
2016-06-20 13:16   ` Leo Yan [this message]
2016-06-26 16:32     ` Amit Kucheria
2016-07-07  6:43       ` Amit Kucheria
2016-07-25 12:29         ` Amit Kucheria
2016-07-25 13:19           ` Wei Xu
2016-08-01  6:13             ` Amit Kucheria
2016-08-19  8:02               ` Zhang Rui

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=20160620131616.GA400@leoy-linaro \
    --to=leo.yan@linaro.org \
    --cc=amit.kucheria@linaro.org \
    --cc=edubezval@gmail.com \
    --cc=kong.kongxinwei@hisilicon.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.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).