From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH v2 1/2] ARM: imx: Add the secondary request into the structure for imx-sdma Date: Thu, 24 Jul 2014 21:30:04 +0800 Message-ID: <20140724133002.GC6827@dragon> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Nicolin Chen Cc: broonie@kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, rdunlap@infradead.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.de, timur@tabi.org, grant.likely@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, b02247@freescale.com, b42378@freescale.com List-Id: devicetree@vger.kernel.org On Thu, Jul 24, 2014 at 04:35:28PM +0800, Nicolin Chen wrote: > SDMA supports device to device (per_2_per) scripts to handle DMA transfering > between two peripheral devices. The per_2_per script, however, needs two dma > requests from two sides while the current structure only defined one request. > > So this patch just simply adds the secondary request so as to let SDMA and > its user to add its implementation later. > > [ Both change in the SDMA driver and its users like Freescale ASRC ASoC driver > should be taken along with this change in order to truly support per_2_per > sciprts. However, we here make an expediency by adding this first so that > we can add either side later since this patch won't break any function and > meanwhile it can make merge window more smoothly: we don't need to apply the > change inside dmaengine branch via ASoC tree any more. -- Nicolin ] > > Signed-off-by: Nicolin Chen Acked-by: Shawn Guo