Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp488265pxv; Fri, 9 Jul 2021 02:33:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPd9W0/KmWKicTsY4wX1leKCnQU8luGyZSNziL9k7XgEQZlSPFIBLnhX8SktlQ7YllK+7U X-Received: by 2002:a92:6e07:: with SMTP id j7mr11120267ilc.71.1625823237220; Fri, 09 Jul 2021 02:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625823237; cv=none; d=google.com; s=arc-20160816; b=TXcpKV1IseafhIErXNOC8PjXIKa+JqTo8XW1F/GG97V4xrUnmqNppkU+R1CNl4OGnb KxNcV+MMK8CSmNut9kHpCuenuxvgFSXiIhntRS/oCnsfIyjgd+xwXHx+6izMoSTNG/PR UfiOeseDZtgaKU7zaZkH+tHhD4enYQdlA/D391qeSzpU4N6Ggs7QlGv5qaimigORweC3 FHfoEgQBfK/rS5LBu8iB20HL0lsOuVyoctNczg6J+JCh5LgG0Wh2dbqZn+9+DXEtNCRv NPglgDcRrDQO8J+j9y9WA0vE6n6WIizEyjmrVXmpJ0iXp8amEnL4vhJYgY10l2IxpPtF ZB/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=0Q0cT9H45mTqETvyChBJ8ZzV/4/Vi9U3wcbXBH2WPhk=; b=bJGHPabjct5eb4nnKIkhzTPAX0uQV5a0rpGtCujs+CQXHRAAg1TDZxqhcqcshHrSNs H9fiDmgklSKjm4dhylfN0WNFy2/RBMAZcKpRopKuS/mMM0lF8SAjFUG484h+0Aez08fa /US8IQqboJ7Y/v19dbdA6UPrZhyjA8P+9fv25xhnNEbW1iUtdPZUcP/168VAVHyZwwVP isD8Ma4uzPISGCXjmiRZJZ0TzhiHyHRFKofBzWYdTHpGBgSi8n7sO++sJqWeyCbQW4Hw qN04zadOQF1bMjh7QivfzYofvQRboEfsbSOCIFeqn9A+nmMSf096EwwhSWXGoV4WEDh0 eWNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si7516131iow.59.2021.07.09.02.33.45; Fri, 09 Jul 2021 02:33:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231772AbhGIJf4 (ORCPT + 99 others); Fri, 9 Jul 2021 05:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231494AbhGIJfz (ORCPT ); Fri, 9 Jul 2021 05:35:55 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68814C0613DD for ; Fri, 9 Jul 2021 02:33:12 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1msS-0007K0-TU; Fri, 09 Jul 2021 11:32:56 +0200 Message-ID: <7f6c9136db9e6cda78cc189fbdeb9db88004c5a5.camel@pengutronix.de> Subject: Re: [PATCH v14 06/12] dmaengine: imx-sdma: add mcu_2_ecspi script From: Lucas Stach To: Robin Gong , vkoul@kernel.org, mark.rutland@arm.com, broonie@kernel.org, robh+dt@kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, shawnguo@kernel.org, festevam@gmail.com, s.hauer@pengutronix.de, martin.fuzzey@flowbird.group, u.kleine-koenig@pengutronix.de, dan.j.williams@intel.com, matthias.schiffer@ew.tq-group.com, frieder.schrempf@kontron.de, m.felsch@pengutronix.de, xiaoning.wang@nxp.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Fri, 09 Jul 2021 11:32:55 +0200 In-Reply-To: <1617809456-17693-7-git-send-email-yibin.gong@nxp.com> References: <1617809456-17693-1-git-send-email-yibin.gong@nxp.com> <1617809456-17693-7-git-send-email-yibin.gong@nxp.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.1 (3.40.1-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, dem 07.04.2021 um 23:30 +0800 schrieb Robin Gong: > Add mcu_2_ecspi script to fix ecspi errata ERR009165. > > Signed-off-by: Robin Gong > Acked-by: Vinod Koul Reviewed-by: Lucas Stach > --- > drivers/dma/imx-sdma.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c > index 78dcfe2..86bd383 100644 > --- a/drivers/dma/imx-sdma.c > +++ b/drivers/dma/imx-sdma.c > @@ -892,6 +892,10 @@ static void sdma_get_pc(struct sdma_channel *sdmac, > emi_2_per = sdma->script_addrs->mcu_2_ata_addr; > break; > case IMX_DMATYPE_CSPI: > + per_2_emi = sdma->script_addrs->app_2_mcu_addr; > + emi_2_per = sdma->script_addrs->mcu_2_ecspi_addr; > + sdmac->is_ram_script = true; > + break; > case IMX_DMATYPE_EXT: > case IMX_DMATYPE_SSI: > case IMX_DMATYPE_SAI: