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: 3285961 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 70CAAC0D4A for ; Thu, 5 Dec 2013 00:24:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8A37D20503 for ; Thu, 5 Dec 2013 00:24:53 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A313C20501 for ; Thu, 5 Dec 2013 00:24:52 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VoMjl-0001Jq-9N; Thu, 05 Dec 2013 00:24:13 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VoMjd-0005dq-ID; Thu, 05 Dec 2013 00:24:05 +0000 Received: from mail-oa0-x232.google.com ([2607:f8b0:4003:c02::232]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VoMjR-0005ay-02 for linux-arm-kernel@lists.infradead.org; Thu, 05 Dec 2013 00:23:53 +0000 Received: by mail-oa0-f50.google.com with SMTP id n16so17564010oag.37 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131204_192353_108247_5B4CD049 X-CRM114-Status: GOOD ( 10.12 ) X-Spam-Score: -1.8 (-) Cc: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, 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.