From patchwork Thu Apr 4 16:21:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 10885901 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A68FF17E0 for ; Thu, 4 Apr 2019 16:21:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D4E628ABF for ; Thu, 4 Apr 2019 16:21:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7ECEA28AC2; Thu, 4 Apr 2019 16:21:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7FF4A28ABF for ; Thu, 4 Apr 2019 16:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=V/3DGMRF2A2ihfTWH38PCx/ER+KWcBKY8Ww3ph9ilpI=; b=rzrXGq4aHnj48w ynH0msb7+udcbc/7c1Bp650vJW8vjmktieLEQCv8jVdNl7jXLjB7fZ0yeb5k7ftbnoaNIKNTVwxqO VgCXLu2Hk63Nkr0JXjuFQqqYEKwWM02sXXxBp2uAVMIoaC1bPx9aREVBk34Bc6ttHUCSnykrCf0RN 7RzfSQP4XRhmJAHerWxJOhSga0k89YaWevxkc0mAz0giQQBAAD9jCSd4niNH92fESVETOlCt280C9 khVuFAigyS6jLGTZpD4Ik5CQJYIZnLUZfa33CWv4OfJrnVB6lxExt1FjLigcGilPrWOGx2nvRLTDU 96N6pqxADOGUf0Ghr4nw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hC57M-00048x-Iq; Thu, 04 Apr 2019 16:21:32 +0000 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hC57J-00047U-0B; Thu, 04 Apr 2019 16:21:30 +0000 X-Originating-IP: 90.88.30.125 Received: from localhost.localdomain (aaubervilliers-681-1-89-125.w90-88.abo.wanadoo.fr [90.88.30.125]) (Authenticated sender: miquel.raynal@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id C05451C006D; Thu, 4 Apr 2019 16:21:16 +0000 (UTC) From: Miquel Raynal To: Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Tudor Ambarus , Vignesh Raghavendra , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH 0/3] Sun8i NAND DMA support Date: Thu, 4 Apr 2019 18:21:08 +0200 Message-Id: <20190404162111.22618-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190404_092129_194112_893093A9 X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, Miquel Raynal , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, This series improves the NAND throughput on sun8i platforms by adding DMA support. This increase comes from the ECC pipelining feature. Because NAND DMA handling has changed between A10+ and A33 SoCs, we must introduce a new compatible. DT is updated with this new compatible in addition with the usual DMA properties. Tested on an A33-Olinuxino. Thanks, Miquèl Miquel Raynal (3): dt-bindings: mtd: sunxi: Add new compatible mtd: rawnand: sunxi: Add DMA support for sun8i ARM: dts: sunxi: Improve sun8i NAND transfers by using DMA .../devicetree/bindings/mtd/sunxi-nand.txt | 7 +- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 4 +- drivers/mtd/nand/raw/sunxi_nand.c | 75 +++++++++++++++++-- 3 files changed, 77 insertions(+), 9 deletions(-)