[oe-commits] Klaus Kurzmann : linux-2.6.28: nokia900 defconfig switch governor from userspace to ondemand, enable POWER_SUPPLY and BATTERY_BQ27x00

git version control git at git.openembedded.org
Sat Dec 25 18:49:43 UTC 2010


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

Author: Klaus Kurzmann <mok at fluxnetz.de>
Date:   Sun Sep 19 16:33:03 2010 +0200

linux-2.6.28: nokia900 defconfig switch governor from userspace to ondemand, enable POWER_SUPPLY and BATTERY_BQ27x00

* should this be merged to OE?

* defconfig change in short
-CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
-# CONFIG_POWER_SUPPLY is not set
+CONFIG_POWER_SUPPLY=y
+CONFIG_BATTERY_BQ27x00=y

* old squashed commit messages:
*crucial boot support(mmc,mmc block devices,and filesystems) are now builtin
*a CMDLINE is now set in the recipe(there is a custom nokia bootloader on the nokia900),
  That is also necessary to boot on microsd
*g_ether is now built, which is required for usbnet
*ondemand cpufreq governor is now the default

*the inconsistent-mmc-fix-2.6.28-20094803.3.diff patch comes from:
    https://bugs.maemo.org/show_bug.cgi?id=2747
  and is necessary to be able to boot on microsd

*there is also a patch that reports the battery capacity which comes from:
    http://my.arava.co.il/~matan/770/n900/bq27x00_battery.c
  That patch should be temporary,and be replcaed by somwthing like that:
Sep 24 18:48:06 <DocScrutinizer51>	the bq27200 kernel module is rather rudimentary
Sep 24 18:48:09 <DocScrutinizer51>	should be easy to adapt FR bq2700 module to provide same szsfs nodes and just use I2C instead of FIQ+HDQ
Sep 24 18:48:11 <DocScrutinizer51>	and that's exactly what I'd recommend to do
(from #openmoko-cdevel on Freenode)

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/linux/linux-2.6.28/nokia900/defconfig |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/recipes/linux/linux-2.6.28/nokia900/defconfig b/recipes/linux/linux-2.6.28/nokia900/defconfig
index d00580f..06ec50d 100644
--- a/recipes/linux/linux-2.6.28/nokia900/defconfig
+++ b/recipes/linux/linux-2.6.28/nokia900/defconfig
@@ -334,8 +334,8 @@ CONFIG_CPU_FREQ_STAT=y
 # CONFIG_CPU_FREQ_STAT_DETAILS is not set
 # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
 # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
-CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
-# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
+# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
 # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
 CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
 CONFIG_CPU_FREQ_GOV_POWERSAVE=y
@@ -998,7 +998,12 @@ CONFIG_GPIO_TWL4030=y
 # CONFIG_GPIO_MAX7301 is not set
 # CONFIG_GPIO_MCP23S08 is not set
 # CONFIG_W1 is not set
-# CONFIG_POWER_SUPPLY is not set
+CONFIG_POWER_SUPPLY=y
+# CONFIG_POWER_SUPPLY_DEBUG is not set
+# CONFIG_PDA_POWER is not set
+# CONFIG_BATTERY_DS2760 is not set
+# CONFIG_TWL4030_BCI_BATTERY is not set
+CONFIG_BATTERY_BQ27x00=y
 CONFIG_HWMON=y
 # CONFIG_HWMON_VID is not set
 # CONFIG_SENSORS_AD7414 is not set





More information about the Openembedded-commits mailing list