From patchwork Wed Jan 29 14:34:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris Brezillon X-Patchwork-Id: 315075 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B06D62C007E for ; Thu, 30 Jan 2014 01:50:25 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751575AbaA2OuY (ORCPT ); Wed, 29 Jan 2014 09:50:24 -0500 Received: from mail-ee0-f65.google.com ([74.125.83.65]:42040 "EHLO mail-ee0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751341AbaA2OuX (ORCPT ); Wed, 29 Jan 2014 09:50:23 -0500 Received: by mail-ee0-f65.google.com with SMTP id e53so395712eek.4 for ; Wed, 29 Jan 2014 06:50:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Tav2XkB7cVCRoIpqmW3vbJRuY6aviBAA4rvc2fInb48=; b=oZirTfdlBQqLzs9r8/isP07mMbcqWUe+NjtuhKczepU+Ja/vfA3iYtmG+bbZmoLGJ4 W/jVau/pzkO/0iJ2g/tcLNr4HN6x6aCGom9AjBLr3U52Z33Y/2YSk0X7Fz8xR19D/8i+ hfbIjSnLbNr8wjTPHNtKoLP8iTPorK+QWmp97aMayKddZk23cJlHTHj8lbKsl2L20//c oeqaKO3Tlk8GKBk7mMrkJOJIpDKRpO+8rcvDWP1ww3u/zOpsdlunR2yskXfahIbDyCqj odczTR7NOFDikH9A73yvdDndL23aLqG4Y3StfkrPLK0xOSzGPyCvTVU/AkgQkGGQlZqQ Txkg== X-Received: by 10.15.42.72 with SMTP id t48mr9996487eev.45.1391006076714; Wed, 29 Jan 2014 06:34:36 -0800 (PST) Received: from bbrezillon-laptop.int.overkiz.com ([80.245.18.66]) by mx.google.com with ESMTPSA id o43sm9435426eef.12.2014.01.29.06.34.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 06:34:36 -0800 (PST) From: Boris BREZILLON To: Maxime Ripard , Rob Landley , Russell King , David Woodhouse , Grant Likely , Brian Norris , Jason Gunthorpe , Arnd Bergmann Cc: Boris BREZILLON , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, dev@linux-sunxi.org Subject: [RFC PATCH v2 03/14] of: mtd: add documentation for nand-ecc-level property Date: Wed, 29 Jan 2014 15:34:13 +0100 Message-Id: <1391006064-28890-4-git-send-email-b.brezillon.dev@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1391006064-28890-1-git-send-email-b.brezillon.dev@gmail.com> References: <1391006064-28890-1-git-send-email-b.brezillon.dev@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org nand-ecc-level property statically defines NAND chip's ECC requirements. Signed-off-by: Boris BREZILLON --- Documentation/devicetree/bindings/mtd/nand.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/nand.txt b/Documentation/devicetree/bindings/mtd/nand.txt index 03855c8..0c962296 100644 --- a/Documentation/devicetree/bindings/mtd/nand.txt +++ b/Documentation/devicetree/bindings/mtd/nand.txt @@ -3,5 +3,8 @@ - nand-ecc-mode : String, operation mode of the NAND ecc mode. Supported values are: "none", "soft", "hw", "hw_syndrome", "hw_oob_first", "soft_bch". +- nand-ecc-level : Two cells property defining the ECC level requirements. + The first cell represent the strength and the second cell the ECC block size. + E.g. : nand-ecc-level = <4 512>; /* 4 bits / 512 bytes */ - nand-bus-width : 8 or 16 bus width if not present 8 - nand-on-flash-bbt: boolean to enable on flash bbt option if not present false