From cd5707e0c68b7975afcaa0a001375be0019b8ac2 Mon Sep 17 00:00:00 2001 From: Klaus Kurzmann Date: Sun, 19 Sep 2010 16:33:03 +0200 Subject: 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 the bq27200 kernel module is rather rudimentary Sep 24 18:48:09 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 and that's exactly what I'd recommend to do (from #openmoko-cdevel on Freenode) Signed-off-by: Martin Jansa --- recipes/linux/linux-2.6.28/nokia900/defconfig | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'recipes/linux/linux-2.6.28/nokia900') 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 -- cgit 1.2.3-korg