From: Tero Kristo <t-kristo@ti.com>
To: "Balbi, Felipe" <balbi@ti.com>
Cc: "Munegowda, Keshava" <keshava_mgowda@ti.com>,
Paul Walmsley <paul@pwsan.com>,
"Cousson, Benoit" <b-cousson@ti.com>,
"Basak, Partha" <p-basak2@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 17:38:51 +0300 [thread overview]
Message-ID: <1317134331.3820.44.camel@sokoban> (raw)
In-Reply-To: <20110927132453.GF19603@legolas.emea.dhcp.ti.com>
On Tue, 2011-09-27 at 15:24 +0200, Balbi, Felipe wrote:
> 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:
Direct pad to irq mapping was turned down on some previous version of
the prcm chain handler set, but yes, it is a potential approach. However
the irq_desc allocation mechanism should be dynamic... there are some
200 programmable pads anyway.
>
> 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 ?
>
Texas Instruments Oy, Tekniikantie 12, 02150 Espoo. Y-tunnus: 0115040-6. Kotipaikka: Helsinki
WARNING: multiple messages have this Message-ID (diff)
From: Tero Kristo <t-kristo@ti.com>
To: "Balbi, Felipe" <balbi@ti.com>
Cc: "Munegowda, Keshava" <keshava_mgowda@ti.com>,
Paul Walmsley <paul@pwsan.com>,
"Cousson, Benoit" <b-cousson@ti.com>,
"Basak, Partha" <p-basak2@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 17:38:51 +0300 [thread overview]
Message-ID: <1317134331.3820.44.camel@sokoban> (raw)
In-Reply-To: <20110927132453.GF19603@legolas.emea.dhcp.ti.com>
On Tue, 2011-09-27 at 15:24 +0200, Balbi, Felipe wrote:
> 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:
Direct pad to irq mapping was turned down on some previous version of
the prcm chain handler set, but yes, it is a potential approach. However
the irq_desc allocation mechanism should be dynamic... there are some
200 programmable pads anyway.
>
> 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 ?
>
Texas Instruments Oy, Tekniikantie 12, 02150 Espoo. Y-tunnus: 0115040-6. Kotipaikka: Helsinki
next prev parent reply other threads:[~2011-09-27 14:38 UTC|newest]
Thread overview: 65+ 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 ` 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 ` 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 ` 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 ` 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 ` Keshava Munegowda
2011-09-22 11:37 ` [PATCH 5/5 v11] mfd: omap: usb: Runtime PM support Keshava Munegowda
2011-09-22 11:37 ` Keshava Munegowda
[not found] ` <1316691479-1849-3-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2011-09-22 18:01 ` [PATCH 2/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap3 Paul Walmsley
2011-09-22 18:01 ` Paul Walmsley
[not found] ` <alpine.DEB.2.00.1109221115320.10719-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2011-09-23 10:04 ` Munegowda, Keshava
2011-09-23 10:04 ` Munegowda, Keshava
[not found] ` <CAP05o4+Zc2z6sBOX_rQeoDQ9PneypcLRCyBbaaB2m+ZjeXZnaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-24 6:30 ` Paul Walmsley
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 12:42 ` Tero Kristo
2011-09-27 13:18 ` Munegowda, Keshava
2011-09-27 13:24 ` Felipe Balbi
2011-09-27 13:57 ` Partha Basak
2011-09-27 14:38 ` Tero Kristo [this message]
2011-09-27 14:38 ` Tero Kristo
2011-09-27 20:52 ` Felipe Balbi
2011-10-13 7:12 ` Munegowda, Keshava
2011-10-13 7:12 ` Munegowda, Keshava
2011-10-13 11:28 ` Tero Kristo
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:03 ` Tero Kristo
2011-10-28 12:14 ` Munegowda, Keshava
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: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-23 11:30 ` Munegowda, Keshava
2011-09-24 6:20 ` Paul Walmsley
[not found] ` <alpine.DEB.2.00.1109221524560.10719-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2011-09-26 22:00 ` Cousson, Benoit
2011-09-26 22:00 ` Cousson, Benoit
2011-09-28 10:10 ` Ming Lei
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
[not found] ` <CACVXFVOoHM14AqqH0CSpwNPef1QL+7MtgZOQZhYVSdgA=5KR4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-22 13:36 ` Munegowda, Keshava
2011-09-22 13:36 ` Munegowda, Keshava
2011-09-23 18:44 ` Kevin Hilman
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=1317134331.3820.44.camel@sokoban \
--to=t-kristo@ti.com \
--cc=b-cousson@ti.com \
--cc=balbi@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=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 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.