mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: "Munegowda, Keshava" <keshava_mgowda@ti.com>
Cc: t-kristo@ti.com, Paul Walmsley <paul@pwsan.com>,
	"Cousson, Benoit" <b-cousson@ti.com>,
	"Basak, Partha" <p-basak2@ti.com>, "Balbi, Felipe" <balbi@ti.com>,
	parthab@india.ti.com, linux-usb@vger.kernel.org,
	linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Gadiyar, Anand" <gadiyar@ti.com>,
	sameo@linux.intel.com, tony@atomide.com, "Hilman,
	Kevin" <khilman@ti.com>,
	johnstul@us.ibm.com, "Sripathy,
	Vishwanath" <vishwanath.bs@ti.com>
Subject: Re: [PATCH 2/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap3
Date: Tue, 27 Sep 2011 16:24:56 +0300	[thread overview]
Message-ID: <20110927132453.GF19603@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <CAP05o4J75jGLTH8prOGD79Mte4DOg9ukgwe3V-KHFnB1Q-fi4w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Hi,

On Tue, Sep 27, 2011 at 06:48:35PM +0530, Munegowda, Keshava wrote:
> > So, you would need a mechanism to do something like this:
> >
> > pad a or b wakeup detected -> irq0
> > pad c or d wakeup detected -> irq1?
> 
> yes, if get something like this , its perfect.

can't you have different IRQs for each pad ? I mean, allocate one
irq_desc for each pad and let drivers request a pad/pin as an IRQ
source. Then, when you detect a pad wakeup, you can:

unsigned	pad_irq = pad_number - pad->irq_base;

handle_nested_thread(pad_irq);

this will make use of threaded IRQ handlers even. Could it be something
like that ?

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2011-09-27 13:25 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22 11:37 [PATCH 0/5 v11] mfd: omap: usb: Runtime PM support for EHCI and OHCI drivers Keshava Munegowda
2011-09-22 11:37 ` [PATCH 1/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap4 Keshava Munegowda
2011-09-22 11:37   ` [PATCH 2/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap3 Keshava Munegowda
2011-09-22 11:37     ` [PATCH 3/5 v11] arm: omap: usb: register hwmods of usbhs Keshava Munegowda
2011-09-22 11:37       ` [PATCH 4/5 v11] arm: omap: usb: device name change for the clk names " Keshava Munegowda
2011-09-22 11:37         ` [PATCH 5/5 v11] mfd: omap: usb: Runtime PM support Keshava Munegowda
2011-09-22 18:01     ` [PATCH 2/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap3 Paul Walmsley
2011-09-23 10:04       ` Munegowda, Keshava
2011-09-24  6:30         ` Paul Walmsley
2011-09-26 14:19           ` Munegowda, Keshava
2011-09-27  6:04             ` Partha Basak
2011-09-27 12:42               ` Tero Kristo
2011-09-27 13:18                 ` Munegowda, Keshava
2011-09-27 13:24                   ` Felipe Balbi [this message]
2011-09-27 13:57                     ` Partha Basak
2011-09-27 14:38                     ` Tero Kristo
2011-09-27 20:52                       ` Felipe Balbi
2011-10-13  7:12                   ` Munegowda, Keshava
2011-10-13 11:28                     ` Tero Kristo
2011-10-13 11:49                       ` Munegowda, Keshava
2011-10-28 12:03                         ` Tero Kristo
2011-10-28 12:14                           ` Munegowda, Keshava
2011-10-31 15:37                           ` Valdis.Kletnieks
2011-09-24  7:15         ` Paul Walmsley
2011-09-26 14:21           ` Munegowda, Keshava
2011-09-26 14:45             ` Paul Walmsley
2011-09-28 12:08               ` Munegowda, Keshava
2011-09-30  8:32                 ` Paul Walmsley
2011-09-30  9:36                   ` Munegowda, Keshava
2011-09-30 18:16                     ` Paul Walmsley
2011-10-04 11:55                       ` Munegowda, Keshava
2011-09-22 18:14   ` [PATCH 1/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap4 Paul Walmsley
2011-09-22 19:28     ` Cousson, Benoit
2011-09-22 23:31       ` Paul Walmsley
2011-09-23  0:16         ` Paul Walmsley
2011-09-23 11:30         ` Munegowda, Keshava
2011-09-24  6:20           ` Paul Walmsley
2011-09-26 22:00         ` Cousson, Benoit
2011-09-28 10:10         ` Ming Lei
2011-10-11  2:47           ` Paul Walmsley
2011-09-22 23:35   ` Paul Walmsley
2011-09-22 13:32 ` [PATCH 0/5 v11] mfd: omap: usb: Runtime PM support for EHCI and OHCI drivers Ming Lei
2011-09-22 13:36   ` Munegowda, Keshava
2011-09-23 18:44     ` Kevin Hilman

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=20110927132453.GF19603@legolas.emea.dhcp.ti.com \
    --to=balbi@ti.com \
    --cc=b-cousson@ti.com \
    --cc=gadiyar@ti.com \
    --cc=johnstul@us.ibm.com \
    --cc=keshava_mgowda@ti.com \
    --cc=khilman@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=p-basak2@ti.com \
    --cc=parthab@india.ti.com \
    --cc=paul@pwsan.com \
    --cc=sameo@linux.intel.com \
    --cc=t-kristo@ti.com \
    --cc=tony@atomide.com \
    --cc=vishwanath.bs@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®