From patchwork Tue Apr 24 14:05:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 8072 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 568FF23E1D for ; Tue, 24 Apr 2012 14:05:50 +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 1CF3BA1892D for ; Tue, 24 Apr 2012 14:05:50 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so1457668iag.11 for ; Tue, 24 Apr 2012 07:05:49 -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=1vMor498gmnuiJVthUeXd7YLdWZRAq1pnVG24pC0IKk=; b=ZoeauwdfJf+T4Se1Mvl0QWUatz4s3e3DLoZWi9fa+F9fkDoTUpnuf1kTycqKjcdz5F 9oTDhl/wShYqd2eJs+B23/3n+Y+cU1ilJGgRxIPN5SODFn/BiHqnOzY5FTKCIOYIc5wn 56H3PdD2vLomxNOCX84fFacnSlwMyYw4Rv1FVKOdQqzGrRhU2iuAmZJPt84T9HmTHzFV KoL01mjqtxWxjtCCF31YIHHynFPcqIZUigwOh77dI4iwLt3BaZS/mdnDt0jaly5cNkXo h4cRS400OIZECSgcYVrxw1G5cXb0rIiNLrUwJJj77x0QvoTDZLyI4krj+oWgSICfT4ls 4lMA== Received: by 10.50.41.201 with SMTP id h9mr10441210igl.19.1335276349853; Tue, 24 Apr 2012 07:05:49 -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.137.198 with SMTP id x6csp183950ibt; Tue, 24 Apr 2012 07:05:49 -0700 (PDT) Received: by 10.216.136.157 with SMTP id w29mr6218028wei.23.1335276348465; Tue, 24 Apr 2012 07:05:48 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id bt8si13302092wib.40.2012.04.24.07.05.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 07:05:48 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by mail-wg0-f50.google.com with SMTP id ds12so684920wgb.31 for ; Tue, 24 Apr 2012 07:05:48 -0700 (PDT) Received: by 10.180.78.164 with SMTP id c4mr31711226wix.10.1335276347481; Tue, 24 Apr 2012 07:05:47 -0700 (PDT) Received: from localhost.localdomain (AToulouse-159-1-17-225.w92-134.abo.wanadoo.fr. [92.134.64.225]) by mx.google.com with ESMTPS id fl2sm47121222wib.2.2012.04.24.07.05.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 07:05:46 -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, linaro-dev@lists.linaro.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org Subject: [PATCH 03/18][V3] ARM: OMAP4: cpuidle - Remove the cpuidle_params_table table Date: Tue, 24 Apr 2012 16:05:24 +0200 Message-Id: <1335276339-11135-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1335276339-11135-1-git-send-email-daniel.lezcano@linaro.org> References: <1335276339-11135-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQmuLJVHQSbr34c0iU6jN/rBhwnYcU7/z5Vcq6JB9nXOJGbHx94GpOhj4nai9KQCrb4fv2Gy 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 7072c9e..522ec23 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;