Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752414AbcDZHfE (ORCPT ); Tue, 26 Apr 2016 03:35:04 -0400 Received: from down.free-electrons.com ([37.187.137.238]:60375 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752028AbcDZHfB convert rfc822-to-8bit (ORCPT ); Tue, 26 Apr 2016 03:35:01 -0400 Date: Tue, 26 Apr 2016 09:34:48 +0200 From: Boris Brezillon To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-mtd@lists.infradead.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Richard Weinberger , David Woodhouse , Brian Norris , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: Re: [PATCH 1/3] mtd: nand: add support for "nand-ecc-algo" DT property Message-ID: <20160426093448.24832903@bbrezillon> In-Reply-To: <1461324197-1333-1-git-send-email-zajec5@gmail.com> References: <1461324197-1333-1-git-send-email-zajec5@gmail.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 23 On Fri, 22 Apr 2016 13:23:13 +0200 Rafał Miłecki wrote: > So far it was only possible to specify ECC algorithm using "soft" and > "soft_bch" values of nand-ecc-mode prop. There wasn't a way to specify > it for a hardware ECC mode. > > Now that we have independent field in NAND subsystem for storing info > about ECC algorithm we may also add support for this new DT property. > > Signed-off-by: Rafał Miłecki > --- > Documentation/devicetree/bindings/mtd/nand.txt | 2 ++ > drivers/mtd/nand/nand_base.c | 20 +++++++++++++------- > 2 files changed, 15 insertions(+), 7 deletions(-) Applied, thanks. Boris -- Boris Brezillon, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com