]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm/0039-OMAP3-cpuidle-remove-useless-SDP-specific-timings.patch
ef0488367ed4c271c24162480fc72c2bb01d57de
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-omap-2.6.39 / pm / linux-omap-2.6.39-ti-pm / 0039-OMAP3-cpuidle-remove-useless-SDP-specific-timings.patch
1 From be5b001b92e2c49f2f16d082e8ac33d371990ad4 Mon Sep 17 00:00:00 2001
2 From: Jean Pihet <j-pihet@ti.com>
3 Date: Fri, 29 Apr 2011 11:26:22 +0200
4 Subject: [PATCH 39/59] OMAP3 cpuidle: remove useless SDP specific timings
6 The cpuidle states settings can be overriden by some board-
7 specific settings, by calling omap3_pm_init_cpuidle.
8 Remove the 3430SDP specific states settings registration
9 since the figures are identical to the default ones (in cpuidle34xx.c).
11 Signed-off-by: Jean Pihet <j-pihet@ti.com>
12 Signed-off-by: Kevin Hilman <khilman@ti.com>
13 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
14 ---
15  arch/arm/mach-omap2/board-3430sdp.c |   19 -------------------
16  1 files changed, 0 insertions(+), 19 deletions(-)
18 diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c
19 index 9afd087..7ffad7b 100644
20 --- a/arch/arm/mach-omap2/board-3430sdp.c
21 +++ b/arch/arm/mach-omap2/board-3430sdp.c
22 @@ -59,24 +59,6 @@
23  
24  #define TWL4030_MSECURE_GPIO 22
25  
26 -/* FIXME: These values need to be updated based on more profiling on 3430sdp*/
27 -static struct cpuidle_params omap3_cpuidle_params_table[] = {
28 -       /* C1 */
29 -       {1, 2, 2, 5},
30 -       /* C2 */
31 -       {1, 10, 10, 30},
32 -       /* C3 */
33 -       {1, 50, 50, 300},
34 -       /* C4 */
35 -       {1, 1500, 1800, 4000},
36 -       /* C5 */
37 -       {1, 2500, 7500, 12000},
38 -       /* C6 */
39 -       {1, 3000, 8500, 15000},
40 -       /* C7 */
41 -       {1, 10000, 30000, 300000},
42 -};
43 -
44  static uint32_t board_keymap[] = {
45         KEY(0, 0, KEY_LEFT),
46         KEY(0, 1, KEY_RIGHT),
47 @@ -883,7 +865,6 @@ static void __init omap_3430sdp_init(void)
48         omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
49         omap_board_config = sdp3430_config;
50         omap_board_config_size = ARRAY_SIZE(sdp3430_config);
51 -       omap3_pm_init_cpuidle(omap3_cpuidle_params_table);
52         omap3430_i2c_init();
53         omap_display_init(&sdp3430_dss_data);
54         if (omap_rev() > OMAP3430_REV_ES1_0)
55 -- 
56 1.6.6.1