[oe-commits] Koen Kooi : linux-omap-pm: readd patch to register all OPPs, fix overo defconfig

GIT User account git at amethyst.openembedded.net
Sat Apr 25 07:59:34 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 46c34116ecaefae4baf3a1ff4d726f40551fe5e3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=46c34116ecaefae4baf3a1ff4d726f40551fe5e3

Author: Koen Kooi <koen at openembedded.org>
Date:   Sat Apr 25 09:39:00 2009 +0200

linux-omap-pm: readd patch to register all OPPs, fix overo defconfig

---

 recipes/linux/linux-omap-pm/overo/defconfig        |   10 +++++-----
 recipes/linux/linux-omap-pm/register-all-OPPs.diff |   12 ++++++++++++
 recipes/linux/linux-omap-pm_git.bb                 |    1 +
 3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/recipes/linux/linux-omap-pm/overo/defconfig b/recipes/linux/linux-omap-pm/overo/defconfig
index 0c86af8..e90f2af 100644
--- a/recipes/linux/linux-omap-pm/overo/defconfig
+++ b/recipes/linux/linux-omap-pm/overo/defconfig
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.29-omap1
-# Thu Apr 23 13:22:02 2009
+# Sat Apr 25 09:31:25 2009
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -210,8 +210,8 @@ CONFIG_OMAP_DM_TIMER=y
 # CONFIG_OMAP_LL_DEBUG_UART2 is not set
 CONFIG_OMAP_LL_DEBUG_UART3=y
 # CONFIG_OMAP_PM_NONE is not set
-CONFIG_OMAP_PM_NOOP=y
-# CONFIG_OMAP_PM_SRF is not set
+# CONFIG_OMAP_PM_NOOP is not set
+CONFIG_OMAP_PM_SRF=y
 CONFIG_ARCH_OMAP34XX=y
 CONFIG_ARCH_OMAP3430=y
 
@@ -312,10 +312,10 @@ CONFIG_CPU_FREQ_TABLE=y
 # CONFIG_CPU_FREQ_DEBUG is not set
 CONFIG_CPU_FREQ_STAT=y
 CONFIG_CPU_FREQ_STAT_DETAILS=y
-# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
 # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
 # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
-CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
 # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
 CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
 CONFIG_CPU_FREQ_GOV_POWERSAVE=y
diff --git a/recipes/linux/linux-omap-pm/register-all-OPPs.diff b/recipes/linux/linux-omap-pm/register-all-OPPs.diff
new file mode 100644
index 0000000..95e6b9b
--- /dev/null
+++ b/recipes/linux/linux-omap-pm/register-all-OPPs.diff
@@ -0,0 +1,12 @@
+--- /tmp/clock34xx.c	2009-02-18 13:51:18.000000000 +0100
++++ git/arch/arm/mach-omap2/clock34xx.c	2009-02-18 13:51:51.000000000 +0100
+@@ -698,8 +698,7 @@
+ 	if (!mpu_opps)
+ 		return;
+ 
+-	/* Avoid registering the 120% Overdrive with CPUFreq */
+-	prcm = mpu_opps + MAX_VDD1_OPP - 1;
++	prcm = mpu_opps + MAX_VDD1_OPP;
+ 	for (; prcm->rate; prcm--) {
+ 		freq_table[i].index = i;
+ 		freq_table[i].frequency = prcm->rate / 1000;
diff --git a/recipes/linux/linux-omap-pm_git.bb b/recipes/linux/linux-omap-pm_git.bb
index 078f6a7..11bfa4b 100644
--- a/recipes/linux/linux-omap-pm_git.bb
+++ b/recipes/linux/linux-omap-pm_git.bb
@@ -76,6 +76,7 @@ SRC_URI_append = " \
            file://dss2/0053-DSS2-disable-LCD-DIGIT-before-resetting-DSS.patch;patch=1 \
            file://dss2/merge-fixups.diff;patch=1 \
            file://overo-cpufreq.diff;patch=1 \
+           file://register-all-OPPs.diff;patch=1 \
 "
 
 





More information about the Openembedded-commits mailing list