From patchwork Mon Feb 1 10:25:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Izard X-Patchwork-Id: 576456 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9FB17140784 for ; Mon, 1 Feb 2016 21:28:34 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=sAYGn4ZZ; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQBhB-0004CL-89; Mon, 01 Feb 2016 10:26:57 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQBh2-0003qk-AC for linux-mtd@lists.infradead.org; Mon, 01 Feb 2016 10:26:51 +0000 Received: by mail-wm0-x241.google.com with SMTP id r129so8390925wmr.0 for ; Mon, 01 Feb 2016 02:26:28 -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=zTzF4VoIeSMfL5pKWP6SYZPGHgJ5ApFsVHSYZV7M99s=; b=sAYGn4ZZr9TJDWEEtlS9rxvo67+bMfW+5Uj/YVdXh59LvYdY9Ec3ycuNNYX7f5Gajl WGQIG8NfKlw2cgcU33/uIVe1V22tnW0rQH0BATbhi1GHEZxsxJ+tK6g3tro+cBB7Dodw ypNubIHkphqHyqfgw6HVcJYhvBcYrIw/79vFy2t6WiOEX/AhyPoA50QCLGirCxyiO5Av tCN29NNtMpEfx7fHs6RiwunamG3GofYDFqv1o8y/PTuUdjYWFHwlwwq/1ZsR13FrbNsL fLsBGCx7JP3Rbj1gjBrRhtltX3n6cBWM/D/JYadsdqm5oAwN2FnI0P6SqzdJ21ktxySf PcLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zTzF4VoIeSMfL5pKWP6SYZPGHgJ5ApFsVHSYZV7M99s=; b=YBSOlHgD7Wd0d4EjhL6cH510SUc1XYt6DCsAFl6cM9Y4/I3ImoxIA5kqH69IP+dI+F 3Iz1k+XU0v5hE03u3jIyj3TvYfhaKfEfYrvDae8O03Go0yV9nbEKi9V3R2QqGSyppxKA hT0LB1CG3g+bum1LuPiDvt9BNdXitqlZGfP+Pqn2VtfW1ag7TsGrnxTKce990co0EKZy bxZ/G1DLVLkDybHEOCkewxC68ZQvilscdua8lqrbznajiCW7sJoMXO4OZlrmumkY/Yxs 62LcNfhuFFqNH/WzeZWefhV0yaAZggoXtRVqxQJFc9ShuNiy6Gx77CehSDmgyyn/2jq1 GeGQ== X-Gm-Message-State: AG10YOT2OOPqfunNN80tt7Pxlshsn4c4YSzANpqvdX+lfCYI7+XeNuVdTYfvCu4HA9js+A== X-Received: by 10.28.129.139 with SMTP id c133mr11073781wmd.30.1454322386927; Mon, 01 Feb 2016 02:26:26 -0800 (PST) Received: from localhost.localdomain (146.187.3.109.rev.sfr.net. [109.3.187.146]) by smtp.gmail.com with ESMTPSA id y188sm10698736wmy.11.2016.02.01.02.26.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Feb 2016 02:26:26 -0800 (PST) From: Romain Izard To: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v3 2/5] dt-bindings: atmel_nand: Reword the documenation Date: Mon, 1 Feb 2016 11:25:57 +0100 Message-Id: <1454322360-8666-3-git-send-email-romain.izard.pro@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1454322360-8666-1-git-send-email-romain.izard.pro@gmail.com> References: <1454322360-8666-1-git-send-email-romain.izard.pro@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160201_022648_762844_04089402 X-CRM114-Status: GOOD ( 13.03 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (romain.izard.pro[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Josh Wu , Romain Izard , Nicolas Ferre , Yang Wenyou MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Do not mention which chips supporting the PMECC controller, as it a duplicate of the information in the chips' device trees. Use common terms when describing the sub-node for the NAND Flash controller. Acked-by: Rob Herring Signed-off-by: Romain Izard --- v3: no change v2: new .../devicetree/bindings/mtd/atmel-nand.txt | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/atmel-nand.txt b/Documentation/devicetree/bindings/mtd/atmel-nand.txt index 89b0db9801b0..e68ab404d912 100644 --- a/Documentation/devicetree/bindings/mtd/atmel-nand.txt +++ b/Documentation/devicetree/bindings/mtd/atmel-nand.txt @@ -21,8 +21,8 @@ Optional properties: - nand-ecc-mode : String, operation mode of the NAND ecc mode, soft by default. Supported values are: "none", "soft", "hw", "hw_syndrome", "hw_oob_first", "soft_bch". -- atmel,has-pmecc : boolean to enable Programmable Multibit ECC hardware. - Only supported by at91sam9x5 or later sam9 product. +- atmel,has-pmecc : boolean to enable Programmable Multibit ECC hardware, + capable of BCH encoding and decoding, on devices where it is present. - atmel,pmecc-cap : error correct capability for Programmable Multibit ECC Controller. Supported values are: 2, 4, 8, 12, 24. - atmel,pmecc-sector-size : sector size for ECC computation. Supported values @@ -32,15 +32,16 @@ Optional properties: sector size 1024. If not specified, driver will build the table in runtime. - 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 -- Nand Flash Controller(NFC) is a slave driver under Atmel nand flash - - Required properties: - - compatible : "atmel,sama5d3-nfc" or "atmel,sama5d4-nfc". - - reg : should specify the address and size used for NFC command registers, - NFC registers and NFC Sram. NFC Sram address and size can be absent - if don't want to use it. - - clocks: phandle to the peripheral clock - - Optional properties: - - atmel,write-by-sram: boolean to enable NFC write by sram. + +Nand Flash Controller(NFC) is an optional sub-node +Required properties: +- compatible : "atmel,sama5d3-nfc" or "atmel,sama5d4-nfc". +- reg : should specify the address and size used for NFC command registers, + NFC registers and NFC SRAM. NFC SRAM address and size can be absent + if don't want to use it. +- clocks: phandle to the peripheral clock +Optional properties: +- atmel,write-by-sram: boolean to enable NFC write by SRAM. Examples: nand0: nand@40000000,0 {