From: Tony Lindgren <tony@atomide.com>
To: "Gadiyar, Anand" <gadiyar@ti.com>
Cc: Eduardo Valentin <edubezval@gmail.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
Eduardo Valentin <eduardo.valentin@indt.org.br>
Subject: Re: [PATCH 4/5] OMAP3xx: Add DMA and IRQ definition for McBSP 1 and 2
Date: Fri, 25 Apr 2008 11:13:57 -0700 [thread overview]
Message-ID: <20080425181357.GB7671@atomide.com> (raw)
In-Reply-To: <5A47E75E594F054BAF48C5E4FC4B92AB2E76E128@dbde02.ent.ti.com>
* Gadiyar, Anand <gadiyar@ti.com> [080425 11:11]:
>
>
> > -----Original Message-----
> > From: Tony Lindgren [mailto:tony@atomide.com]
> > Sent: Friday, April 25, 2008 10:16 PM
> > To: Gadiyar, Anand
> > Cc: Eduardo Valentin; linux-omap@vger.kernel.org; Eduardo Valentin
> > Subject: Re: [PATCH 4/5] OMAP3xx: Add DMA and IRQ definition
> > for McBSP 1 and 2
> >
> > * Gadiyar, Anand <gadiyar@ti.com> [080424 22:12]:
> > > <snip>
> > > > diff --git a/include/asm-arm/arch-omap/dma.h
> > > > b/include/asm-arm/arch-omap/dma.h
> > > > index be0431e..270e158 100644
> > > > --- a/include/asm-arm/arch-omap/dma.h
> > > > +++ b/include/asm-arm/arch-omap/dma.h
> > > > @@ -273,6 +273,10 @@
> > > > #define OMAP24XX_DMA_MS 63 /* S_DMA_62 */
> > > > #define OMAP242X_DMA_EXT_DMAREQ5 64 /* S_DMA_63 */
> > > > #define OMAP243X_DMA_EXT_DMAREQ6 64 /* S_DMA_63 */
> > > > +#define OMAP34XX_DMA_MCBSP1_TX 31 /* S_DMA_30 */
> > > > +#define OMAP34XX_DMA_MCBSP1_RX 32 /* S_DMA_31 */
> > > > +#define OMAP34XX_DMA_MCBSP2_TX 33 /* S_DMA_32 */
> > > > +#define OMAP34XX_DMA_MCBSP2_RX 34 /* S_DMA_33 */
> > > > #define OMAP34XX_DMA_EXT_DMAREQ3 64 /* S_DMA_63 */
> > > > #define OMAP34XX_DMA_AES2_TX 65 /* S_DMA_64 */
> > > > #define OMAP34XX_DMA_AES2_RX 66 /* S_DMA_65 */
> > >
> > > What's the point of this patch? Can't you use OMAP24XX_DMA_MCBSP* names?
> > >
> > > > diff --git a/include/asm-arm/arch-omap/irqs.h
> > > > b/include/asm-arm/arch-omap/irqs.h
> > > > index 15446fd..4e185a8 100644
> > > > --- a/include/asm-arm/arch-omap/irqs.h
> > > > +++ b/include/asm-arm/arch-omap/irqs.h
> > > > @@ -316,7 +316,11 @@
> > > > #define INT_34XX_USIM_IRQ 35
> > > > #define INT_34XX_WDT3_IRQ 36
> > > > #define INT_34XX_SPI4_IRQ 48
> > > > +#define INT_34XX_MCBSP1_IRQ_TX 59
> > > > +#define INT_34XX_MCBSP1_IRQ_RX 60
> > > > #define INT_34XX_I2C3_IRQ 61
> > > > +#define INT_34XX_MCBSP2_IRQ_TX 62
> > > > +#define INT_34XX_MCBSP2_IRQ_RX 63
> > > > #define INT_34XX_PBIAS_IRQ 75
> > > > #define INT_34XX_OHCI_IRQ 76
> > > > #define INT_34XX_EHCI_IRQ 77
> > >
> > > Ditto with the IRQ lines?
> > >
> > > @Tony,
> > > It would be nice to give people some time to take a look at
> > the patches before they get pushed.
> >
> > Sorry, it seemed like a safe patch to push. I will revert it
> > today.
>
> I'm sorry I snapped at you guys earlier - it's just that this DMA
> code was some of my earliest work in the community and I'm a little
> passionate about it. This particular request line cleanup went
> through several iterations and I thought I'd done it reasonably well.
Hey no problem, you had several valid points there for sure!
Tony
next prev parent reply other threads:[~2008-04-25 18:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-24 15:54 [PATCH 0/5] Updates on mcbsp driver Eduardo Valentin
2008-04-24 15:54 ` [PATCH 1/5] PLAT-OMAP: MCBSP: Tranform into platform driver Eduardo Valentin
2008-04-24 15:54 ` [PATCH 2/5] MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1 Eduardo Valentin
2008-04-24 15:54 ` [PATCH 3/5] Fix mcbsp clock definition on clock34xx.h Eduardo Valentin
2008-04-24 15:54 ` [PATCH 4/5] OMAP3xx: Add DMA and IRQ definition for McBSP 1 and 2 Eduardo Valentin
2008-04-24 15:54 ` [PATCH 5/5] MACH-OMAP2: MCBSP: Add support for mcbsp on mach-omap2 Eduardo Valentin
2008-04-24 21:46 ` [PATCH 4/5] OMAP3xx: Add DMA and IRQ definition for McBSP 1 and 2 Tony Lindgren
2008-04-25 5:11 ` Gadiyar, Anand
2008-04-25 5:26 ` Eduardo Valentin
2008-04-25 5:46 ` Gadiyar, Anand
2008-04-25 6:13 ` Syed Mohammed, Khasim
2008-04-25 16:48 ` Tony Lindgren
2008-04-25 16:46 ` Tony Lindgren
2008-04-25 18:10 ` Gadiyar, Anand
2008-04-25 18:13 ` Tony Lindgren [this message]
2008-04-24 21:10 ` [PATCH 0/5] Updates on mcbsp driver Felipe Balbi
2008-04-24 21:13 ` Igor Stoppa
2008-04-24 21:45 ` Tony Lindgren
2008-04-25 5:30 ` Eduardo Valentin
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=20080425181357.GB7671@atomide.com \
--to=tony@atomide.com \
--cc=eduardo.valentin@indt.org.br \
--cc=edubezval@gmail.com \
--cc=gadiyar@ti.com \
--cc=linux-omap@vger.kernel.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 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.