From patchwork Mon Apr 26 10:45:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 12224159 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 121F6C433ED for ; Mon, 26 Apr 2021 10:47:36 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61FED60FE9 for ; Mon, 26 Apr 2021 10:47:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61FED60FE9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=bCiRJO+bL1efEHFalhQ+NjgY9BiNlhETsy1s1CFFtfk=; b=DtivAKIwdfgW41Z2A95417nhNu sdnM4wVYP5NZ4xNEoR7FwmFOKZJ1jJ4ggz7GCmxFY62JcRIXjOa0vr6LLN4ESLGDQCrXzBrvgjJvI hQw4NpjWZke1P0/BuPGxv2fso2iOP1wnT53E1BT+i/8joTvb/v8+h3HjUTkd6yCGxS7SVOKe5qlML EiNCVpvW4I8EcGkYG+jUbW6wjGQpUB04ZT0T9r5UgBG6WZYQ8zEi/wnsuvVlgJPHJMExrCe2acIoT qZjQXIUzdKMXcaTZGr8mAG6MVNjDgVwrZPhDOJzZzukAf7tkDIvTVcDfieMUR+uNE6IWjdWaCAo5W pC6hgjww==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1laykh-007Rl1-Ft; Mon, 26 Apr 2021 10:46:07 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1layke-007Rkb-LZ for linux-arm-kernel@desiato.infradead.org; Mon, 26 Apr 2021 10:46:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=hcCxZtYxYxv8vj0tBPhmpxbvzi6xB/6A326+3anLC9U=; b=B9jIlQPMjdCG0bY2odE629srpH eyDq1kzhvQVlyHamyUTxrxatekrQ2cBsSsD5JZm2qrXcpVgVCR17wZ/gM9LuEzGKsmQpyqgiF1FtC 6hvjOW8+V6vaS3AdjAxoZBDpxhwYtQSy1TtHSMHBHx9EGinU9aao7NdfEiNIOqYtIY1xbLRiFCjkq odsCLAE1Lb4hRMsY2TALhcFuMr671vi8bP4dYVz1hpkVMF59IeJ0KwzqiVB/76bKpJLpYvs/DIIni hTge3GryqfEiiunbRPyJ7eLG1a6C0DoJHaqSTMBy97pGOW34tPfy+cYhIW3r4na0j2S1/4A/BmEuS q2YxYRjw==; Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1laykb-00FuC2-BM for linux-arm-kernel@lists.infradead.org; Mon, 26 Apr 2021 10:46:02 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13QAgMBq030924; Mon, 26 Apr 2021 12:45:52 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=hcCxZtYxYxv8vj0tBPhmpxbvzi6xB/6A326+3anLC9U=; b=V9oGwPWe5yDcuCLDqRQQkAZOHnrKMoPcCX7Er+FGmB/izQST2yjk7IHn/O6UmXCqIZQj 1QufD9tmkCbxswZuWeb3aL/CzitjVbnIfNB5B++BZv+XJUR8HgqQJLYdZzGWVhRn4/Q3 jfQqL66Rd2rd81NjOcsEc6w22+gESjJhfLIWdPV7Gmxcx6h7SAceUF3OQJe/aU/mEvlt Y7iUvQu01NUA5+pYLSGTv7cbFRxQLruyw8AfNcpsKzWhKWLMIAHkT6i8JO2QpPL2hsiH SwxSEAWOVXJkS6YtOIt56MxQ/DCyn68HGYg/kewro3LoE3SxtbHT14CjG+VkQzH3z8Zy 6w== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 385gb2b81h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Apr 2021 12:45:52 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3BB49100034; Mon, 26 Apr 2021 12:45:52 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 2A1C9243D3A; Mon, 26 Apr 2021 12:45:52 +0200 (CEST) Received: from localhost (10.75.127.51) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 26 Apr 2021 12:45:51 +0200 From: To: , , CC: , , , , , , Patrice Chotard , Christophe Kerello Subject: [PATCH 1/1] ARM: dts: stm32: Configure qspi's mdma transfer to block for stm32mp151 Date: Mon, 26 Apr 2021 12:45:36 +0200 Message-ID: <20210426104536.29576-1-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-26_03:2021-04-26, 2021-04-26 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210426_034601_705388_F0B48B62 X-CRM114-Status: GOOD ( 14.50 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Patrice Chotard Configure qspi's mdma from buffer transfer (max 128 bytes) to block transfer (max 64K bytes). mtd_speedtest shows that write throughtput increases : - from 734 to 782 KiB/s (~6.5%) with s25fl512s SPI-NOR. - from 4848 to 5319 KiB/s (~9.72%) with Micron SPI-NAND. Signed-off-by: Christophe Kerello Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32mp151.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi index 4b8031782555..cb326c1e12bc 100644 --- a/arch/arm/boot/dts/stm32mp151.dtsi +++ b/arch/arm/boot/dts/stm32mp151.dtsi @@ -1358,8 +1358,8 @@ reg = <0x58003000 0x1000>, <0x70000000 0x10000000>; reg-names = "qspi", "qspi_mm"; interrupts = ; - dmas = <&mdma1 22 0x2 0x100002 0x0 0x0>, - <&mdma1 22 0x2 0x100008 0x0 0x0>; + dmas = <&mdma1 22 0x2 0x10100002 0x0 0x0>, + <&mdma1 22 0x2 0x10100008 0x0 0x0>; dma-names = "tx", "rx"; clocks = <&rcc QSPI_K>; resets = <&rcc QSPI_R>;