From patchwork Wed Nov 18 13:52:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Punit Agrawal X-Patchwork-Id: 56940 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp2573059lbb; Wed, 18 Nov 2015 05:53:23 -0800 (PST) X-Received: by 10.68.200.201 with SMTP id ju9mr2264812pbc.148.1447854803682; Wed, 18 Nov 2015 05:53:23 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1si4466398pas.116.2015.11.18.05.53.23; Wed, 18 Nov 2015 05:53:23 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755237AbbKRNxW (ORCPT + 11 others); Wed, 18 Nov 2015 08:53:22 -0500 Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:56504 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754824AbbKRNxV (ORCPT ); Wed, 18 Nov 2015 08:53:21 -0500 Received: from e105922-lin.cambridge.arm.com (e105922-lin.cambridge.arm.com [10.1.207.164]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with SMTP id tAIDqlNr029807; Wed, 18 Nov 2015 13:52:47 GMT Received: by e105922-lin.cambridge.arm.com (sSMTP sendmail emulation); Wed, 18 Nov 2015 13:52:47 +0000 From: Punit Agrawal To: linux-pm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, Punit Agrawal , Sudeep Holla , "Rafael J . Wysocki" , Viresh Kumar Subject: [PATCH v2] cpufreq: scpi: Depend on SCPI clk driver Date: Wed, 18 Nov 2015 13:52:44 +0000 Message-Id: <1447854764-9865-1-git-send-email-punit.agrawal@arm.com> X-Mailer: git-send-email 2.6.2 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The SCPI clk driver registers the virtual cpufreq device that kicks off initialisation of the SCPI cpufreq driver. Also, clk_get() will fail for the cpufreq driver if the scpi clk driver is missing. Fix this by making the scpi cpufreq driver explicitly depend on the scpi clk driver. Fixes: 8def31034d03 ("cpufreq: arm_big_little: add SCPI interface driver") Signed-off-by: Punit Agrawal Cc: Sudeep Holla Cc: Rafael J. Wysocki Cc: Viresh Kumar --- drivers/cpufreq/Kconfig.arm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.6.2 -- 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 Acked-by: Viresh Kumar diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 1582c1c..dadfdd4 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -201,7 +201,7 @@ config ARM_SA1110_CPUFREQ config ARM_SCPI_CPUFREQ tristate "SCPI based CPUfreq driver" - depends on ARM_BIG_LITTLE_CPUFREQ && ARM_SCPI_PROTOCOL + depends on ARM_BIG_LITTLE_CPUFREQ && ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI help This adds the CPUfreq driver support for ARM big.LITTLE platforms using SCPI protocol for CPU power management.