diff options
author | Klaus Kurzmann <mok@fluxnetz.de> | 2010-09-19 16:33:03 +0200 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2010-12-25 19:51:42 +0100 |
commit | cd5707e0c68b7975afcaa0a001375be0019b8ac2 (patch) | |
tree | 39c768510efdcb75d7b25aa1881fefc9cb57701e /recipes/linux | |
parent | 5f288b1557796b9f2acde59183cf9b4f2bb2d0c6 (diff) | |
download | openembedded-cd5707e0c68b7975afcaa0a001375be0019b8ac2.tar.gz |
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>
Diffstat (limited to 'recipes/linux')
-rw-r--r-- | 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 d00580fdcb..06ec50d7a7 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 |