From patchwork Tue May 30 09:20:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris BREZILLON X-Patchwork-Id: 9754209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5FF64602B9 for ; Tue, 30 May 2017 09:35:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51A2126E4D for ; Tue, 30 May 2017 09:35:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4487627F7F; Tue, 30 May 2017 09:35:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A1F2B26E4D for ; Tue, 30 May 2017 09:35:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=pkcJZEq/D8X5qsHjo9sCZj1T8hOrG7vukh31+NjmamA=; b=fXWRR+oouuU3hk8lw/9V4AWzP7 tRYhwqPUrNe8dKRBdBATIy4ncZqPOjhmNjstCRsYBOeTbfpXBH72O3pNhDZRpz236qZlhFy9J8FKj x0Uofkb8Ov2aWzz8OZJgRLYR206ch/jzzbyB0lDURHiWIttdlAIYm2s3s63xPzdEaRH/Bb90gBgRN Rra00auM2FMxTFc1aE253ev5/KTkqxg51hPp6biWwL5TrPPo/ma4ULWzfCaGmYqWP/thOTfIqEVAZ Sq6T6ynwotmX4Fwj+Y96LvMaRc0jhO/1YQ3ovV9NUdMxBoRGZdStDh/OAemDAq4yS4IU9bV47nBr5 5544pV6A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dFdYx-0007O9-Bl; Tue, 30 May 2017 09:35:39 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dFdL2-0005st-Fx; Tue, 30 May 2017 09:21:19 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 59A9920ED9; Tue, 30 May 2017 11:20:55 +0200 (CEST) Received: from bbrezillon.lan (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id EF08A20EA3; Tue, 30 May 2017 11:20:54 +0200 (CEST) From: Boris Brezillon To: Nicolas Ferre , Alexandre Belloni Subject: [PATCH v2 1/4] dt-bindings: mtd: atmel-nand: Document the nfc-io bindings Date: Tue, 30 May 2017 11:20:51 +0200 Message-Id: <1496136054-12390-2-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496136054-12390-1-git-send-email-boris.brezillon@free-electrons.com> References: <1496136054-12390-1-git-send-email-boris.brezillon@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170530_022116_765236_880CD0B6 X-CRM114-Status: GOOD ( 10.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, info@egnite.de, Antoine Aubert , Jiri Prchal , Rodolfo Giometti , Pawel Moll , Ian Campbell , Boris Brezillon , Richard Weinberger , Rob Herring , linux-mtd@lists.infradead.org, Kumar Gala , Fabio Porcedda , Jean-Christophe PLAGNIOL-VILLARD , Peter Rosin , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP SAMA5 SoCs embed an advanced NAND controller logic to automate READ/WRITE page accesses. This advanced logic is exposed through a separate I/O mem range and is thus represented in a different node with its own compatible. Document the bindings of this nfc-io block. Signed-off-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd/atmel-nand.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/atmel-nand.txt b/Documentation/devicetree/bindings/mtd/atmel-nand.txt index f6bee57e453a..9bb66e476672 100644 --- a/Documentation/devicetree/bindings/mtd/atmel-nand.txt +++ b/Documentation/devicetree/bindings/mtd/atmel-nand.txt @@ -59,8 +59,22 @@ Required properties: - reg: should contain 2 register ranges. The first one is pointing to the PMECC block, and the second one to the PMECC_ERRLOC block. +* SAMA5 NFC I/O bindings: + +SAMA5 SoCs embed an advanced NAND controller logic to automate READ/WRITE page +operations. This interface to this logic is placed in a separate I/O range and +should thus have its own DT node. + +- compatible: should be "atmel,sama5d3-nfc-io", "syscon". +- reg: should contain the I/O range used to interact with the NFC logic. + Example: + nfc_io: nfc-io@70000000 { + compatible = "atmel,sama5d3-nfc-io", "syscon"; + reg = <0x70000000 0x8000000>; + }; + pmecc: ecc-engine@ffffc070 { compatible = "atmel,at91sam9g45-pmecc"; reg = <0xffffc070 0x490>,