Re: [RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-24 Thread Vinod Koul
On Mon, Aug 24, 2015 at 09:55:03AM +0100, Jon Hunter wrote: > >> +static int tegra_adma_get_xfer_params(struct tegra_dma_channel *tdc, > >> +struct tegra_adma_chan_regs *ch_regs, > >> +enum dma_transfer_direction direction) > >> +{ >

Re: [RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-24 Thread Jon Hunter
On 23/08/15 15:33, Vinod Koul wrote: > On Tue, Aug 18, 2015 at 02:49:15PM +0100, Jon Hunter wrote: >> +#define AHUB_TO_MEMORY 2 >> +#define MEMORY_TO_AHUB 4 > > namespace this aptly as well > >> +static

Re: [RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-24 Thread Jon Hunter
On 23/08/15 15:33, Vinod Koul wrote: On Tue, Aug 18, 2015 at 02:49:15PM +0100, Jon Hunter wrote: +#define AHUB_TO_MEMORY 2 +#define MEMORY_TO_AHUB 4 namespace this aptly as well +static void

Re: [RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-24 Thread Vinod Koul
On Mon, Aug 24, 2015 at 09:55:03AM +0100, Jon Hunter wrote: +static int tegra_adma_get_xfer_params(struct tegra_dma_channel *tdc, +struct tegra_adma_chan_regs *ch_regs, +enum dma_transfer_direction direction) +{ + u32

Re: [RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-23 Thread Vinod Koul
On Tue, Aug 18, 2015 at 02:49:15PM +0100, Jon Hunter wrote: > +#define AHUB_TO_MEMORY 2 > +#define MEMORY_TO_AHUB 4 namespace this aptly as well > +static void tegra_adma_stop(struct tegra_dma_channel

Re: [RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-23 Thread Vinod Koul
On Tue, Aug 18, 2015 at 02:49:15PM +0100, Jon Hunter wrote: +#define AHUB_TO_MEMORY 2 +#define MEMORY_TO_AHUB 4 namespace this aptly as well +static void tegra_adma_stop(struct tegra_dma_channel *tdc)

[RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-18 Thread Jon Hunter
Add support for the Tegra210 Audio DMA controller that is used for transferring data between system memory and the Audio sub-system. This driver is based upon the work by Dara Ramesh . Signed-off-by: Jon Hunter --- drivers/dma/Kconfig | 12 + drivers/dma/Makefile | 1 +

[RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-18 Thread Jon Hunter
Add support for the Tegra210 Audio DMA controller that is used for transferring data between system memory and the Audio sub-system. This driver is based upon the work by Dara Ramesh dram...@nvidia.com. Signed-off-by: Jon Hunter jonath...@nvidia.com --- drivers/dma/Kconfig | 12 +