From patchwork Mon Jun 20 12:16:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 70444 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1481835qgy; Mon, 20 Jun 2016 05:24:19 -0700 (PDT) X-Received: by 10.36.148.214 with SMTP id j205mr17117239ite.48.1466425456428; Mon, 20 Jun 2016 05:24:16 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zk17si18536979pab.0.2016.06.20.05.24.16; Mon, 20 Jun 2016 05:24:16 -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 S1753654AbcFTMXh (ORCPT + 14 others); Mon, 20 Jun 2016 08:23:37 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:35442 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbcFTMXc (ORCPT ); Mon, 20 Jun 2016 08:23:32 -0400 Received: by mail-pf0-f177.google.com with SMTP id c2so53938726pfa.2 for ; Mon, 20 Jun 2016 05:21:58 -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=Du2ojjLZTSMgolT9bf6mAsqb/LYlreLkrSFd4LmF6C8=; b=ZV2YkXLdoxZvlo4Hyhww33Rlj/e0tI7E3oh02PyPetB8RHTYQfMirev+Y9DXJK4uoi QWSPvgl2SkPSXX1H1Oo3Wt63glA80EPW167yqzD50p453D0+JcDd0VjyGFxCZCe+dv+J kUOIqoDOdCp4LkfKnHFhcLWqIE0oR3MpG8XNM= 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=Du2ojjLZTSMgolT9bf6mAsqb/LYlreLkrSFd4LmF6C8=; b=apT+cL37ML6q/O2j2vsnwDdC2sBjcImwEzPI9NjrwfUYj/nUjpYJwxe5yBKnynrH1h L6LEqlsoY4hX3XLQy+2E24fm0BOjpsh2dm0D8fZb2/LWRQIjt8vG6lDJayS6osdpnybp tRoZildgwVmwD4qo2PgLh/J0ViaGl+khaqeJdD4Kuv8Wa9x26A2eQei6LpRC0a9LjctP hnsxdNBUQFPxtYCwUNu6B8Skgj7Bv8TM/6qBhj4k3lisCbVipum6ByAbp+zF1xGrIJkA nfjsEssxKG9YDESpX9bEE8CsuY/W7ES2yLvEitoxBwc3gDOVwUNvzyMtKZMJJ2IRpv7O KfkQ== X-Gm-Message-State: ALyK8tJmW6RF0cxzrCd362oKiAq6T9xvdKGNHnJVwLY73kvotGfKjkck00xTd+WWBEUZ13VJ X-Received: by 10.98.158.206 with SMTP id f75mr21530404pfk.164.1466424999291; Mon, 20 Jun 2016 05:16:39 -0700 (PDT) Received: from localhost ([49.248.171.30]) by smtp.gmail.com with ESMTPSA id by5sm53011969pad.36.2016.06.20.05.16.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 05:16:38 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: linux-pm@vger.kernel.org, leo.yan@linaro.org, Eduardo Valentin , kongxinwei , Zhang Rui Subject: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling Date: Mon, 20 Jun 2016 17:46:36 +0530 Message-Id: X-Mailer: git-send-email 2.5.0 In-Reply-To: <32d418f24a4da44ad4ca5b2b1276ffcea2aa7d6c.1466424352.git.amit.kucheria@linaro.org> References: <32d418f24a4da44ad4ca5b2b1276ffcea2aa7d6c.1466424352.git.amit.kucheria@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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(+) -- 2.5.0 -- 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 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