From patchwork Tue Dec 21 17:00:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1571793 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=d/mI34Ym; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JJN6Q1xgSz9t55 for ; Wed, 22 Dec 2021 04:02:06 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=arpACwDfTty8EVg/uCCW4YDWQMajuDRDDdUBK9JaTYY=; b=d/mI34Ym3SqS0Z UvZbcIYVOgkuCXtJEZQJivFSSZV0RrzrrLkT7xmQjnfZz1QChPpKRJN99GH65SiVL4tY4Sc5P3sNa wu1gE1R2I3Vgvg7tO6knKwNLbgJzxgxgCFnQ7zqilbsji15l+txKRYoFnZ6lmcjwqsCBV2duwKk6F ulYGcmck42KQCNNxKgQSWbxUXPps8Z16UQbNn2B86RDu8sPG6aBCcso7mq++A6OrIasWJQsjcATen VPLlI+PgQksh+R4gJjptWuWymgLyh3ywSWxT8j+/LFQrJgPgz9OZJSfGFhu+WWElyty2x1RIaindu uT24GgzveZhlYy2ZzERg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mziVw-007ez6-QY; Tue, 21 Dec 2021 17:01:24 +0000 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mziVf-007eoY-DN for linux-mtd@lists.infradead.org; Tue, 21 Dec 2021 17:01:09 +0000 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id AC8A8240005; Tue, 21 Dec 2021 17:00:59 +0000 (UTC) From: Miquel Raynal To: Rob Herring , Cc: Michal Simek , Thomas Petazzoni , Mark Brown , , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Pratyush Yadav , Michael Walle , , Miquel Raynal Subject: [PATCH v5 0/3] Stacked/parallel memories bindings Date: Tue, 21 Dec 2021 18:00:55 +0100 Message-Id: <20211221170058.18333-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211221_090107_619550_AB1BF4FB X-CRM114-Status: GOOD ( 11.08 ) X-Spam-Score: -0.7 (/) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__Hello_Rob=2C_Mark=2C_Tudor_=26_Pratyus?= =?unknown-8bit?q?h=2C_Here_is_a_fifth_versions?= =?unknown-8bit?q?_for_these_bindings=2C_which_applies_on_top_of_Pratyush=27s?= =?unknown-8bit?q?_work=3A_https=3A//lore=2Ekernel=2Eorg/all/20211109181911?= =?unknown-8bit?q?=2E2251-1-p=2Eyadav=40ti=2Ecom/?= =?unknown-8bit?q?_Cheers=2C_Miqu=C3=A8l_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=28-0=2E7_points=2C_5=2E0_re?= =?unknown-8bit?q?quired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_-0=2E7_RCVD=5FIN=5FDNSWL=5FLOW______RBL=3A_Sender_listed_a?= =?unknown-8bit?q?t_https=3A//www=2Ednswl=2Eorg/=2C?= =?unknown-8bit?q?_low_trust?= =?unknown-8bit?q?_=5B217=2E70=2E183=2E193_listed_in_list=2Ednswl=2Eorg=5D?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_0=2E0_RCVD=5FIN=5FMSPIKE=5FH3______RBL=3A_Good_reputation_?= =?unknown-8bit?q?=28+3=29?= =?unknown-8bit?q?_=5B217=2E70=2E183=2E193_listed_in_wl=2Emailspike=2Enet=5D?= =?unknown-8bit?q?_0=2E0_SPF=5FHELO=5FNONE__________SPF=3A_HELO_does_not_publ?= =?unknown-8bit?q?ish_an_SPF_Record?= =?unknown-8bit?q?_0=2E0_RCVD=5FIN=5FMSPIKE=5FWL______Mailspike_good_senders?= X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hello Rob, Mark, Tudor & Pratyush, Here is a fifth versions for these bindings, which applies on top of Pratyush's work: https://lore.kernel.org/all/20211109181911.2251-1-p.yadav@ti.com/ Cheers, Miquèl Changes in v5: * Used the uint64-array instead of the matrix type. * Updated the example as well to use a single "/bits/ 64" cast because doing it twice, despite being supported by the language itself, is not yet something that we can use for describing bindings. Changes in v4: * Changed the type of properties to uint64-arrays in order to be able to describe the size of each element in the array. * Updated the example accordingly. Changes in v3: * Rebased on top of Pratyush's recent changes. * Dropped the commit allowing to provide two reg entries on the node name. * Dropped the commit referencing spi-controller.yaml from jedec,spi-nor.yaml, now replaced by spi-peripheral-props.yaml and already done in Pratyush's series. * Added Rob's Ack. * Enhanced a commit message. * Moved the new properties to the new SPI peripheral binding file. Changes in v2: * Dropped the dtc changes for now. * Moved the properties in the device's nodes, not the controller's. * Dropped the useless #address-cells change. * Added a missing "minItems". * Moved the new properties in the spi-controller.yaml file. * Added an example using two stacked memories in the spi-controller.yaml file. * Renamed the properties to drop the Xilinx prefix. * Added a patch to fix the spi-nor jedec yaml file. Miquel Raynal (3): dt-bindings: mtd: spi-nor: Allow two CS per device spi: dt-bindings: Describe stacked/parallel memories modes spi: dt-bindings: Add an example with two stacked flashes .../bindings/mtd/jedec,spi-nor.yaml | 3 ++- .../bindings/spi/spi-controller.yaml | 7 ++++++ .../bindings/spi/spi-peripheral-props.yaml | 25 +++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-)