Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2680470imw; Wed, 6 Jul 2022 09:56:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v6bNCQxgkc2F/wn33OK4FbhgbBiwcQHuQts3hS/c69E3qk33HG6TPVOyfa93WNM4XHpW7v X-Received: by 2002:a17:90b:4c05:b0:1ef:203e:6da0 with SMTP id na5-20020a17090b4c0500b001ef203e6da0mr47897664pjb.227.1657126607444; Wed, 06 Jul 2022 09:56:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657126607; cv=none; d=google.com; s=arc-20160816; b=qV4JXekl6opZI4CqhAriiVHGBvKhz0XkyDnhIFZ96YirtHRDzx9y2uqPOcI9a88aFe xuoOJdoAgrjGt+SSedyxo82xlwNS+G42Dl0F35MCU1GBH+bOjg1EBPGvP8qGH75WPlVE T3ZPnD6yUCmuUdg3YDKS4vXaqPAb9cgHxxHLwvoqspuRiOwQW9Ht8W4Z8dqcoYCixMZJ +aR9L/qQf2xRUHQORblLvd90cgXCRh04c9jhhcz1vPDNqtFsKz0W5pvnUIsxJRoNRVus HlhFKG2YAJNxqZA8F1HScaG2AeyXqX48PRATWwdE0r8ImNLDXYfxzOMCB+ZghnpRjM3O 8ATQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=a1Wkdq0PzJGlR6LcVs6qGPQN8mF6f3cTWn3swfhAEOo=; b=lXJwx5THzkMq13hrBM+sDRQQrjPK5j6hO7EhFyq2Ry//fMPY3cVz5NeF6ghEPWM+sR bNCqKui9Tnb61hB+E/qIa0rUb8XAvvMh0WS8FgVC9Z7UGbrOlRa+8okADvvvaFu3yUQJ 2Y92FqTf1EgMClalSyaWItmFuVsKwMe5LleKhcJ+KIXSVk2R18GsL2vnUDUxJwtdMV9y da1EYdDYE+SfPvwKcF0D9a8LUPUls/QIB0ynW/Qd/0BKecMItHx11PFm5TbmyNp2nc1e F+1corb1irn7thjqYWi/w9hxZEC/nZgNlelnQs4NV8Sr213Rx8NrM5tP3VrhkZQzrU5O Kn+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TKQuwAR6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mw8-20020a17090b4d0800b001e29c6b2ff5si19410290pjb.151.2022.07.06.09.56.17; Wed, 06 Jul 2022 09:56:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TKQuwAR6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233324AbiGFQ3a (ORCPT + 99 others); Wed, 6 Jul 2022 12:29:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232907AbiGFQ31 (ORCPT ); Wed, 6 Jul 2022 12:29:27 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EA3025E87; Wed, 6 Jul 2022 09:29:27 -0700 (PDT) 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 C9027B81A99; Wed, 6 Jul 2022 16:29:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2A78C341C8; Wed, 6 Jul 2022 16:29:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657124964; bh=cBCkLP2gTzX/q2OVTaImug7BGSJxWDD8OrsOwWBIJVA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TKQuwAR6/1+JPXRfI1Qv7oZd1ULgQDO/kOL/EFfTgCRCxcQSARXrhKH6Tvg2fzMh2 IZ5wf/7h9v30tS+oqsJX87liFihTZcmZHxZ8MPAcZne4LqEuX4tXQ5wgOPpepqfUlK QmP468Q20PlQeA+Qq4PBEBUnblKBmIhmnqgtOl3FkgIz+BSHFwK3ZnuvlrAwu99VYI GkRIVRIx45aVQeeftJkGlp2XmTf8oXjYuECfCbLl8XGEmnW9F+UpW5kGIWXAgnIein nVcL6GSE7q4xtfL2o2buY0/TYaJA0TKVojK1X7PfUwGbZqVoWPAw36sPjimOkXJdnH qlPy3XAxcJ8DA== Date: Wed, 6 Jul 2022 21:59:20 +0530 From: Vinod Koul To: Shengjiu Wang Cc: Shengjiu Wang , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , joy.zou@nxp.com, NXP Linux Team , dmaengine@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06-07-22, 14:54, Shengjiu Wang wrote: > On Wed, Jul 6, 2022 at 2:00 PM Vinod Koul wrote: > > > 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 > > > > > > it based on my another commit, the one that fixes the struct documentation > should I send them together? Pls mention that in patch title.. I have applied that, so rebase and resend please -- ~Vinod