summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch88
1 files changed, 88 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch b/meta/recipes-kernel/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch
new file mode 100644
index 0000000000..d35fd47567
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch
@@ -0,0 +1,88 @@
1From: "Rajendra Nayak" <rnayak@ti.com>
2To: <linux-omap@vger.kernel.org>
3Subject: [PATCH 02/02] Kconfig changes
4Date: Tue, 10 Jun 2008 12:39:02 +0530
5
6Updates the CPUidle Kconfig
7
8Signed-off-by: Rajendra Nayak <rnayak@ti.com>
9
10---
11 arch/arm/Kconfig | 10 ++++++++++
12 drivers/cpuidle/Kconfig | 28 ++++++++++++++++++++++------
13 2 files changed, 32 insertions(+), 6 deletions(-)
14
15Index: linux-omap-2.6/arch/arm/Kconfig
16===================================================================
17--- linux-omap-2.6.orig/arch/arm/Kconfig 2008-06-10 11:43:10.790502713 +0530
18+++ linux-omap-2.6/arch/arm/Kconfig 2008-06-10 11:43:38.701604549 +0530
19@@ -954,6 +954,16 @@ config ATAGS_PROC
20
21 endmenu
22
23+if (ARCH_OMAP)
24+
25+menu "CPUIdle"
26+
27+source "drivers/cpuidle/Kconfig"
28+
29+endmenu
30+
31+endif
32+
33 if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA)
34
35 menu "CPU Frequency scaling"
36Index: linux-omap-2.6/drivers/cpuidle/Kconfig
37===================================================================
38--- linux-omap-2.6.orig/drivers/cpuidle/Kconfig 2008-06-10 11:43:10.790502713 +0530
39+++ linux-omap-2.6/drivers/cpuidle/Kconfig 2008-06-10 12:06:36.139332151 +0530
40@@ -1,20 +1,36 @@
41+menu "CPU idle PM support"
42
43 config CPU_IDLE
44 bool "CPU idle PM support"
45- default ACPI
46+ default n
47 help
48 CPU idle is a generic framework for supporting software-controlled
49 idle processor power management. It includes modular cross-platform
50 governors that can be swapped during runtime.
51
52- If you're using an ACPI-enabled platform, you should say Y here.
53+ If you're using a mobile platform that supports CPU idle PM (e.g.
54+ an ACPI-capable notebook), you should say Y here.
55+
56+if CPU_IDLE
57+
58+comment "Governors"
59
60 config CPU_IDLE_GOV_LADDER
61- bool
62+ bool "ladder"
63 depends on CPU_IDLE
64- default y
65+ default n
66
67 config CPU_IDLE_GOV_MENU
68- bool
69+ bool "menu"
70 depends on CPU_IDLE && NO_HZ
71- default y
72+ default n
73+ help
74+ This cpuidle governor evaluates all available states and chooses the
75+ deepest state that meets all of the following constraints: BM activity,
76+ expected time until next timer interrupt, and last break event time
77+ delta. It is designed to minimize power consumption. Currently
78+ dynticks is required.
79+
80+endif # CPU_IDLE
81+
82+endmenu
83
84--
85To unsubscribe from this list: send the line "unsubscribe linux-omap" in
86the body of a message to majordomo@vger.kernel.org
87More majordomo info at http://vger.kernel.org/majordomo-info.html
88