Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-25 Thread Baolin Wang
Hi, On 25 July 2017 at 11:38, Vinod Koul wrote: > On Mon, Jul 24, 2017 at 02:46:00PM +0800, Baolin Wang wrote: >> Hi, >> >> On 六, 7月 22, 2017 at 01:27:31下午 +0530, Vinod Koul wrote: >> > On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > >> > > +static void

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-25 Thread Baolin Wang
Hi, On 25 July 2017 at 11:38, Vinod Koul wrote: > On Mon, Jul 24, 2017 at 02:46:00PM +0800, Baolin Wang wrote: >> Hi, >> >> On 六, 7月 22, 2017 at 01:27:31下午 +0530, Vinod Koul wrote: >> > On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > >> > > +static void sprd_dma_set_uid(struct

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-24 Thread Vinod Koul
On Mon, Jul 24, 2017 at 02:46:00PM +0800, Baolin Wang wrote: > Hi, > > On 六, 7月 22, 2017 at 01:27:31下午 +0530, Vinod Koul wrote: > > On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > > > +static void sprd_dma_set_uid(struct sprd_dma_chn *mchan) > > > +{ > > > + struct sprd_dma_dev

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-24 Thread Vinod Koul
On Mon, Jul 24, 2017 at 02:46:00PM +0800, Baolin Wang wrote: > Hi, > > On 六, 7月 22, 2017 at 01:27:31下午 +0530, Vinod Koul wrote: > > On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > > > +static void sprd_dma_set_uid(struct sprd_dma_chn *mchan) > > > +{ > > > + struct sprd_dma_dev

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-24 Thread Baolin Wang
Hi, On 六, 7月 22, 2017 at 01:27:31下午 +0530, Vinod Koul wrote: > On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > > > +/* DMA global registers definition */ > > +#define DMA_GLB_PAUSE 0x0 > > +#define DMA_GLB_FRAG_WAIT 0x4 > > +#define

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-24 Thread Baolin Wang
Hi, On 六, 7月 22, 2017 at 01:27:31下午 +0530, Vinod Koul wrote: > On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > > > +/* DMA global registers definition */ > > +#define DMA_GLB_PAUSE 0x0 > > +#define DMA_GLB_FRAG_WAIT 0x4 > > +#define

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-22 Thread Vinod Koul
On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > +/* DMA global registers definition */ > +#define DMA_GLB_PAUSE0x0 > +#define DMA_GLB_FRAG_WAIT0x4 > +#define DMA_GLB_REQ_PEND0_EN 0x8 > +#define DMA_GLB_REQ_PEND1_EN 0xc > +#define

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-22 Thread Vinod Koul
On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > +/* DMA global registers definition */ > +#define DMA_GLB_PAUSE0x0 > +#define DMA_GLB_FRAG_WAIT0x4 > +#define DMA_GLB_REQ_PEND0_EN 0x8 > +#define DMA_GLB_REQ_PEND1_EN 0xc > +#define

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-20 Thread Baolin Wang
Hi Chunyan, On 21 July 2017 at 10:50, Chunyan Zhang wrote: > Hi Baolin, > > On 18 July 2017 at 15:06, Baolin Wang wrote: >> This patch adds the DMA controller driver for Spreadtrum SC9860 platform. > > I guess this driver is not only for SC9860,

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-20 Thread Baolin Wang
Hi Chunyan, On 21 July 2017 at 10:50, Chunyan Zhang wrote: > Hi Baolin, > > On 18 July 2017 at 15:06, Baolin Wang wrote: >> This patch adds the DMA controller driver for Spreadtrum SC9860 platform. > > I guess this driver is not only for SC9860, instead it should work for > all most all

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-20 Thread Chunyan Zhang
Hi Baolin, On 18 July 2017 at 15:06, Baolin Wang wrote: > This patch adds the DMA controller driver for Spreadtrum SC9860 platform. I guess this driver is not only for SC9860, instead it should work for all most all Spreadtrum's platforms? > > Signed-off-by: Baolin

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-20 Thread Chunyan Zhang
Hi Baolin, On 18 July 2017 at 15:06, Baolin Wang wrote: > This patch adds the DMA controller driver for Spreadtrum SC9860 platform. I guess this driver is not only for SC9860, instead it should work for all most all Spreadtrum's platforms? > > Signed-off-by: Baolin Wang > --- >

[PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-18 Thread Baolin Wang
This patch adds the DMA controller driver for Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang --- drivers/dma/Kconfig |7 + drivers/dma/Makefile |1 + drivers/dma/sprd-dma.c | 1451 ++

[PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-18 Thread Baolin Wang
This patch adds the DMA controller driver for Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang --- drivers/dma/Kconfig |7 + drivers/dma/Makefile |1 + drivers/dma/sprd-dma.c | 1451 ++ include/linux/dma/sprd-dma.h |