[PATCH v2 10/19] dma: imx-sdma: Add multi fifo support
Vinod Koul
vkoul at kernel.org
Thu Mar 31 07:26:09 CEST 2022
On 28-03-22, 13:27, Sascha Hauer wrote:
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
it is dmaengine: xxx
Also is this patch dependent on rest of the series, if not consider
sending separately
> diff --git a/include/linux/platform_data/dma-imx.h b/include/linux/platform_data/dma-imx.h
> index 281adbb26e6bd..4a43a048e1b4d 100644
> --- a/include/linux/platform_data/dma-imx.h
> +++ b/include/linux/platform_data/dma-imx.h
> @@ -39,6 +39,7 @@ enum sdma_peripheral_type {
> IMX_DMATYPE_SSI_DUAL, /* SSI Dual FIFO */
> IMX_DMATYPE_ASRC_SP, /* Shared ASRC */
> IMX_DMATYPE_SAI, /* SAI */
> + IMX_DMATYPE_MULTI_SAI, /* MULTI FIFOs For Audio */
> };
>
> enum imx_dma_prio {
> @@ -65,4 +66,10 @@ static inline int imx_dma_is_general_purpose(struct dma_chan *chan)
> !strcmp(chan->device->dev->driver->name, "imx-dma");
> }
>
> +struct sdma_peripheral_config {
> + int n_fifos_src;
> + int n_fifos_dst;
> + bool sw_done;
> +};
Not more platform data :(
Can you explain this structure and why this is required? What do these
fields refer to..?
--
~Vinod
More information about the Alsa-devel
mailing list