RE: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-25 Thread Jingchang Lu
g; linux-arm- >ker...@lists.infradead.org >Subject: Re: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G >support in big-endian model > >On Wed, Sep 24, 2014 at 01:05:10PM +0200, Lothar Waßmann wrote: >> Hi, >> >> Jingchang Lu wrote: >> > + * eDMA ha

RE: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-24 Thread Jingchang Lu
g; linux-arm- >ker...@lists.infradead.org >Subject: Re: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G >support in big-endian model > >Hi, > >Jingchang Lu wrote: >> The offset of all 8-/16-bit register in big-endian eDMA model are >s/register/registers/ >

Re: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-24 Thread Russell King - ARM Linux
On Wed, Sep 24, 2014 at 01:05:10PM +0200, Lothar Waßmann wrote: > Hi, > > Jingchang Lu wrote: > > +* eDMA hardware SGs requires the TCDs to be auto loaded > > +* in the little endian whenver the register endian model, > "in little endian whatever the register endian model" Even that took

Re: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-24 Thread Lothar Waßmann
Hi, Jingchang Lu wrote: > The offset of all 8-/16-bit register in big-endian eDMA model are s/register/registers/ > swapped in a 32-bit size opposite those in the little-endian model. > > The hardware Scatter/Gather requires the subsequent TCDs in memory > to be auto loaded should retain little