From: Felipe Balbi <balbi@ti.com>
To: "Kalliguddi, Hema" <hemahk@ti.com>
Cc: "Balbi, Felipe" <balbi@ti.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
Tony Lindgren <tony@atomide.com>,
Kevin Hilman <khilman@deeprootsystems.com>,
"Cousson, Benoit" <b-cousson@ti.com>,
Paul Walmsley <paul@pwsan.com>,
Mike Frysinger <vapier@gentoo.org>
Subject: Re: [PATCH v4] usb: musb: Adding names for IRQs in resource structure
Date: Wed, 29 Sep 2010 13:11:12 +0300 [thread overview]
Message-ID: <20100929101112.GR2728@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <E0D41E29EB0DAC4E9F3FF173962E9E9402DB7FE486@dbde02.ent.ti.com>
On Wed, Sep 29, 2010 at 03:54:45AM -0500, Kalliguddi, Hema wrote:
> Hi,
>
>>-----Original Message-----
>>From: Balbi, Felipe
>>Sent: Wednesday, September 29, 2010 12:30 PM
>>To: Kalliguddi, Hema
>>Cc: linux-omap@vger.kernel.org; linux-usb@vger.kernel.org;
>>Balbi, Felipe; Tony Lindgren; Kevin Hilman; Cousson, Benoit;
>>Paul Walmsley; Mike Frysinger
>>Subject: Re: [PATCH v4] usb: musb: Adding names for IRQs in
>>resource structure
>>
>>Hi,
>>
>>On Wed, Sep 29, 2010 at 11:26:39AM -0500, Kalliguddi, Hema wrote:
>>>Index: linux-omap-pm/arch/arm/mach-davinci/usb.c
>>>===================================================================
>>>--- linux-omap-pm.orig/arch/arm/mach-davinci/usb.c
>>>+++ linux-omap-pm/arch/arm/mach-davinci/usb.c
>>>@@ -64,10 +64,12 @@ static struct resource usb_resources[] =
>>> {
>>> .start = IRQ_USBINT,
>>> .flags = IORESOURCE_IRQ,
>>>+ .name = "mc"
>>> },
>>> {
>>> /* placeholder for the dedicated CPPI IRQ */
>>> .flags = IORESOURCE_IRQ,
>>>+ .name = "dma"
>>> },
>>> };
>>
>>you add names only to the IRQs, this will still require the memory base
>>to be the first resource. Maybe adding a name like "regs" to the memory
>>base and changing to platform_get_resource_byname(pdev, "regs") on
>>musb-core.c
>>
>It does not mandate the base address to be the first resource, as the api
>used for getting the base address takes the resource type as parameter.
>"platform_get_resource(struct platform_device *dev,unsigned int type,
>unsigned int num)". but it mandates the base addresses have to be in
>certain order if there are multiple base address.Since for musb there
>is one base address.
true :-p Sorry about that. Just noise.
--
balbi
next prev parent reply other threads:[~2010-09-29 10:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 16:26 [PATCH v4] usb: musb: Adding names for IRQs in resource structure Hema HK
2010-09-29 6:59 ` Felipe Balbi
2010-09-29 8:54 ` Kalliguddi, Hema
2010-09-29 10:11 ` Felipe Balbi [this message]
2010-09-29 11:38 ` Kalliguddi, Hema
2010-09-29 13:48 ` Mike Frysinger
[not found] ` <1285777599-24245-1-git-send-email-hemahk-l0cyMroinI0@public.gmane.org>
2010-09-29 14:40 ` Kevin Hilman
2010-12-09 19:34 ` Sergei Shtylyov
[not found] ` <4D012F2C.9060303-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2010-12-10 4:46 ` Kalliguddi, Hema
[not found] ` <AANLkTimF3Eotqa+jZvzCJStguGrDEeS9V-XUGOTa9qBt-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-10 12:56 ` Sergei Shtylyov
[not found] ` <4D02237B.2070708-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
2010-12-10 13:20 ` Kalliguddi, Hema
2010-12-10 13:20 ` Felipe Balbi
[not found] ` <20101210132053.GN6027-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2010-12-10 13:35 ` Sergei Shtylyov
[not found] ` <4D022C92.7090308-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2010-12-10 13:58 ` Felipe Balbi
2010-12-10 16:43 ` Sergei Shtylyov
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=20100929101112.GR2728@legolas.emea.dhcp.ti.com \
--to=balbi@ti.com \
--cc=b-cousson@ti.com \
--cc=hemahk@ti.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=tony@atomide.com \
--cc=vapier@gentoo.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).