I've been trying to get deepsleep up and running (dm365/368) and I'm having some problems with it. The only way that I can start the sleep process is by using the command line:

"echo mem > /sys/power/state"

This gets the process going which opens up an entire new can of worms since the davinci_display driver apparently makes use of legacy platform registration (at least that's the claim made here: http://e2e.ti.com/support/embedded/linux/f/354/p/94606/330077.aspx#330077). So the sleep process starts but then I get a kernel panic because the suspend() function points to some junk location.

My goal is to enter deepsleep by driving GIO0 low externally by a microcontroller but I can't get it to work properly. Has anybody had any success with this? I've been using the code for the da850 as a base but that uses RTC to enter/wakeup sleep which is not what I'm trying to do. If my only problem is patching drivers to have the proper suspend/resume functions assigned that'd be good news. Any help or ideas are greatly appreciated. Thanks!

-bj

On 04/13/2011 07:30 AM, Nori, Sekhar wrote:
Hi Todd,

On Tue, Feb 15, 2011 at 18:11:03, Nori, Sekhar wrote:
Hi Todd,

On Fri, Feb 11, 2011 at 19:15:28, Todd Fischer wrote:
Sekhar,

What is the status for deep sleep support on the DM365?  If it is
available, where can I find it?  If not available, I was planning on
AFAIK, DeepSleep support is not available on DM365. I am also
not aware of anyone working on it.

starting adding DM365 deep sleep support using the mach-davinci pm.c and
sleep.S code from the latest davinci-linux git repo unless you have
another suggestion.
Yes, that's a good idea. Thanks for taking this up.
If you are working on this can you also please take a look at
the generic CPU suspend support that Russell pushed recently[1]
and see how DaVinci can be converted to use it? The generic
support is already included in 2.6.39.

There is currently a lot of focus on clean-up within the
ARM tree and any migration to generic code will be greatly
appreciated.

Thanks,
Sekhar

[1] 
http://lists.infradead.org/pipermail/linux-arm-kernel/2011-February/041678.html

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to