Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934017AbcLAQQC (ORCPT ); Thu, 1 Dec 2016 11:16:02 -0500 Received: from mail-yw0-f196.google.com ([209.85.161.196]:34280 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753256AbcLAQQA (ORCPT ); Thu, 1 Dec 2016 11:16:00 -0500 Date: Thu, 1 Dec 2016 09:59:27 -0600 From: Rob Herring To: Masahiro Yamada Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Boris Brezillon , Marek Vasut , Brian Norris , Richard Weinberger , David Woodhouse , Cyrille Pitchen , Mark Rutland Subject: Re: [PATCH 37/39] mtd: nand: denali: support "nand-ecc-strength" DT property Message-ID: <20161201155927.izgkiuniv5h6mu7h@rob-hp-laptop> References: <1480183585-592-1-git-send-email-yamada.masahiro@socionext.com> <1480183585-592-38-git-send-email-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1480183585-592-38-git-send-email-yamada.masahiro@socionext.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 23 On Sun, Nov 27, 2016 at 03:06:23AM +0900, Masahiro Yamada wrote: > Historically, this driver tried to choose as big ECC strength as > possible, but it would be reasonable to allow DT to set a particular > ECC strength with "nand-ecc-strength" property. > > Going forward, DT platforms should specify "nand-ecc-strength" or > "nand-ecc-maximize" to show the ECC strength strategy explicitly. > > If nothing is specified in DT, "nand-ecc-maximize" is implied since > this was the original behavior. It applies to PCI platforms too. > > Signed-off-by: Masahiro Yamada > --- > > .../devicetree/bindings/mtd/denali-nand.txt | 5 ++++ I'd prefer all the DT changes be in 1 patch, but Acked-by: Rob Herring > drivers/mtd/nand/denali.c | 27 +++++++++++++++++++++- > drivers/mtd/nand/denali_pci.c | 2 ++ > 3 files changed, 33 insertions(+), 1 deletion(-)