From patchwork Wed Jun 12 08:15:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 17824 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 26B5425E1A for ; Wed, 12 Jun 2013 08:22:00 +0000 (UTC) Received: by mail-we0-f198.google.com with SMTP id q59sf8879752wes.5 for ; Wed, 12 Jun 2013 01:21:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references:x-gm-message-state :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe; bh=vCQFKopHfSJOow03CPKxS6VtxteqLTwlEdTijh3RKpI=; b=Y7qZ9WtTVK8EGiBjLYYyCmWfrILeZdvZpDBrkCZh9H/8Nhweyc49tfiC8P5LDoRTlf jYXtdr0f1XT5L4Li9JmOxHI3/mVFj+In1MO7C9SpiiCBb+9OI4y5hfnq5V482y48fcuE 6OQJ+gL1hbgeQH/1ABBiqiO33qWzPRi+I5tMaiQrNwZXykFYcyEv8v8U+vLAk6nHTvSX A2nZXUpRUt2LWt5M670VrapmvAE7T2SyyFmDFQlK7TcOFFhe00H0AXnCn07fVVl2gCq3 EqQYRBDczoXki1kdJS8OlA7DMAOqtPQ2WvpJVPDBdO9dU4f8GPR00PpJ7cwqrq8YYzWW PqyQ== X-Received: by 10.180.11.239 with SMTP id t15mr3306978wib.3.1371025319300; Wed, 12 Jun 2013 01:21:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.109.65 with SMTP id hq1ls61329wib.42.gmail; Wed, 12 Jun 2013 01:21:59 -0700 (PDT) X-Received: by 10.194.6.99 with SMTP id z3mr5587765wjz.57.1371025319105; Wed, 12 Jun 2013 01:21:59 -0700 (PDT) Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [2607:f8b0:400c:c01::22e]) by mx.google.com with ESMTPS id bv13si481057wib.3.2013.06.12.01.21.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Jun 2013 01:21:59 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22e is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22e; Received: by mail-ve0-f174.google.com with SMTP id oz10so6378095veb.19 for ; Wed, 12 Jun 2013 01:21:58 -0700 (PDT) X-Received: by 10.52.171.80 with SMTP id as16mr8042136vdc.90.1371025318034; Wed, 12 Jun 2013 01:21:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.191.99 with SMTP id gx3csp135024vec; Wed, 12 Jun 2013 01:21:57 -0700 (PDT) X-Received: by 10.69.15.67 with SMTP id fm3mr18583596pbd.54.1371025316948; Wed, 12 Jun 2013 01:21:56 -0700 (PDT) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx.google.com with ESMTPS id ye10si11047011pab.96.2013.06.12.01.21.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Jun 2013 01:21:56 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.172 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.172; Received: by mail-pd0-f172.google.com with SMTP id z10so6043288pdj.3 for ; Wed, 12 Jun 2013 01:21:56 -0700 (PDT) X-Received: by 10.68.162.163 with SMTP id yb3mr18344736pbb.212.1371025316536; Wed, 12 Jun 2013 01:21:56 -0700 (PDT) Received: from localhost ([106.197.71.203]) by mx.google.com with ESMTPSA id tb7sm18269797pbc.14.2013.06.12.01.21.41 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 12 Jun 2013 01:21:55 -0700 (PDT) From: Viresh Kumar To: rjw@sisk.pl Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, robin.randhawa@arm.com, Steve.Bannister@arm.com, Liviu.Dudau@arm.com, charles.garcia-tobin@arm.com, arvind.chauhan@arm.com, arnd@arndb.de, Viresh Kumar , Stephen Warren Subject: [PATCH 10/11] cpufreq: tegra: select CPU_FREQ_TABLE for ARCH_TEGRA Date: Wed, 12 Jun 2013 13:45:17 +0530 Message-Id: <881257c10f24b5ca8721b561726bac8887dc922e.1371022830.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQmH29ep+9lcawgHZF59iRPwRqOPYjEoYTKA+dG4q3jreVWv2pSxUlxQxy+jiC92RCsvoHcE X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22e is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ARCH_TEGRA selects ARCH_HAS_CPUFREQ, so CPUFREQ will be enabled for all variants of TEGRA. CPUFreq driver for tegra is enabled if ARCH_TEGRA is selected. Driver uses APIs from freq_table.c and so we must select CPU_FREQ_TABLE for ARCH_TEGRA. This also removes select CPU_FREQ_TABLE from individual tegra variants. Cc: Stephen Warren Signed-off-by: Viresh Kumar --- arch/arm/mach-tegra/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 84d72fc..3636b6c 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -6,6 +6,7 @@ config ARCH_TEGRA select CLKSRC_MMIO select CLKSRC_OF select COMMON_CLK + select CPU_FREQ_TABLE select GENERIC_CLOCKEVENTS select HAVE_ARM_SCU if SMP select HAVE_ARM_TWD if LOCAL_TIMERS @@ -28,7 +29,6 @@ config ARCH_TEGRA_2x_SOC select ARM_ERRATA_754327 if SMP select ARM_ERRATA_764369 if SMP select ARM_GIC - select CPU_FREQ_TABLE if CPU_FREQ select CPU_V7 select PINCTRL select PINCTRL_TEGRA20 @@ -46,7 +46,6 @@ config ARCH_TEGRA_3x_SOC select ARM_ERRATA_754322 select ARM_ERRATA_764369 if SMP select ARM_GIC - select CPU_FREQ_TABLE if CPU_FREQ select CPU_V7 select PINCTRL select PINCTRL_TEGRA30 @@ -63,7 +62,6 @@ config ARCH_TEGRA_114_SOC select ARM_ARCH_TIMER select ARM_GIC select ARM_L1_CACHE_SHIFT_6 - select CPU_FREQ_TABLE if CPU_FREQ select CPU_V7 select PINCTRL select PINCTRL_TEGRA114