Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932370AbcDYMjQ (ORCPT ); Mon, 25 Apr 2016 08:39:16 -0400 Received: from mail.kernel.org ([198.145.29.136]:49053 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754557AbcDYMjN (ORCPT ); Mon, 25 Apr 2016 08:39:13 -0400 Date: Mon, 25 Apr 2016 07:39:07 -0500 From: Rob Herring To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Boris Brezillon , linux-mtd@lists.infradead.org, Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Richard Weinberger , David Woodhouse , Brian Norris , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH 1/3] mtd: nand: add support for "nand-ecc-algo" DT property Message-ID: <20160425123907.GA26373@rob-hp-laptop> References: <1461324197-1333-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1461324197-1333-1-git-send-email-zajec5@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 676 Lines: 15 On Fri, Apr 22, 2016 at 01:23:13PM +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(-) Acked-by: Rob Herring