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: 3285951 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 2102E9F37C for ; Thu, 5 Dec 2013 00:24:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4E7E020504 for ; Thu, 5 Dec 2013 00:24:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 35B42204EA for ; Thu, 5 Dec 2013 00:24:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932808Ab3LEAYH (ORCPT ); Wed, 4 Dec 2013 19:24:07 -0500 Received: from mail-oa0-f49.google.com ([209.85.219.49]:39193 "EHLO mail-oa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756152Ab3LEAX3 (ORCPT ); Wed, 4 Dec 2013 19:23:29 -0500 Received: by mail-oa0-f49.google.com with SMTP id i4so17304483oah.8 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 Cc: Rob Herring , Catalin Marinas , Will Deacon , "Rafael J. Wysocki" , Viresh Kumar 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> 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 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