CPU idle patch from Orion
There are 2 patches from the orion branch that is not available on the mainline kernel. They are:
commit 17589962c1787310e6373478a9fcb7641184cd91 Author: Rabeeh Khoury <firstname.lastname@example.org> 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 <email@example.com> [ This needs to be revisited to make power handling dynamic and per device. -- Nico ] commit 286f96f0b2e1ee5a124effba59a01f8d4bf69ddf Author: Rabeeh Khoury <firstname.lastname@example.org> 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 <email@example.com> Signed-off-by: Nicolas Pitre <firstname.lastname@example.org>
I pulled the patches from the orion branch and created patch files that will work on the mainline kernel 2.6.30-rc3.
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.
Did you find this page useful?