Received: by 10.223.185.116 with SMTP id b49csp1881103wrg; Sun, 4 Mar 2018 12:15:17 -0800 (PST) X-Google-Smtp-Source: AG47ELs6p7JEnX06uFkJsBG+fCAHURsrIa/vWmBxfScLXuGj9z00saBPzOG7wkNdzyMQR79UJBb9 X-Received: by 2002:a17:902:850a:: with SMTP id bj10-v6mr11155890plb.5.1520194516932; Sun, 04 Mar 2018 12:15:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520194516; cv=none; d=google.com; s=arc-20160816; b=lr2Up6nN2uk19QjVuCBTN5bCuRBpfRWxcYllyTPqdXrn32yR3lFNc4bgYb8KS5fejl BfonmxK8IVC65wqpQLOxbQ/7ldP3Gge4hA9m4siqGLfGVT0hidTmF6EjNqjfowPl9ZjN a77LSrJsjQggTFRE3xN/ERpiBYklOIfN5GwvS77iUsPBss012uiG0lBK0+GvGwT0lv4k wG5jLM2E3pSS2MLqoLIu3hIBj3hMxDmVQsJRqWNeIi2+DLjGTYkjizAjYzFm7roXfw4G iePxiGvbInu55qAB5Eo0vH37S63j0DSIxqXMprCaAt9/esLHtlsICCrPZE6qWmEQ1zKp eMdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=m2oNB7xMjn94bPF6qx2FiirvDoBgrqvZCmQMi5x2w3M=; b=ZBHvlYT8yCnkW2nEMir1lFDug7IQV9SyyB0r9LxahK3tluIoYFtYlT19OO+5N+tc9R 15pODzahylfUPKBNH/NCFUF/VTwmSDIcTWd4pco27PXsVpAM3BNs4uznURtttYzYFhIl r2QYairFnlo5PUvww4DZtgmt4cp+32iHx8H2xoI4b9ePGx7bUNXJ8D5RbtJ+CtnvmmEP sa2dNgmEYsqsH7LOz096FbdtVczqE2qeGY66A3FgRHCY5yi7exZMzsbEhkRmuDG0fJQN stCaB/scnBXhgD5N8+EBqq0qFMA8X8j+b+d8SxetQXg4ChY+ds5MPFxBtuYPLqa3XqYh PUgQ== 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 q188si7368902pga.547.2018.03.04.12.15.03; Sun, 04 Mar 2018 12:15:16 -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 S1752234AbeCDUGN (ORCPT + 99 others); Sun, 4 Mar 2018 15:06:13 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:55763 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751848AbeCDUGH (ORCPT ); Sun, 4 Mar 2018 15:06:07 -0500 Received: from trochilidae.lan (unknown [IPv6:2001:1620:c6e::127]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 4A2F05C0365; Sun, 4 Mar 2018 21:06:05 +0100 (CET) From: Stefan Agner To: han.xu@nxp.com, boris.brezillon@free-electrons.com Cc: marek.vasut@gmail.com, richard@nod.at, dwmw2@infradead.org, cyrille.pitchen@wedev4u.fr, max.oss.09@gmail.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH v2 2/2] dt-bindings: mtd: rawnand: gpmi: document specific ECC strength Date: Sun, 4 Mar 2018 21:06:02 +0100 Message-Id: <20180304200602.11475-2-stefan@agner.ch> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180304200602.11475-1-stefan@agner.ch> References: <20180304200602.11475-1-stefan@agner.ch> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document newly supported device tree properties nand-ecc-strength/ nand-ecc-step-size to specify ECC strength/size. Signed-off-by: Stefan Agner --- Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt index b289ef3c1b7e..393588385c6e 100644 --- a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt +++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt @@ -47,6 +47,11 @@ Optional properties: partitions written from Linux with this feature turned on may not be accessible by the BootROM code. + - nand-ecc-strength: integer representing the number of bits to correct + per ECC step. Needs to be a multiple of 2. + - nand-ecc-step-size: integer representing the number of data bytes + that are covered by a single ECC step. The driver + supports 512 and 1024. The device tree may optionally contain sub-nodes describing partitions of the address space. See partition.txt for more detail. -- 2.16.2