Re: Power management for ppc 85xx
From: Kumar Gala <hidden>
Date: 2006-12-06 21:50:50
On Dec 6, 2006, at 3:06 PM, Chamorro, Marta wrote:
Hi there! Hope someone out there can give me some pointers here. I=92ve got a =20=
2.6.18 kernel on a ppc 8555, which I configured to enable power =20 management (CONFIG_PM=3Dy). After doing that, the file /sys/power/=20 state appears on my file system. If I cat the file I get =93standby =20=
mem=94 (without the quotes), but if I try to write to it (to change =20=
the state) I get an EPERM. I assume it is because I have no code =20 that implements any power save mode changes, only the interface to =20 change them. Am I wrong? How can I tell for sure? (the file is =20 writable, so it is not a problem with writing permissions)
I can pretty much say that there isn't any code that does pwr mgmt =20 for 85xx. I'm not sure what exactly your issue is, but there =20 definitely isn't any code.
So the question is (if I am right) where do I get the code from? I =20 am hoping someone has implemented power save for that processor =20 already, but I just don=92t know where to start looking for that =20 code. Can someone help?
Getting the core to nap is easy enough, doing proper power savings =20 for the full SoC maybe more challenging. What exact behavior are you looking for? Something like suspend/=20 resume or just idle power savings? - k=