lkml.org 
[lkml]   [2016]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling
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
>

\
 
 \ /
  Last update: 2016-06-20 16:01    [W:0.067 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site