[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <f6bbd7ddf978001aa0f1c6fb8fc454a30241d0a8.1466424352.git.amit.kucheria@linaro.org>
Date: Mon, 20 Jun 2016 17:46:36 +0530
From: Amit Kucheria <amit.kucheria@...aro.org>
To: linux-kernel@...r.kernel.org
Cc: linux-pm@...r.kernel.org, leo.yan@...aro.org,
Eduardo Valentin <edubezval@...il.com>,
kongxinwei <kong.kongxinwei@...ilicon.com>,
Zhang Rui <rui.zhang@...el.com>
Subject: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling
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@...aro.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
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
Powered by blists - more mailing lists