From patchwork Thu Dec 5 00:23:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 3285921 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 469B19F37C for ; Thu, 5 Dec 2013 00:23:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3BC6B204EA for ; Thu, 5 Dec 2013 00:23:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 54AB22050B for ; Thu, 5 Dec 2013 00:23:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753781Ab3LEAXd (ORCPT ); Wed, 4 Dec 2013 19:23:33 -0500 Received: from mail-oa0-f42.google.com ([209.85.219.42]:40213 "EHLO mail-oa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756222Ab3LEAXb (ORCPT ); Wed, 4 Dec 2013 19:23:31 -0500 Received: by mail-oa0-f42.google.com with SMTP id i4so17657746oah.15 for ; Wed, 04 Dec 2013 16:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DDAIAUMTTWNstfb3B9AJCNynTq+doJLFklgzyv2BQ2E=; b=yUfoVoNe4NM8ofbnzGheCMkEEYDrqbxTEtxoLfLNMusXBZvLbtRERgjdYNRaxr0Yvw LZhn0U75apxQOX6C6uIpnhGtIvdMmaCEO8E4Yp4r4FEqtT9fKK7ufBklGFETbbHLavGM JSAL6s0U+DcKtAFhO93q4rkddtN1f5sPH567aAPoNAM3eKauGKvlZDk/a75yNUCnkSTw TGXb8vhCBq0lTvkgsh35Lfcu/VsgeLMdcBeNtP64wsoiFQu7R8Cz5y1aLTxPN+1EBAQS WE3vQaXaa8QGV2/FN4RSarSTWkWxW+vftIuUFT1KLipPV0jNJybtLfbaFUZ//CqVql0t sMQQ== X-Received: by 10.60.83.17 with SMTP id m17mr3460864oey.62.1386203010701; Wed, 04 Dec 2013 16:23:30 -0800 (PST) Received: from rob-laptop.calxeda.com (65-36-73-129.dyn.grandenetworks.net. [65.36.73.129]) by mx.google.com with ESMTPSA id xs17sm2432265oeb.1.2013.12.04.16.23.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 16:23:29 -0800 (PST) From: Rob Herring To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org Cc: Rob Herring , "Rafael J. Wysocki" , Viresh Kumar Subject: [PATCH 2/2] cpufreq: highbank: rework the kconfig dependencies for arm64 Date: Wed, 4 Dec 2013 18:23:14 -0600 Message-Id: <1386202994-30784-3-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1386202994-30784-1-git-send-email-robherring2@gmail.com> References: <1386202994-30784-1-git-send-email-robherring2@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rob Herring Make ARM_HIGHBANK_CPUFREQ not depend on ARCH_HIGHBANK to enable on arm64 and also give better build converage. Change the selects to be same depends as the cpu0 driver. Otherwise, we can get kconfig select errors. Also, add missing depends for PL320_MBOX. Signed-off-by: Rob Herring Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: cpufreq@vger.kernel.org Cc: linux-pm@vger.kernel.org Acked-by: Viresh Kumar for both patches. --- drivers/cpufreq/Kconfig.arm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index ce52ed9..0d7130d 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -65,16 +65,14 @@ config ARM_EXYNOS5440_CPUFREQ If in doubt, say N. config ARM_HIGHBANK_CPUFREQ - tristate "Calxeda Highbank-based" - depends on ARCH_HIGHBANK - select GENERIC_CPUFREQ_CPU0 + tristate "Calxeda ECX based" + depends on HAVE_CLK && REGULATOR && OF + depends on PL320_MBOX + select ARCH_HAS_OPP select PM_OPP - select REGULATOR - - default m + select GENERIC_CPUFREQ_CPU0 help - This adds the CPUFreq driver for Calxeda Highbank SoC - based boards. + This adds the CPUFreq driver for Calxeda based SoCs. If in doubt, say N.