8 Sep 11:18
[RFC 0/5] device wakeup event support
From: <shaohua.li <at> intel.com>
Subject: [RFC 0/5] device wakeup event support
Newsgroups: gmane.linux.power-management.general
Date: 2008-09-08 09:19:26 GMT
Subject: [RFC 0/5] device wakeup event support
Newsgroups: gmane.linux.power-management.general
Date: 2008-09-08 09:19:26 GMT
This series add device wakeup event detection support. This is the base to implement runtime device suspend/resume, though we don't support it now. But David said USB is approaching to this. See this bugzilla http://bugzilla.kernel.org/show_bug.cgi?id=6892 for detail. The current process to handle wakeup event is: 1. driver enable wakeup event line pme and suspend 2. NPME or ACPI receives wakeup event 3. NPME or ACPI call .wakeup_event() to clear and disable wakeup event. Driver can do extra things in .wakeup_event() too. 4. NPME or ACPI call generic wakeup event handler (device_receive_wakeup_event()) 5. device resumes, and goto 1 for next round of suspend There are somethings we need discuss: 1. is this generic for other platforms? 2. what should the generic wakeup event handler do? Comments and suggestions are welcome! Signed-off-by: Shaohua Li <shaohua.li <at> intel.com> -- --
RSS Feed