From patchwork Thu Dec 5 00:23:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 3285931 Return-Path: X-Original-To: patchwork-linux-arm@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 367E99F37C for ; Thu, 5 Dec 2013 00:24:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3A957204EA for ; Thu, 5 Dec 2013 00:24:07 +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 09B0F2050B for ; Thu, 5 Dec 2013 00:24:06 +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 1VoMjV-0001E7-Um; Thu, 05 Dec 2013 00:23:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VoMjT-0005cH-FB; Thu, 05 Dec 2013 00:23:55 +0000 Received: from mail-oa0-x235.google.com ([2607:f8b0:4003:c02::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VoMjO-0005as-Mf for linux-arm-kernel@lists.infradead.org; Thu, 05 Dec 2013 00:23:51 +0000 Received: by mail-oa0-f53.google.com with SMTP id m1so17498323oag.40 for ; Wed, 04 Dec 2013 16:23:29 -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=jGa7u/VdG+gjZ5mU3b7tMRSlH9IEQ9Adby0hetrM2/w=; b=wFgleL1RBOUCMFmOILzutGGisgY0MNcB7PH7aZP/Rkrqb1rWYt3iIHelINKYtPQSEU KPRQAFEnbaXSOQxnDpH0ZrQriGbtkeaEqEXO7KTP0ZxHHRweQhKAhODPFZ7mIZz3ch3x 0gukbAayg13hm6E0oMNpYw8Iftnxl90xkxXB/90Tm9mUDHDLBbcWyohS3t0S99XuT4HE fueCxbRHRlcFCuqpBGv2M0bO8WISONwYaRmiycGmuxoqW5tqgiNdcciCUI8dx2AWzP80 ZcdIm8A6Ah88J0S6e/Ru8u6HhArO2FEOwCzLopEQnBYpcIrBuDJU1SxB3/LmRx0JIzva Kvbg== X-Received: by 10.60.146.210 with SMTP id te18mr65759209oeb.20.1386203009315; Wed, 04 Dec 2013 16:23:29 -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.27 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 16:23:28 -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 1/2] cpufreq: enable ARM drivers on arm64 Date: Wed, 4 Dec 2013 18:23:13 -0600 Message-Id: <1386202994-30784-2-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_192350_777415_C09736A6 X-CRM114-Status: GOOD ( 11.15 ) X-Spam-Score: -1.8 (-) Cc: Catalin Marinas , Will Deacon , Viresh Kumar , Rob Herring , "Rafael J. Wysocki" 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 Enable cpufreq and power kconfig menus on arm64 along with arm cpufreq drivers. The power menu is needed for OPP support. At least on Calxeda systems, the same cpufreq driver is used for arm and arm64 based systems. Signed-off-by: Rob Herring Cc: Catalin Marinas Cc: Will Deacon Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: cpufreq@vger.kernel.org Cc: linux-pm@vger.kernel.org --- arch/arm64/Kconfig | 8 ++++++++ drivers/cpufreq/Kconfig | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 88c8b6c1..1808dd1 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -276,6 +276,14 @@ config SYSVIPC_COMPAT endmenu +menu "Power management options" + +source "kernel/power/Kconfig" + +source "drivers/cpufreq/Kconfig" + +endmenu + source "net/Kconfig" source "drivers/Kconfig" diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 38093e2..e26fdcd 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -195,7 +195,7 @@ source "drivers/cpufreq/Kconfig.x86" endmenu menu "ARM CPU frequency scaling drivers" -depends on ARM +depends on ARM || ARM64 source "drivers/cpufreq/Kconfig.arm" endmenu