From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932294AbcFTNQr (ORCPT ); Mon, 20 Jun 2016 09:16:47 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:35767 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101AbcFTNQ1 (ORCPT ); Mon, 20 Jun 2016 09:16:27 -0400 Date: Mon, 20 Jun 2016 21:16:16 +0800 From: Leo Yan To: Amit Kucheria Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Eduardo Valentin , kongxinwei , Zhang Rui Subject: Re: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling Message-ID: <20160620131616.GA400@leoy-linaro> References: <32d418f24a4da44ad4ca5b2b1276ffcea2aa7d6c.1466424352.git.amit.kucheria@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 > --- > 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 > 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 >