[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YtlNm9tqgo5lsUcw@matsya>
Date: Thu, 21 Jul 2022 18:29:07 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Shengjiu Wang <shengjiu.wang@....com>
Cc: shawnguo@...nel.org, s.hauer@...gutronix.de, kernel@...gutronix.de,
festevam@...il.com, shengjiu.wang@...il.com, linux-imx@....com,
dmaengine@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH v3] dmaengine: imx-sdma: Add FIFO stride support
for multi FIFO script
On 07-07-22, 11:00, Shengjiu Wang wrote:
> The peripheral may have several FIFOs, but some case just select
> some FIFOs from them for data transfer, which means FIFO0 and FIFO2
> may be selected. So add FIFO address stride support, 0 means all FIFOs
> are continuous, 1 means 1 word stride between FIFOs. All stride between
> FIFOs should be same.
>
> Another option words_per_fifo means how many audio channel data copied
> to one FIFO one time, 1 means one channel per FIFO, 2 means 2 channels
> per FIFO.
>
> If 'n_fifos_src = 4' and 'words_per_fifo = 2', it means the first two
> words(channels) fetch from FIFO0 and then jump to FIFO1 for next two words,
> and so on after the last FIFO3 fetched, roll back to FIFO0.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists