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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Shawn Guo [mailto:shawn.guo@xxxxxxxxxx]
> Sent: Tuesday, February 11, 2014 11:00 AM
> To: Yuan Yao-B46683
> Cc: gregkh@xxxxxxxxxxxxxxxxxxx; linux@xxxxxxxxxxxxxxxx; arnd@xxxxxxxx;
> mark.rutland@xxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux-
> serial@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxx]
> > > Sent: Monday, January 27, 2014 3:50 PM
> > > To: Yuan Yao-B46683
> > > Cc: gregkh@xxxxxxxxxxxxxxxxxxx; linux@xxxxxxxxxxxxxxxx;
> > > arnd@xxxxxxxx; mark.rutland@xxxxxxx;
> > > linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux- serial@xxxxxxxxxxxxxxx
> > > 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
> >

��.n��������+%������w��{.n�����{��ǫ����{ay�ʇڙ���f���h������_�(�階�ݢj"��������G����?���&��





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux