linux-2.6.28: nokia900 defconfig switch governor from userspace to ondemand, enable...
authorKlaus Kurzmann <mok@fluxnetz.de>
Sun, 19 Sep 2010 14:33:03 +0000 (16:33 +0200)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Sat, 25 Dec 2010 18:51:42 +0000 (19:51 +0100)
* 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@gmail.com>
recipes/linux/linux-2.6.28/nokia900/defconfig

index d00580f..06ec50d 100644 (file)
@@ -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