From patchwork Wed Apr 4 09:42:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 7600 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 656AA23E4C for ; Wed, 4 Apr 2012 09:42:29 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2E79BA1800C for ; Wed, 4 Apr 2012 09:42:29 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so109604iag.11 for ; Wed, 04 Apr 2012 02:42:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=0M3QL+oxF/bYU6FZHJ8+H3XI9FyITu/2NHMH4r1aNx4=; b=ky1S6NCE4GTIa6F2CyILCFMbJxNMFpyHilGqj0ULm+eFmc+GPKZdd7PipAesu5RKXi CuK6hpouRtx/lkydZsx03fxNCwzfd4EoBlD3N7ZTBSAB9mDsV2/I+f0TvBisYWLkWimj UjzfjCv8Lv8s4puIZpMmc4dt3uPZuqaFeHKTrShXur4pUDWtYPXGl6CfglBsd7twQh9Y Rnnhtg4spQbaWf4rlhMGccCNkd+kun5L/a91ptkPPFyz7Gm78ouhaOqneN+Gqje3mLoI rOTLyh2egbNwlPmW7YtovTNNsKQHBouV+nKmxvYUvu3u5fztS95h2mJSjHTie5gj2A59 CcZA== Received: by 10.50.51.197 with SMTP id m5mr924105igo.38.1333532548982; Wed, 04 Apr 2012 02:42:28 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.164.217 with SMTP id f25csp31229iby; Wed, 4 Apr 2012 02:42:28 -0700 (PDT) Received: by 10.216.135.141 with SMTP id u13mr978002wei.79.1333532547525; Wed, 04 Apr 2012 02:42:27 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id g9si86178wee.142.2012.04.04.02.42.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Apr 2012 02:42:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by wibhq7 with SMTP id hq7so61598wib.13 for ; Wed, 04 Apr 2012 02:42:27 -0700 (PDT) Received: by 10.180.78.40 with SMTP id y8mr3609625wiw.15.1333532546805; Wed, 04 Apr 2012 02:42:26 -0700 (PDT) Received: from localhost.localdomain (AToulouse-159-1-7-136.w90-60.abo.wanadoo.fr. [90.60.242.136]) by mx.google.com with ESMTPS id bx13sm3462265wib.10.2012.04.04.02.42.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Apr 2012 02:42:26 -0700 (PDT) From: Daniel Lezcano To: tony@atomide.com, khilman@ti.com Cc: j-pihet@ti.com, santosh.shilimkar@ti.com, rob.lee@linaro.org, linaro-dev@lists.linaro.org, patches@linaro.org Subject: [PATCH 03/17] ARM: OMAP4: cpuidle - Remove the cpuidle_params_table table Date: Wed, 4 Apr 2012 11:42:05 +0200 Message-Id: <1333532539-10298-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1333532539-10298-1-git-send-email-daniel.lezcano@linaro.org> References: <1333532539-10298-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQlApi6+/S6N0W79TIzWDSYZN2EqHHdJQDWzgfOhJKgUtSGjLFoTa1r9mc12Vvn03n3tmfJF We do not longer need this table as we defined the values in the driver states. Signed-off-by: Daniel Lezcano Reviewed-by: Jean Pihet Reviewed-by: Santosh Shilimkar --- arch/arm/mach-omap2/cpuidle44xx.c | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c index 6d86b59..cdd7932 100644 --- a/arch/arm/mach-omap2/cpuidle44xx.c +++ b/arch/arm/mach-omap2/cpuidle44xx.c @@ -31,16 +31,7 @@ struct omap4_idle_statedata { u32 mpu_state; }; -static struct cpuidle_params cpuidle_params_table[] = { - /* C1 - CPU0 ON + CPU1 ON + MPU ON */ - {.exit_latency = 2 + 2 , .target_residency = 5 }, - /* C2- CPU0 OFF + CPU1 OFF + MPU CSWR */ - {.exit_latency = 328 + 440 , .target_residency = 960 }, - /* C3 - CPU0 OFF + CPU1 OFF + MPU OSWR */ - {.exit_latency = 460 + 518 , .target_residency = 1100 }, -}; - -#define OMAP4_NUM_STATES ARRAY_SIZE(cpuidle_params_table) +#define OMAP4_NUM_STATES 3 struct omap4_idle_statedata omap4_idle_data[OMAP4_NUM_STATES]; static struct powerdomain *mpu_pd, *cpu0_pd, *cpu1_pd;