From patchwork Fri Jan 26 21:23:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 866588 X-Patchwork-Delegate: cyrille.pitchen@atmel.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NHxfh/ZW"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KipE2ry1"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zSsNG4Ymfz9sNr for ; Sat, 27 Jan 2018 08:23:58 +1100 (AEDT) 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=fYauAcV2C47uCiukJ3AnnGjm38DU5N0AXATGzAmJVbM=; b=NHxfh/ZWOjWTQNWo1/JwV4kH9W cMtmYzcaRnNYh0lFP8H2kTxNXODdj27zX9d1YIVsh58epHolccMXFkmur1KtP2Y1Q7V/k9lOuc5FD KLUCf17anjqLOGkoE78EXSTpxM9L1zlIddU1wg0mwCb27t2i/UZEFufMsmJBk/kiVjA4XrjGwRGNm 710XT4h9lZox9r91S1YhkQ4G6sKKHR5SU4RRyG8/PTK3gakImwT5GoqYSGS3PHRWh0PJBPetiG1+h dV3Aly54nhwnaSsz5CCXPf+Pe2D0iPtcr2tGERAj/EKfFBhn89K2ruBbQIlc6bjYcikiYXBPOQVZk 3YXcL5zg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1efBTS-0007fW-7N; Fri, 26 Jan 2018 21:23:50 +0000 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1efBTP-0007e6-UI for linux-mtd@lists.infradead.org; Fri, 26 Jan 2018 21:23:49 +0000 Received: by mail-qt0-x241.google.com with SMTP id d8so4788679qtm.0 for ; Fri, 26 Jan 2018 13:23:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fv6EICmWnrIz5f9Qt23X458Bkr8XL24pBa769AMpnPg=; b=KipE2ry16QwlmGVnsY5UdgVi4mX7GThsJyNfc1nwgsZ3xocR5VINm+4ewCzR+wk37h ixalDRLdB48m7ip4wyq0fJ1VOvPbjM08ZNKz6RlrnXl/6UEY5EAwI8hFHxfc0VsMw8lG pvfccJx2+nz12zg6dLO/5YRqO/NlEpOFVJ9J6CiwemC7cgYxLS2Nguy9M6KYAaDeAjbD JEDMIpgJccVaByaznvdlepGEig7zZNX461ljeTm1765UIk/tuU46U6BuDdswa1ljCnAg Fg3SNo9vOqWc6aT9yFKVE/jUxk0dK9h6Ns+IBF/IEuci0YUdtaCgR2f7encS9DRsi9R6 4Wlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fv6EICmWnrIz5f9Qt23X458Bkr8XL24pBa769AMpnPg=; b=VuHO0pyIPbbFgfLMzmDuVuIPtK5pp7MWlfy5VFA+mg9hPnJHb00ln4pT/FPpT1u/gu UQagkpdG/SfFwPobzsrwZz8/f3wZIVOnv/HDLScZx00OcgpZQyHSMIsyx0PlsY474afk kdmO7YmSjtKUc81XW4Kjcg+BPtkneF5FiC0lTRPggGztJU8qE1OV9oa0vU4DzFRV1jzA 70OPMvDQs/Yc7HD1FSmv658duFbHu0ecDDxwBDPEY96BMQcddYQ/m6mGr1x5kHAJJd8v LBiY3xrXJSoq8FHUHnFwopYoMeMQqYAP3/ZYOMNQ18aTrjZdHy8/inUcuHfRs2BO1JJd TOdg== X-Gm-Message-State: AKwxytfOV3OVLQewkrf3JykBCcSrNPTl1IU6PHtP32MmXPTpu1hMJFkQ r4oFtiNKYWlHs3ZaucuEHxVDrw== X-Google-Smtp-Source: AH8x227XZUJLlasABE9awwGQ8toOsdjgUVKWIHTmn1cpGuzZ/hglDvd8rxLc4PpDpGZVyJb2qzQ/7Q== X-Received: by 10.55.106.3 with SMTP id f3mr18296874qkc.316.1517001815712; Fri, 26 Jan 2018 13:23:35 -0800 (PST) Received: from localhost.localdomain ([187.180.182.112]) by smtp.gmail.com with ESMTPSA id l24sm6287080qtb.65.2018.01.26.13.23.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Jan 2018 13:23:35 -0800 (PST) From: Fabio Estevam To: cyrille.pitchen@wedev4u.fr Subject: [PATCH RESEND v6 2/2] dt-bindings: fsl-quadspi: Add the example of two SPI NOR Date: Fri, 26 Jan 2018 19:23:25 -0200 Message-Id: <1517001805-7646-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517001805-7646-1-git-send-email-festevam@gmail.com> References: <1517001805-7646-1-git-send-email-festevam@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400d:c0d: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 (festevam[at]gmail.com) -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_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: david.wolfe@nxp.com, boris.brezillon@free-electrons.com, linux-mtd@lists.infradead.org, Fabio Estevam , han.xu@nxp.com MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Fabio Estevam Improve the bindings example by adding an example of how to represent two SPI NOR devices. Signed-off-by: Fabio Estevam Acked-by: Han Xu --- Resending it as I missed to send it to Cyrille Changes since v5: - None .../devicetree/bindings/mtd/fsl-quadspi.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt b/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt index 63d4d626..483e9cf 100644 --- a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt +++ b/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt @@ -39,3 +39,27 @@ qspi0: quadspi@40044000 { .... }; }; + +Example showing the usage of two SPI NOR devices: + +&qspi2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_qspi2>; + status = "okay"; + + flash0: n25q256a@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "micron,n25q256a", "jedec,spi-nor"; + spi-max-frequency = <29000000>; + reg = <0>; + }; + + flash1: n25q256a@1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "micron,n25q256a", "jedec,spi-nor"; + spi-max-frequency = <29000000>; + reg = <1>; + }; +};