From: Todd Poynor <tpoynor@mvista.com>
To: Tony Lindgren <tony@atomide.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: Pending patches mostly pushed, please check
Date: Tue, 03 Jan 2006 16:25:41 -0800 [thread overview]
Message-ID: <43BB1605.9070903@mvista.com> (raw)
In-Reply-To: <20060103191356.GR6034@atomide.com>
Tony Lindgren wrote:
>> 9) LDM wakeup flags for OMAP keypad
>> http://linux.omap.com/pipermail/linux-omap-open-source/2005-December/005897.html
>
> Let's think about this one a bit more. Maybe we should have u32 device_wakeup in
> pm.c, and then various drivers would mask it with OMAP_WAKEUP_KEYPAD etc?
>
> Or maybe device_init_wakeup() should register a callback function in the driver,
> and them pm.c just calls all registered wakeup callback functions? That would
> move the enable/disable code to drivers.
Agreed, I should have labeled this patch as at an RFC stage. It's the
first attempt I'm aware of to apply the wakeup flags stuff begun for
PCI/USB to an embedded SoC, and was intended to start a discussion on
the above sorts of issues, which should also occur on
linux-pm@lists.osdl.org (and other embedded-oriented wakeup patches are
being floated there as well). It would be nice to move the wakeup
enable code to drivers, but with the per-core keypad IRQ assignments,
the need to enable level-2 IRQs, etc., not sure if a platform core file
ends up being more suitable, don't have a strong opinion myself so far.
On a related note, if anybody knows how to tell what source woke up an
OMAP from deep/big sleep I'd appreciate hearing about it. I haven't
found a register devoted to it, and keypad wakeup on my H3 seemed to
show a pending Level-2 interrupt in the level-1 ITR, but the level-2
ITRs all read zero (reading prior to enabling interrupts upon deep sleep
resume). Thanks,
--
Todd
next prev parent reply other threads:[~2006-01-04 0:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-27 9:51 Pending patches Dirk Behme
2005-12-27 18:01 ` Anderson.Briglia
2005-12-28 15:53 ` Anderson Lizardo
2005-12-30 22:28 ` Tony Lindgren
2006-01-03 19:13 ` Pending patches mostly pushed, please check Tony Lindgren
2006-01-03 20:41 ` Ladislav Michl
2006-01-04 0:09 ` Tony Lindgren
2006-01-03 22:36 ` Todd Poynor
2006-01-04 0:27 ` Tony Lindgren
2006-01-04 0:25 ` Todd Poynor [this message]
2006-01-04 0:33 ` Tony Lindgren
2006-01-04 7:12 ` Komal Shah
2006-01-06 19:37 ` [PATCH] Convert touchscreen to input_allocate_device Dirk Behme
2006-01-14 0:18 ` Tony Lindgren
2006-01-06 19:37 ` [PATCH] Re: Pending patches mostly pushed, please check Dirk Behme
2006-01-14 0:20 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43BB1605.9070903@mvista.com \
--to=tpoynor@mvista.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.