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 E5821C433EF for ; Thu, 21 Jul 2022 13:00:49 +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=6c58Wu3cddKS3lwSqV6hJEOgp+Ob4G7zqB/vZaupZlI=; b=iy5xXIZKh0qwZ5 VCC+1ETy046QpdM3KaapbZRVQOTrVyM+Iqr8CBZEjKhlGldlAp0AQ7wcQKZOGhFWAGQn9mmCNneQn r/zYWSdBdrZNzRS2QHe7CBTxWC9qgVszxS+jF7sAdxSXybj3XN9wLcLurgTD+Ln50d7IVhriPr4eV a8QwVV5uVpr+iA2QEGUEnSRjAfAVFy4ZTEbsSbhBuOiKSlzhDYXEZAabsZvvck3NwHaTqbo5VhtEP 1F8//8g8fhsxSeDXw3T6WIqZ0k8kmw1x1+EFJFArcoKGVTB/Qe1rdChKzudxrUTJ6yvAh6A8M+DIb 5s7TrqiSPOoJQPR7kkuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEVmB-006Vic-Ah; Thu, 21 Jul 2022 12:59:36 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEVlr-006Vcv-EA for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2022 12:59:16 +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 ams.source.kernel.org (Postfix) with ESMTPS id 818D4B82471; Thu, 21 Jul 2022 12:59:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DC3EC3411E; Thu, 21 Jul 2022 12:59:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658408352; bh=fkZ+DyZL6trMl4l+0tyohaMaFrql5cK3kIs1kDmC50c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C2qUs0ttPKb4c6oAVjNaJnDuRBBt1TKhrotm/+34lAccDE09vTxhXRCBzR4tuNSPG UTTxwpy88TZYIGSMLzKZ+1ym3tYX2lMDpN3gKptaLY2v8A1+y0kcAAALluaXUxdYgF sK3NZgwBtI4pRQC+9AhE/rwFKD1ndq7Oz0vGF6Qi3bqMBIX84nhrPLf3Vu/QeChPmr pfQ/iOggqnxzGTaSymnZjotTaQz7SSKsXGfNtHzzgk8NaruhgQ4NMizjLewSpM7FNW SeW2CymOKgLYXs4Jq/GP1V24UYkAxPQ4Yc3Azb9dHpVJHByYfvgjbjqqnWQKLRwNEf PO8ZjtJdXS63w== Date: Thu, 21 Jul 2022 18:29:07 +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, linux-imx@nxp.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH v3] dmaengine: imx-sdma: Add FIFO stride support for multi FIFO script Message-ID: References: <1657162829-9273-1-git-send-email-shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1657162829-9273-1-git-send-email-shengjiu.wang@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_055915_715290_5AB48A23 X-CRM114-Status: GOOD ( 12.47 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel