diff options
author | Tony Lindgren <tony@atomide.com> | 2010-02-23 22:22:48 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-23 22:22:48 -0500 |
commit | 0fdc54b2019700a4b50179914e810367c14044a3 (patch) | |
tree | 73e5e34f30aec87ad4bf4423c4f95ebba576359e /arch/arm/mach-omap2/board-3430sdp.c | |
parent | 8250a5c381cc6714a061a39cfd29d7453e8ad64b (diff) | |
parent | 79dcfdd407208cba06bd446e93b0809df1cf10d1 (diff) |
Merge branch 'pm-2.6.34' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into omap-for-linus
Diffstat (limited to 'arch/arm/mach-omap2/board-3430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index a10e96f48aea..f312b1513753 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -46,6 +46,7 @@ | |||
46 | #include "mux.h" | 46 | #include "mux.h" |
47 | #include "sdram-qimonda-hyb18m512160af-6.h" | 47 | #include "sdram-qimonda-hyb18m512160af-6.h" |
48 | #include "hsmmc.h" | 48 | #include "hsmmc.h" |
49 | #include "pm.h" | ||
49 | 50 | ||
50 | #define CONFIG_DISABLE_HFCLK 1 | 51 | #define CONFIG_DISABLE_HFCLK 1 |
51 | 52 | ||
@@ -57,6 +58,24 @@ | |||
57 | 58 | ||
58 | #define TWL4030_MSECURE_GPIO 22 | 59 | #define TWL4030_MSECURE_GPIO 22 |
59 | 60 | ||
61 | /* FIXME: These values need to be updated based on more profiling on 3430sdp*/ | ||
62 | static struct cpuidle_params omap3_cpuidle_params_table[] = { | ||
63 | /* C1 */ | ||
64 | {1, 2, 2, 5}, | ||
65 | /* C2 */ | ||
66 | {1, 10, 10, 30}, | ||
67 | /* C3 */ | ||
68 | {1, 50, 50, 300}, | ||
69 | /* C4 */ | ||
70 | {1, 1500, 1800, 4000}, | ||
71 | /* C5 */ | ||
72 | {1, 2500, 7500, 12000}, | ||
73 | /* C6 */ | ||
74 | {1, 3000, 8500, 15000}, | ||
75 | /* C7 */ | ||
76 | {1, 10000, 30000, 300000}, | ||
77 | }; | ||
78 | |||
60 | static int board_keymap[] = { | 79 | static int board_keymap[] = { |
61 | KEY(0, 0, KEY_LEFT), | 80 | KEY(0, 0, KEY_LEFT), |
62 | KEY(0, 1, KEY_RIGHT), | 81 | KEY(0, 1, KEY_RIGHT), |
@@ -307,6 +326,7 @@ static void __init omap_3430sdp_init_irq(void) | |||
307 | { | 326 | { |
308 | omap_board_config = sdp3430_config; | 327 | omap_board_config = sdp3430_config; |
309 | omap_board_config_size = ARRAY_SIZE(sdp3430_config); | 328 | omap_board_config_size = ARRAY_SIZE(sdp3430_config); |
329 | omap3_pm_init_cpuidle(omap3_cpuidle_params_table); | ||
310 | omap2_init_common_hw(hyb18m512160af6_sdrc_params, NULL); | 330 | omap2_init_common_hw(hyb18m512160af6_sdrc_params, NULL); |
311 | omap_init_irq(); | 331 | omap_init_irq(); |
312 | omap_gpio_init(); | 332 | omap_gpio_init(); |