From: yong.shen@linaro.org (yong.shen at linaro.org)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] ARM: IMX5 bbg: add cpuidle parameters
Date: Fri, 11 Feb 2011 10:36:13 +0100 [thread overview]
Message-ID: <1297416973-32740-3-git-send-email-yong.shen@linaro.org> (raw)
In-Reply-To: <1297416973-32740-1-git-send-email-yong.shen@linaro.org>
From: Yong Shen <yong.shen@freescale.com>
This parameters are workable, but need further tuning.
Signed-off-by: Yong Shen <yong.shen@freescale.com>
---
arch/arm/mach-mx5/board-mx51_babbage.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c
index d9d402e..168b09c 100644
--- a/arch/arm/mach-mx5/board-mx51_babbage.c
+++ b/arch/arm/mach-mx5/board-mx51_babbage.c
@@ -37,6 +37,7 @@
#include "devices-imx51.h"
#include "devices.h"
#include "cpu_op-mx51.h"
+#include "cpuidle.h"
#define BABBAGE_USB_HUB_RESET IMX_GPIO_NR(1, 7)
#define BABBAGE_USBH1_STP IMX_GPIO_NR(1, 27)
@@ -333,6 +334,11 @@ static const struct spi_imx_master mx51_babbage_spi_pdata __initconst = {
.num_chipselect = ARRAY_SIZE(mx51_babbage_spi_cs),
};
+static struct imx_cpuidle_params babage_cpuidle_params[] = {
+ {100,},
+ {150,},
+ {1000,},
+};
/*
* Board specific initialization.
*/
@@ -383,6 +389,8 @@ static void __init mxc_board_init(void)
ARRAY_SIZE(mx51_babbage_spi_board_info));
imx51_add_ecspi(0, &mx51_babbage_spi_pdata);
imx51_add_imx2_wdt(0, NULL);
+
+ imx_cpuidle_board_params(babage_cpuidle_params);
}
static void __init mx51_babbage_timer_init(void)
--
1.7.1
prev parent reply other threads:[~2011-02-11 9:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 9:36 [PATCH v2 0/2] ARM: IMX5: cpuidle driver yong.shen at linaro.org
2011-02-11 9:36 ` [PATCH v2 1/2] " yong.shen at linaro.org
2011-02-15 18:27 ` Sascha Hauer
2011-02-16 8:02 ` Yong Shen
2011-02-17 8:18 ` Yong Shen
2011-02-17 10:54 ` Sascha Hauer
2011-02-20 14:58 ` Yong Shen
2011-02-23 15:41 ` [PATCH v3 " Yong Shen
2011-02-16 8:11 ` [PATCH v2 " Sascha Hauer
2011-02-16 8:37 ` Yong Shen
2011-02-16 9:13 ` Sascha Hauer
2011-02-16 9:25 ` Yong Shen
2011-02-11 9:36 ` yong.shen at linaro.org [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1297416973-32740-3-git-send-email-yong.shen@linaro.org \
--to=yong.shen@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).