Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1241348imu; Thu, 20 Dec 2018 12:40:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/XnGPP2ObI2bZUB4UlI8cJKJ9+K8d5KMSqQ7dQHuQYIhx3Ech9suyY0FnPlL0Upxh4UNWrs X-Received: by 2002:a17:902:264:: with SMTP id 91mr25643389plc.108.1545338425934; Thu, 20 Dec 2018 12:40:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545338425; cv=none; d=google.com; s=arc-20160816; b=OslFpWOOnr/8HawBIcleMU59mcHaho9gITZm3MARYQqL8TKleGRMRkMo3atEsQklQo a02UrXvjA5ZQM1/oj+oqXq44it0uVQKtShEySJuYQI5ExNGoHKdyGcoIvb96FfZmdxfk 1aQh7IRo7IXfaO2rVSmBq9RMtdeYAxPcdr89dfZFxu6W2dpqq4UB6bodFI43iYx/6e7G SLjW+SirsDIxM6F9naLzsoZM9M3tryYvnPD70TaW/i1XRkFGfZ5QHbjv4kfFEMCckQgZ 6kECvdMdSyHURurVKzQOYAOyreF5yAIsYdmDy/Hc3If2tCq0ZBCxGm1JJ8+vfunr+7Gx gMEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=cepgPzgxvYfkxs40V7CjP6mtJkdWBjh1XenMayus87A=; b=qQaR4zL7Snqy/fsALiBmCXV3SI5en6/0cKa1GO8IJ5E4ZVTbSOOGL8/mBi40ys6VsF Yn02VGaNE2900OGgSM9vZk4lKqUsuJwIyx5gpzsU18IZ6st7OnKZ6D7qyzD7fsJJKHlX fk075M2H9KEDvN/6fu7Xjy+cBWBu+8tPr6QLIUFuksCRRdrhadM4GERtmhGMOMVg1z4Y lIzD18J0buWrnmjvhtvwUxX9D7/nP0ZY/CP0bR9DQKaD6Amsp6o/Td/UoXIhxlYTG8/e eciLl1OeuRxdY90+lbV82XIDErBU05b6n5PAfecFXRQOuw+VU1BK/2tjvVXcRbRdxLfw 7SMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c6si19320815plr.414.2018.12.20.12.40.10; Thu, 20 Dec 2018 12:40:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732935AbeLTNoA (ORCPT + 99 others); Thu, 20 Dec 2018 08:44:00 -0500 Received: from mail.bootlin.com ([62.4.15.54]:34329 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731126AbeLTNn7 (ORCPT ); Thu, 20 Dec 2018 08:43:59 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 680062072F; Thu, 20 Dec 2018 14:43:57 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from bbrezillon (aaubervilliers-681-1-38-38.w90-88.abo.wanadoo.fr [90.88.157.38]) by mail.bootlin.com (Postfix) with ESMTPSA id 149A720717; Thu, 20 Dec 2018 14:43:57 +0100 (CET) Date: Thu, 20 Dec 2018 14:43:57 +0100 From: Boris Brezillon To: Christophe Kerello Cc: , , , , , , , devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH v4 2/3] mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver Message-ID: <20181220144357.630df47c@bbrezillon> In-Reply-To: <1544781488-18723-3-git-send-email-christophe.kerello@st.com> References: <1544781488-18723-1-git-send-email-christophe.kerello@st.com> <1544781488-18723-3-git-send-email-christophe.kerello@st.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 14 Dec 2018 10:58:07 +0100 Christophe Kerello wrote: > The driver adds the support for the STMicroelectronics FMC2 NAND > Controller found on STM32MP SOCs. > > This patch is based on FMC2 command sequencer. > The purpose of the command sequencer is to facilitate the programming > and the reading of NAND flash pages with the ECC and to free the CPU > of sequencing tasks. > It requires one DMA channel for write and two DMA channels for read > operations. > > Only NAND_ECC_HW mode is actually supported. > The driver supports a maximum 8k page size. > The following ECC strength and step size are currently supported: > - nand-ecc-strength = <8>, nand-ecc-step-size = <512> (BCH8) > - nand-ecc-strength = <4>, nand-ecc-step-size = <512> (BCH4) > - nand-ecc-strength = <1>, nand-ecc-step-size = <512> (Extended ECC > based on Hamming) > > This patch has been tested on Micron MT29F8G08ABACAH4 and > MT29F8G16ABACAH4 > > Signed-off-by: Christophe Kerello Reviewed-by: Boris Brezillon