From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C7D51C43334 for ; Wed, 6 Jul 2022 06:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2yERx8wghP/9xSVA6gQSnZ46uvMu+SlZEQorOm1PvOQ=; b=HbJXhl0CzSzeuo 64eQvG+firzaCwToIu2A0cV2L2Z7xYFD/RfOlBiTlwRysI4xiUx+I1ON+8RncDrSCnERbQ8EG1rW9 xOLqxdEXstlQbjRZuDB96HWn7DmxJG86xH0vNdvlPqrS2cPaq0NTCHfVdkSz8SM+U47QgKZn2fFA1 GTWgyfdPWY6vOxNnLzztC1Z6+k059WP/ALWnGdl67op118RBjBV4vIZDCPxb4su4mfIR+RWDMu7TQ 5s39XfiPFMyx7b2ihNONid94/wODijh2wsLo5GIcrn/97mjl66rDNGJriHdiWhsr951oeA6nUCzJu KSASvzeFhqeVKWDAIPng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8y5q-006TAD-NK; Wed, 06 Jul 2022 06:00:58 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8y5n-006T5s-4f for linux-arm-kernel@lists.infradead.org; Wed, 06 Jul 2022 06:00:56 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6F79C61D32; Wed, 6 Jul 2022 06:00:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 425A5C3411C; Wed, 6 Jul 2022 06:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657087253; bh=QxLabDfGGa0boLjx8uK7OSPiiu9DN2HnJiPLYUEQi7s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=STPky/rxNlut0gbGbY07fE2xRNRfdygV8WyWcsA6iyecWAjtZh9SoJKMDfaBN/YF+ /qcd7E4jCIo3Mz64srjitN4J3V0RTsJa6kZybvGaXcJHe847jOKtCT9cHbK9mRnhHT L4QkA1eoHeiUMQEjWX1jYrHw754NqUP7JpS/Im0qh57Cuza3m36Janzo2bRFqVtBP8 He+sI4N7UM8Tgp26K7mp+N4dglUTblTzkgduu89m0yvnZNceiv373VKs1Ng/zS2EYy iA0sVpMNxyiq2pEfztE1d6YFJFqYKCPG28LvCXvN2Btld8wkyL2eXyZYiRYb0u7JjX +mSAXYZ1ClkWQ== Date: Wed, 6 Jul 2022 11:30:49 +0530 From: Vinod Koul To: Shengjiu Wang Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, shengjiu.wang@gmail.com, joy.zou@nxp.com, linux-imx@nxp.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] dmaengine: imx-sdma: Add FIFO stride support for multi FIFO script Message-ID: References: <1655782566-21386-1-git-send-email-shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1655782566-21386-1-git-send-email-shengjiu.wang@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220705_230055_267899_E5585047 X-CRM114-Status: GOOD ( 12.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 21-06-22, 11:36, 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. this fails to apply for me, pls rebase on dmaengine/next and revise -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel