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)
commitcd5707e0c68b7975afcaa0a001375be0019b8ac2
tree39c768510efdcb75d7b25aa1881fefc9cb57701e
parent5f288b1557796b9f2acde59183cf9b4f2bb2d0c6
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@gmail.com>
recipes/linux/linux-2.6.28/nokia900/defconfig