From patchwork Fri Jan 15 10:34:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Izard X-Patchwork-Id: 568021 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 50BD5140BFF for ; Fri, 15 Jan 2016 21:37:51 +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=vh5/IGOo; 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 1aK1jm-0004Mj-2b; Fri, 15 Jan 2016 10:36:10 +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 1aK1jW-0004A8-Lo for linux-mtd@lists.infradead.org; Fri, 15 Jan 2016 10:35:56 +0000 Received: by mail-wm0-x241.google.com with SMTP id f206so2144943wmf.2 for ; Fri, 15 Jan 2016 02:35:35 -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=l8XctEjpklfnofAH+dWbKUrHK8NCN1lXGxYaHXyQMa8=; b=vh5/IGOoV5p7Fz+b/aLOjP7f6J3uYcTm0laPLjt6CoN3dItC9g7mlub+pLSQEDxqST jW1/hFEbOCZGzIvT5BDxACqTjAtbv5aHVmw9FZrg+Aw7QJ6CFA3sLIGNjmNRLIiQE/rp 7VkZAtqpwqQiHIedBBhb0dzWrSa9kXdJtR9Q14PI3he2jzA+eL7syMK3dkDpiCLWUTBv GHWHzFSsYH+Zleju0UJiLEhwSVftI3WhIFGvf5Bo0bvG/K3Q2ScHVT5oCJc2cCxXb7DU g08JNaMPAl9Lz2CgIjtHcPUcv3nXrHY2EOyHXtTH3l3pEuu5i0IBJOc2uulcE0Xg+/sK R9jw== 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=l8XctEjpklfnofAH+dWbKUrHK8NCN1lXGxYaHXyQMa8=; b=l1Pb8k8hQ6IYsK9bNgKdo1/4HQvbFtSw+/UZ3vWUj4CTo6Y8fvKjK+7/onrfxeQ2uQ dMr4IxJwclQrLrtQck9bRfePoaD5I+/jc4ItHBMjgZtAragnCYv4jAEm2+Cgcty0uIoZ kbE9OMBtH+Sagdk/eJ28BQNdteTxHz3+J+4FljsiY/dc9DjXYFZfB8e6XKMS7ohUwzMI Lwyxe3Zd63Ay1Wlwj7vYPBhy8BRB9mjhIQ7sdP/jjL+ihvly2JWExmDnoJbwMhKxC8ds vqF1usr5BnOF49awjpqW7rM8JKw6FryMhPJakN6jiKuqPwCR1M1Vbkb7ABR/RmCN06gv nqGA== X-Gm-Message-State: ALoCoQn7wYU7mnadiTsi+evnrk/OURCM+vf1/tQP+57M0YNVmrHmNyERC1ZMPtVjD9b/5cpdDA9md3TUmw6Kzj4R9PfPzFXwnw== X-Received: by 10.194.113.165 with SMTP id iz5mr9105886wjb.4.1452854133940; Fri, 15 Jan 2016 02:35:33 -0800 (PST) Received: from localhost.localdomain (ram94-11-88-187-113-157.fbx.proxad.net. [88.187.113.157]) by smtp.gmail.com with ESMTPSA id w1sm1945189wmd.2.2016.01.15.02.35.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Jan 2016 02:35:33 -0800 (PST) From: Romain Izard To: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v2 5/8] dt-bindings: atmel_nand: Reword the documenation Date: Fri, 15 Jan 2016 11:34:59 +0100 Message-Id: <1452854102-6125-6-git-send-email-romain.izard.pro@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1452854102-6125-1-git-send-email-romain.izard.pro@gmail.com> References: <1452854102-6125-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-20160115_023555_031869_7181225B X-CRM114-Status: GOOD ( 12.72 ) 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 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (romain.izard.pro[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 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. Signed-off-by: Romain Izard Acked-by: Rob Herring --- 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 {