From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753820AbcKOMZd (ORCPT ); Tue, 15 Nov 2016 07:25:33 -0500 Received: from mga01.intel.com ([192.55.52.88]:45627 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749AbcKOMZb (ORCPT ); Tue, 15 Nov 2016 07:25:31 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,494,1473145200"; d="scan'208";a="786641681" Message-ID: <1479212695.2224.12.camel@intel.com> Subject: Re: [PATCH 2/3] thermal: hisilicon: fix for dependency From: Zhang Rui To: Leo Yan , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Eduardo Valentin , Arnd Bergmann , Simon Horman , Krzysztof Kozlowski , Thierry Reding , Riku Voipio , Srinivas Kandagatla , Rob Herring , Philipp Zabel Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, Guodong Xu , Amit Kucheria Date: Tue, 15 Nov 2016 20:24:55 +0800 In-Reply-To: <20161112120534.GC23848@leoy-linaro> References: <1472633417-9330-1-git-send-email-leo.yan@linaro.org> <1472633417-9330-3-git-send-email-leo.yan@linaro.org> <20161112120534.GC23848@leoy-linaro> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2016-11-12 at 20:05 +0800, Leo Yan wrote: > Hi Rui, Eduardo, > > On Wed, Aug 31, 2016 at 04:50:16PM +0800, Leo Yan wrote: > > > > The thermal driver is standalone driver which is used to enable > > thermal sensors, so it can be used with any cooling device and > > should not bind with CPU cooling device driver. > > > > This original patch is suggested by Amit Kucheria; so it's to > > polish the dependency in Kconfig, and remove the dependency with > > CPU_THERMAL. > Could you help review this patch? Or need me resend this patch? Sorry > I have not tracked this patches well before, this is one missed > patch for 96board Hikey. > as it still applies cleanly, the patch is queued for 4.10. thanks, rui > Thanks, > Leo Yan > > > > > Signed-off-by: Leo Yan > > --- > >  drivers/thermal/Kconfig | 4 +++- > >  1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig > > index 2d702ca..91ebab3 100644 > > --- a/drivers/thermal/Kconfig > > +++ b/drivers/thermal/Kconfig > > @@ -177,8 +177,10 @@ config THERMAL_EMULATION > >   > >  config HISI_THERMAL > >   tristate "Hisilicon thermal driver" > > - depends on (ARCH_HISI && CPU_THERMAL && OF) || > > COMPILE_TEST > > + depends on ARCH_HISI || COMPILE_TEST > >   depends on HAS_IOMEM > > + depends on OF > > + default y > >   help > >     Enable this to plug hisilicon's thermal sensor driver > > into the Linux > >     thermal framework. cpufreq is used as the cooling device > > to throttle