From patchwork Thu Oct 28 12:45:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pratyush Yadav X-Patchwork-Id: 1547474 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=SDvAX3ty; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.a=rsa-sha256 header.s=ti-com-17Q1 header.b=Vo0L4UGh; 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 4Hg50G6HqSz9sP7 for ; Thu, 28 Oct 2021 23:46:22 +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=H+9mq8W+VkENjugO+7xdRQB7HKlu8vm3RdLnJlnh4F4=; b=SDvAX3tynBULkt rNEn7jcZDES6O7vh52CCltaeNWHGjCI0wNxqzbAJhJUgXTWlDXDI5HEQkrsE3OSjoHTDw1tBVdj9j SZc/qWoNdMRLkWbdPBt1GXhuv68X0coylYeBHyaSli+ebc05IJ8KExfIEM4Z3p3RqP0NeqBDmEADW vBjFLm7B0M1Td/Vy0cxbotIYUPyhOpt8ghcd6uF3mpm2kIHKPZaB6FVkVyi7P3yfNRZHdmIS7D9FG vkCozJuJqifvW087LFYy43rkLubiMBvfF3gAGkqGIzxOJGFzKLstF8id9VQVH41IeISwvxAoegTt3 I9iPMp34OxXhDkF4iTlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mg4mk-007oKI-Lt; Thu, 28 Oct 2021 12:45:34 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mg4mf-007oIt-Mg for linux-mtd@lists.infradead.org; Thu, 28 Oct 2021 12:45:31 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 19SCjOuE046426; Thu, 28 Oct 2021 07:45:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1635425124; bh=NtVjaK3NVDc5/FgFPK++Bri10Kvkgs6XU03tEJ+YQ0c=; h=From:To:CC:Subject:Date; b=Vo0L4UGhARwXYeRKxOVVyJnLvlxMBykznrkdrPhOG8WrLDC9rDRpTiPQYo4/BtUCi VCX3Ma71P7Lfyl52NlD4SWrXCP+DohVdO4jihOzPjWA7TFFYVtQHPEEHpKT7LzHXxu wI1QczV5rlyWgjGB/ufySkewPQnlTYZcPsbZKr4s= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 19SCjOD2119937 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Oct 2021 07:45:24 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 28 Oct 2021 07:45:23 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Thu, 28 Oct 2021 07:45:23 -0500 Received: from pratyush-OptiPlex-790.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 19SCjJbA115317; Thu, 28 Oct 2021 07:45:20 -0500 From: Pratyush Yadav To: Rob Herring CC: Mark Brown , Nishanth Menon , Michael Walle , Miquel Raynal , Pratyush Yadav , Richard Weinberger , Tudor Ambarus , Vignesh Raghavendra , , , , Subject: [PATCH v2 0/3] Add bindings for slave-specific SPI controller properties Date: Thu, 28 Oct 2021 18:15:15 +0530 Message-ID: <20211028124518.17370-1-p.yadav@ti.com> X-Mailer: git-send-email 2.33.1.835.ge9e5ba39a7 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211028_054529_874171_FEE245E3 X-CRM114-Status: GOOD ( 11.14 ) X-Spam-Score: -2.7 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, This series adds bindings for slave-specific SPI controller properties. See patch 1 for more info on the motivations behind this. This is the best approach that I came up with with my limited knowledge of JSON schema. It has some limitations that are mentioned in patch 1. I don't know of any better ways to model this. Suggestion [...] Content analysis details: (-2.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [198.47.23.249 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender 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 Hi, This series adds bindings for slave-specific SPI controller properties. See patch 1 for more info on the motivations behind this. This is the best approach that I came up with with my limited knowledge of JSON schema. It has some limitations that are mentioned in patch 1. I don't know of any better ways to model this. Suggestions are welcome! Changes in v2: - Move other subnode properties listed in spi-controller.yaml to spi-slave-props.yaml - Move the Cadence controller-specific properties out of spi-slave-props.yaml. They will be added in a separate file. - Add a reference to spi-slave-props.yaml in spi-controller.yaml. - Update description. Pratyush Yadav (3): spi: dt-bindings: add schema listing slave-specific properties spi: dt-bindings: cdns,qspi-nor: Move slave-specific properties out dt-bindings: mtd: spi-nor: Add a reference to spi-slave-props.yaml .../bindings/mtd/jedec,spi-nor.yaml | 3 +- .../spi/cdns,qspi-nor-slave-props.yaml | 42 +++++++++ .../bindings/spi/cdns,qspi-nor.yaml | 33 ------- .../bindings/spi/spi-controller.yaml | 69 +------------- .../bindings/spi/spi-slave-props.yaml | 93 +++++++++++++++++++ 5 files changed, 139 insertions(+), 101 deletions(-) create mode 100644 Documentation/devicetree/bindings/spi/cdns,qspi-nor-slave-props.yaml create mode 100644 Documentation/devicetree/bindings/spi/spi-slave-props.yaml