From patchwork Thu Sep 22 22:27:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Turquette X-Patchwork-Id: 4288 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 37BA623EF5 for ; Thu, 22 Sep 2011 22:31:08 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 2CD7DA18617 for ; Thu, 22 Sep 2011 22:31:08 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id 23so4544060fxe.11 for ; Thu, 22 Sep 2011 15:31:08 -0700 (PDT) Received: by 10.223.33.19 with SMTP id f19mr3726565fad.122.1316730668038; Thu, 22 Sep 2011 15:31:08 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.18.198 with SMTP id y6cs186675lad; Thu, 22 Sep 2011 15:31:07 -0700 (PDT) Received: by 10.68.33.130 with SMTP id r2mr6384308pbi.71.1316730666628; Thu, 22 Sep 2011 15:31:06 -0700 (PDT) Received: from na3sys009aog102.obsmtp.com ([74.125.149.69]) by mx.google.com with SMTP id k4si10374014pbn.61.2011.09.22.15.31.02 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Sep 2011 15:31:06 -0700 (PDT) Received-SPF: pass (google.com: domain of mturquette@ti.com designates 74.125.149.69 as permitted sender) client-ip=74.125.149.69; Authentication-Results: mx.google.com; spf=pass (google.com: domain of mturquette@ti.com designates 74.125.149.69 as permitted sender) smtp.mail=mturquette@ti.com Received: from mail-gw0-f44.google.com ([74.125.83.44]) (using TLSv1) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKTnu3Jips0kbi4fGyj+k6JtFVwVFO1RhB@postini.com; Thu, 22 Sep 2011 15:31:06 PDT Received: by mail-gw0-f44.google.com with SMTP id 15so3497427gwj.3 for ; Thu, 22 Sep 2011 15:31:02 -0700 (PDT) Received: by 10.150.56.12 with SMTP id e12mr2986634yba.254.1316730661949; Thu, 22 Sep 2011 15:31:01 -0700 (PDT) Received: from localhost.localdomain (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id p20sm30867801ano.4.2011.09.22.15.30.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Sep 2011 15:31:00 -0700 (PDT) From: Mike Turquette To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, jeremy.kerr@canonical.com, broonie@opensource.wolfsonmicro.com, tglx@linutronix.de, linus.walleij@stericsson.com, amit.kucheria@linaro.org, dsaxena@linaro.org, patches@linaro.org, linaro-dev@lists.linaro.org, paul@pwsan.com, grant.likely@secretlab.ca, sboyd@quiinc.com, shawn.guo@freescale.com, skannan@quicinc.com, magnus.damm@gmail.com, arnd.bergmann@linaro.org, linux@arm.linux.org.uk, eric.miao@linaro.org, richard.zhao@linaro.org Subject: [PATCH v2 5/7] clk: Add Kconfig option to build all generic clk drivers Date: Thu, 22 Sep 2011 15:27:00 -0700 Message-Id: <1316730422-20027-6-git-send-email-mturquette@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1316730422-20027-1-git-send-email-mturquette@ti.com> References: <1316730422-20027-1-git-send-email-mturquette@ti.com> From: Mark Brown Currently drivers for the generic clk subsystem must be selected by platforms using them in order to enable build. When doing development on the API or generic build time testing it is useful to be able to build unused drivers in order to improve coverage so supply a Kconfig option which allows this. Signed-off-by: Mark Brown --- No change since v1 drivers/clk/Kconfig | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index a78967c..95b42a3 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -1,4 +1,3 @@ - config CLKDEV_LOOKUP bool select HAVE_CLK @@ -9,6 +8,16 @@ config HAVE_MACH_CLKDEV config GENERIC_CLK bool +config GENERIC_CLK_BUILD_TEST + bool "Build all generic clock drivers" + depends on EXPERIMENTAL && GENERIC_CLK + select GENERIC_CLK_FIXED + select GENERIC_CLK_GATE + help + Enable all possible generic clock drivers. This is only + useful for improving build coverage, it is not useful for + production kernel builds. + config GENERIC_CLK_FIXED bool depends on GENERIC_CLK