From patchwork Wed Apr 4 20:12:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 7635 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 CFE4E23E47 for ; Wed, 4 Apr 2012 20:13:01 +0000 (UTC) Received: from mail-gy0-f180.google.com (mail-gy0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 96EDDA18210 for ; Wed, 4 Apr 2012 20:13:01 +0000 (UTC) Received: by ghbz12 with SMTP id z12so544217ghb.11 for ; Wed, 04 Apr 2012 13:13:01 -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=nGYEtWoCK2TTG2XHHe9zftNk2zCd0Y/Io1TcQ3QjKaAPvCo1JQU9dcB1jGgtJYiuOn tFDh0lUjuVgQrUdYAuWhs4QF3jRZDvItrsdYyrncRg7k2l6DTTI4p6jljFjsxNlbPfuQ WRvRDO1is2TLoy4tSoORN46KAmp7F8DLmHXbsshYgsUgjXW+ENohKx97daKgTqqQeiy0 r/fM0QuFpSCugIUPoDqt0cWaElxAyzNTRf3QgsdoqgFqp2eJCEKmmcxi3yECE4jDALub F6h7zb27DqjUedXxBDRYNvE2OUSzNVeMwVTpyiHXAmH1KDgL9/PU4n/0bRkwuTgUqRXP LRXg== Received: by 10.50.173.35 with SMTP id bh3mr2834526igc.38.1333570380878; Wed, 04 Apr 2012 13:13:00 -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 f25csp56452iby; Wed, 4 Apr 2012 13:13:00 -0700 (PDT) Received: by 10.213.13.218 with SMTP id d26mr42584eba.189.1333570379433; Wed, 04 Apr 2012 13:12:59 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id o6si3509935wiz.33.2012.04.04.13.12.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Apr 2012 13:12:59 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.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 wera13 with SMTP id a13so550985wer.37 for ; Wed, 04 Apr 2012 13:12:58 -0700 (PDT) Received: by 10.216.135.66 with SMTP id t44mr2196443wei.8.1333570378724; Wed, 04 Apr 2012 13:12:58 -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 gd4sm6869495wib.6.2012.04.04.13.12.56 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Apr 2012 13:12:57 -0700 (PDT) From: Daniel Lezcano To: santosh.shilimkar@ti.com, jean.pihet@newoldbits.com, khilman@ti.com, tony@atomide.com Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rob.lee@linaro.org, linaro-dev@lists.linaro.org, patches@linaro.org Subject: [PATCH 03/17][V2] ARM: OMAP4: cpuidle - Remove the cpuidle_params_table table Date: Wed, 4 Apr 2012 22:12:37 +0200 Message-Id: <1333570371-1389-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1333570371-1389-1-git-send-email-daniel.lezcano@linaro.org> References: <1333570371-1389-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQnKuiuKeMNVEXzkZi+UWnArCCZz+tolXY39BKYJOeqMN9nAUwNHsC84L0bFKar7zcH/D396 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;