CPU idle patch from Orion
From ComputingPlugs
There are 2 patches from the orion branch that is not available on the mainline kernel. They are:
commit 17589962c1787310e6373478a9fcb7641184cd91
Author: Rabeeh Khoury <rabeeh@marvell.com>
Date: Sun Mar 22 17:30:32 2009 +0200
[ARM] Kirkwood: peripherals clock gating for power management
1. Enabling clock gating of unused peripherals
2. PLL and PHY of the units are also disabled (when possible.
Signed-off-by: Rabeeh Khoury <rabeeh@marvell.com>
[ This needs to be revisited to make power handling dynamic and
per device. -- Nico ]
commit 286f96f0b2e1ee5a124effba59a01f8d4bf69ddf
Author: Rabeeh Khoury <rabeeh@marvell.com>
Date: Tue Mar 24 16:10:15 2009 +0200
[ARM] Kirkwood: CPU idle driver
The patch adds support for Kirkwood cpu idle.
Two idle states are defined:
1. Wait-for-interrupt (replacing default kirkwood wfi)
2. Wait-for-interrupt and DDR self refresh
Signed-off-by: Rabeeh Khoury <rabeeh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
I pulled the patches from the orion branch and created patch files that will work on the mainline kernel 2.6.30-rc3.
0001--ARM-Kirkwood-CPU-idle-driver.patch
0002--ARM-Kirkwood-peripherals-clock-gating-for-power-m.patch
Download both and put them in the root directory of the mainline kernel. Then type:
patch -p1 < 0001--ARM-Kirkwood-CPU-idle-driver.patch patch -p1 < 0002--ARM-Kirkwood-peripherals-clock-gating-for-power-m.patch
Then build and install the kernel.
|
|
Click here to leave a comment
Did you find this page useful? |
||


May 18 2009 3:28 pm
Please keep comments clean and constructive. Inappropriate comments will be removed. Thank you.
Jul 14 2009 8:41 am
Does anyone know what power consumption looks like with these two patches applied to a SheevaPlug?
Jul 14 2009 3:36 pm
Not a whole lot of difference really, but I'm only using the kill-a-watt so I only have a 1 watt resolution. I guess the difference is, at best, 1 watt.