[PATCH v4 0/3] serial: fsl_lpuart: add DMA support

Yao Yuan yao.yuan at freescale.com
Tue Feb 11 00:34:49 EST 2014


> -----Original Message-----
> From: Shawn Guo [mailto:shawn.guo at linaro.org]
> Sent: Tuesday, February 11, 2014 11:00 AM
> To: Yuan Yao-B46683
> Cc: gregkh at linuxfoundation.org; linux at arm.linux.org.uk; arnd at arndb.de;
> mark.rutland at arm.com; linux-arm-kernel at lists.infradead.org; linux-
> serial at vger.kernel.org
> Subject: Re: [PATCH v4 0/3] serial: fsl_lpuart: add DMA support
> 
> On Tue, Feb 11, 2014 at 01:50:14AM +0000, Yao Yuan wrote:
> > Hi, Shawn
> >
> > Here I just want the DMA be a selectable property for each board.
> > Is it suitable?
> 
> No, it's not.  Just like IRQ line, DMA channel is a SoC level resource.
> It should just be there once the SoC is out there.  Nothing to do with
> board level configuration.
> 
> Shawn

Here I also have a confusion.
IRQ is must. But DMA isn't very necessary.
How to deal with if one board is need DMA but another is not need?
You mean if DMA is be support once all of them must use dma as first?

--
Best Regards,
YuanYao
> 
> >
> > > -----Original Message-----
> > > From: Shawn Guo [mailto:shawn.guo at linaro.org]
> > > Sent: Monday, January 27, 2014 3:50 PM
> > > To: Yuan Yao-B46683
> > > Cc: gregkh at linuxfoundation.org; linux at arm.linux.org.uk;
> > > arnd at arndb.de; mark.rutland at arm.com;
> > > linux-arm-kernel at lists.infradead.org; linux- serial at vger.kernel.org
> > > Subject: Re: [PATCH v4 0/3] serial: fsl_lpuart: add DMA support
> > >
> > > On Wed, Jan 22, 2014 at 12:09:30PM +0800, Yuan Yao wrote:
> > > > Changed in v4:
> > > > - Move dma properties from dtsi to dts.
> > >
> > > Why this change?  DMA is a SoC level resource rather than board one.
> > >
> > > Shawn
> >



More information about the linux-arm-kernel mailing list