From patchwork Wed Aug 31 08:50:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 75044 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp219905qga; Wed, 31 Aug 2016 01:55:34 -0700 (PDT) X-Received: by 10.98.60.217 with SMTP id b86mr14859281pfk.129.1472633734223; Wed, 31 Aug 2016 01:55:34 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rd11si49816045pac.109.2016.08.31.01.55.33; Wed, 31 Aug 2016 01:55:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933810AbcHaIzb (ORCPT + 14 others); Wed, 31 Aug 2016 04:55:31 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:34416 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933722AbcHaIxk (ORCPT ); Wed, 31 Aug 2016 04:53:40 -0400 Received: by mail-pa0-f43.google.com with SMTP id fi15so16629743pac.1 for ; Wed, 31 Aug 2016 01:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1COGoXLtn9RE+IkK83eMu8Qp4bNAs4y+sKCt3dj/N04=; b=KMg5Fntqup0t9sbnRlXhOQ/oka4JSGhV0eYRBMQGtB2K/H5dnxtn81hzKYC2kf3w7G HDQXWfTwtRYzIRW+OvjI/JbfAQ3KTd5eW/BZmeGLlOA5M7QK0pstDIbwNVYyI/wChHzv Hu6RRj2nJerhm6qdJJJuhyjJM8c+1RB6M9svQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1COGoXLtn9RE+IkK83eMu8Qp4bNAs4y+sKCt3dj/N04=; b=Mnh4WSKSQvi2ghZY+uJHyXwCzfUDcg0MQXBNKsR9BaJauwGJpZMBWdrjtrxURyrwz8 DwsgK9iKCHlPp2MbYYMROiiAxuPXsLhgTox3pIQaskPYNjxmFny2seSB/PVCazGgBFB6 du+E3/Y6voNfM9N5ByXgEaYXwq4FvheiowiDH2HUXlPm3CpzaBFU52uG7v6M9rpmQYGq MqxZbWeMtfuG9JYKY8ZqkJ0LTfKT3fXM2YmCNPa0dzEJClMH3gVsyNK61j79RNdmpRdR wBO59wLu7Ll8/AQ3dnVVt9LlAr485GnmMc4Swsd3HYpUMS4AiiKEJAwrUdbCXMJtLb2L H9YA== X-Gm-Message-State: AE9vXwPzb1BPr5X7So6JlkPNczP23DarzIs6xNzyMnQQfTXcMKYeXampPi45rLaJA171m1Mz X-Received: by 10.66.13.200 with SMTP id j8mr14714971pac.150.1472633619193; Wed, 31 Aug 2016 01:53:39 -0700 (PDT) Received: from localhost.localdomain ([69.46.80.35]) by smtp.gmail.com with ESMTPSA id fj19sm63300449pab.37.2016.08.31.01.53.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 01:53:38 -0700 (PDT) From: Leo Yan To: Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Zhang Rui , 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 , Leo Yan Subject: [PATCH 2/3] thermal: hisilicon: fix for dependency Date: Wed, 31 Aug 2016 16:50:16 +0800 Message-Id: <1472633417-9330-3-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472633417-9330-1-git-send-email-leo.yan@linaro.org> References: <1472633417-9330-1-git-send-email-leo.yan@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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. Signed-off-by: Leo Yan --- drivers/thermal/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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