From: daniel@caiaq.de (Daniel Mack)
To: linux-arm-kernel@lists.infradead.org
Subject: enabling EXT_WAKEUP interrupts on PXA3xx
Date: Tue, 10 Nov 2009 08:28:18 +0100 [thread overview]
Message-ID: <20091110072818.GN14091@buzzloop.caiaq.de> (raw)
In-Reply-To: <4AF91498.3060503@compulab.co.il>
On Tue, Nov 10, 2009 at 09:22:00AM +0200, Mike Rapoport wrote:
> We need to enable EXT_WAKEUP interrupts on PXA3xx and I wonder what would be the
> best way to do it.
> I see two possibilities:
> 1) add 'if (irq == IRQ_WAKEUPx)' statements to pxa_{un}mask_irq functions in
> arch/arm/mach-pxa/irq.c
> 2) register additional irq_chip in arch/arm/mach-pxa/pxa3xx.c that will be
> responsible for handling EXT_WAKEUP (and probably other pxa3xx specific) interrupts.
>
> What do you prefer?
I'm just calling
enable_irq_wake(IRQ_WAKEUP0);
from my board support code, and it works fine - no need to change
anything else.
Daniel
next prev parent reply other threads:[~2009-11-10 7:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-10 7:22 enabling EXT_WAKEUP interrupts on PXA3xx Mike Rapoport
2009-11-10 7:28 ` Daniel Mack [this message]
2009-11-10 7:34 ` Eric Miao
2009-11-10 7:35 ` Eric Miao
2009-11-10 8:14 ` Mike Rapoport
2009-11-10 8:24 ` Eric Miao
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=20091110072818.GN14091@buzzloop.caiaq.de \
--to=daniel@caiaq.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).