View Single Post
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#2527
Originally Posted by titan View Post
My current plan is to replace the different kernels with a single kernel that can be configured while running. This would mean less maintenance for me, easier installation (from extras) and no need for reflashing.
In addition to min/max frequency settings it should have an option to select a voltage look up table
(normal, LV, ULV, XLV) and the possibility to disable some frequencies in the table
(e.g. 250 Mhz to get a permanent minimum of 500). I'm currently investigating whether this is possible.
Allowing user space to change the vsel column of the mpu table is trivial. It also sounds better to me than having predefined tables in the kernel. The user space program can have those tables. This patch should do the trick:

http://my.arava.co.il/~matan/770/n900/vsel.diff

Disabling specific frequencies might not be as easy. I think that the easiest way is to add a scaling_allowed_frequencies to generic cpufreq code, rather than hacking ARM specific code.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 

The Following 4 Users Say Thank You to Matan For This Useful Post: