From patchwork Fri Jan 10 02:39:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Tobias X-Patchwork-Id: 3464121 Return-Path: X-Original-To: patchwork-linux-pm@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 74E6FC02DC for ; Fri, 10 Jan 2014 02:41:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A2C7420121 for ; Fri, 10 Jan 2014 02:41:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C86DE2011B for ; Fri, 10 Jan 2014 02:41:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756519AbaAJClB (ORCPT ); Thu, 9 Jan 2014 21:41:01 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:53718 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750702AbaAJCkR (ORCPT ); Thu, 9 Jan 2014 21:40:17 -0500 Received: by mail-pa0-f49.google.com with SMTP id bj1so302312pad.22 for ; Thu, 09 Jan 2014 18:40:17 -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; bh=2pihVC+MnhmiLwKNXPCeJq1uzmWIgL9vz1Wd0U7r6MA=; b=NPKl+afr3x9cCo6G3MvXJjSucA1QLUrBFiZ49Ld6r71T8UbgoEio+NWu+Fzqaf8k1z rQyJw15wpK66fxRofKbW+WKkKQCKYVWkrn8GH4S2NY9HLN3hWKkGXffzTquNZaOX8HF5 bjdGjDMnOuAOiDW0LvIknfIA0hCrvPKBCx3VgfAwaZu763rSqGKtIJNqH63vSBhIoxtE yhcJVOWuagKkZ2oPiy9aoAgT1Ep2h7T5JFznwPAx061xVFyS/gxyYwr5synlnQQpElAB eCVSuQc3YLCkpWH8QWcWvYx47l+5biWPVnlhvgu7jGQzc1WV1kB+6ffNMy4MK4vJH9hQ c0Cg== X-Received: by 10.66.13.138 with SMTP id h10mr7847387pac.148.1389321617069; Thu, 09 Jan 2014 18:40:17 -0800 (PST) Received: from localhost.localdomain (morse-p.static.monkeybrains.net. [208.90.214.40]) by mx.google.com with ESMTPSA id xv2sm13204256pbb.39.2014.01.09.18.40.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 18:40:15 -0800 (PST) From: John Tobias To: rjw@rjwysocki.net, viresh.kumar@linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, shawn.guo@linaro.org, festevam@gmail.com Cc: John Tobias Subject: [PATCH v4 1/2] ARM: imx: add select on ARCH_MXC for cpufreq support Date: Thu, 9 Jan 2014 18:39:51 -0800 Message-Id: <1389321592-33220-1-git-send-email-john.tobias.ph@gmail.com> X-Mailer: git-send-email 1.8.3.2 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=unavailable 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 Moved ARCH_HAS_CPUFREQ, HAVE_IMX_ANATOP and PM_OPP on ARCH_MXC so that the user can enable the cpufreq support for iMX6Q and/or iMX6SL. Signed-off-by: John Tobias --- arch/arm/mach-imx/Kconfig | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 7a6e6f7..d6aa34d 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -1,5 +1,6 @@ config ARCH_MXC bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7 + select ARCH_HAS_CPUFREQ select ARCH_REQUIRE_GPIOLIB select ARM_CPU_SUSPEND if PM select ARM_PATCH_PHYS_VIRT @@ -9,8 +10,10 @@ config ARCH_MXC select GENERIC_ALLOCATOR select GENERIC_CLOCKEVENTS select GENERIC_IRQ_CHIP + select HAVE_IMX_ANATOP if SOC_IMX6Q || SOC_IMX6SL select MIGHT_HAVE_CACHE_L2X0 if ARCH_MULTI_V6_V7 select MULTI_IRQ_HANDLER + select PM_OPP if PM select SOC_BUS select SPARSE_IRQ select USE_OF @@ -779,16 +782,14 @@ config SOC_IMX53 config SOC_IMX6Q bool "i.MX6 Quad/DualLite support" - select ARCH_HAS_CPUFREQ - select ARCH_HAS_OPP + select ARCH_HAS_OPP select ARM_ERRATA_754322 select ARM_ERRATA_764369 if SMP select ARM_ERRATA_775420 select ARM_GIC select CPU_V7 select HAVE_ARM_SCU if SMP - select HAVE_ARM_TWD if SMP - select HAVE_IMX_ANATOP + select HAVE_ARM_TWD if SMP select HAVE_IMX_GPC select HAVE_IMX_MMDC select HAVE_IMX_SRC @@ -800,8 +801,7 @@ config SOC_IMX6Q select PINCTRL_IMX6Q select PL310_ERRATA_588369 if CACHE_PL310 select PL310_ERRATA_727915 if CACHE_PL310 - select PL310_ERRATA_769419 if CACHE_PL310 - select PM_OPP if PM + select PL310_ERRATA_769419 if CACHE_PL310 help This enables support for Freescale i.MX6 Quad processor. @@ -812,7 +812,6 @@ config SOC_IMX6SL select ARM_ERRATA_775420 select ARM_GIC select CPU_V7 - select HAVE_IMX_ANATOP select HAVE_IMX_GPC select HAVE_IMX_MMDC select HAVE_IMX_SRC