{"id":1839966,"url":"http://patchwork.ozlabs.org/api/patches/1839966/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230926210818.197356-2-fabrizio.castro.jz@renesas.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20230926210818.197356-2-fabrizio.castro.jz@renesas.com>","list_archive_url":null,"date":"2023-09-26T21:08:17","name":"[1/2] spi: renesas,rzv2m-csi: Add SPI Slave related properties","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":true,"hash":"6d2267d581b45a228e1487741e0a15b295c7ce89","submitter":{"id":80106,"url":"http://patchwork.ozlabs.org/api/people/80106/?format=json","name":"Fabrizio Castro","email":"fabrizio.castro.jz@renesas.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230926210818.197356-2-fabrizio.castro.jz@renesas.com/mbox/","series":[{"id":375014,"url":"http://patchwork.ozlabs.org/api/series/375014/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=375014","date":"2023-09-26T21:08:16","name":"Add RZ/V2M CSI slave support","version":1,"mbox":"http://patchwork.ozlabs.org/series/375014/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/1839966/comments/","check":"warning","checks":"http://patchwork.ozlabs.org/api/patches/1839966/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <devicetree+bounces-3595-incoming-dt=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming-dt@patchwork.ozlabs.org","devicetree@vger.kernel.org"],"Delivered-To":"patchwork-incoming-dt@legolas.ozlabs.org","Authentication-Results":"legolas.ozlabs.org;\n spf=permerror (SPF Permanent Error: More than 10 MX records returned)\n smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1;\n helo=sv.mirrors.kernel.org;\n envelope-from=devicetree+bounces-3595-incoming-dt=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","Received":["from sv.mirrors.kernel.org (sv.mirrors.kernel.org\n [IPv6:2604:1380:45e3:2400::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4RwFW20HBbz1yqW\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n Wed, 27 Sep 2023 08:57:17 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sv.mirrors.kernel.org (Postfix) with ESMTP id E42AD281BCD\n\tfor <incoming-dt@patchwork.ozlabs.org>; Tue, 26 Sep 2023 22:57:14 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 046F04B23A;\n\tTue, 26 Sep 2023 22:57:13 +0000 (UTC)","from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net\n [23.128.96.19])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C5F53AC0B\n\tfor <devicetree@vger.kernel.org>; Tue, 26 Sep 2023 22:57:10 +0000 (UTC)","from relmlie5.idc.renesas.com (relmlor1.renesas.com\n [210.160.252.171])\n\tby lindbergh.monkeyblade.net (Postfix) with ESMTP id 88B1E76AE;\n\tTue, 26 Sep 2023 15:57:08 -0700 (PDT)","from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152])\n  by relmlie5.idc.renesas.com with ESMTP; 27 Sep 2023 06:08:31 +0900","from mulinux.home (unknown [10.226.92.200])\n\tby relmlir6.idc.renesas.com (Postfix) with ESMTP id DFF8E40B91B6;\n\tWed, 27 Sep 2023 06:08:26 +0900 (JST)"],"X-IronPort-AV":"E=Sophos;i=\"6.03,178,1694703600\";\n   d=\"scan'208\";a=\"177325632\"","From":"Fabrizio Castro <fabrizio.castro.jz@renesas.com>","To":"Mark Brown <broonie@kernel.org>,\n\tRob Herring <robh+dt@kernel.org>,\n\tKrzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n\tConor Dooley <conor+dt@kernel.org>,\n\tGeert Uytterhoeven <geert+renesas@glider.be>","Cc":"Fabrizio Castro <fabrizio.castro.jz@renesas.com>,\n\tMagnus Damm <magnus.damm@gmail.com>,\n\tlinux-spi@vger.kernel.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-renesas-soc@vger.kernel.org,\n\tChris Paterson <Chris.Paterson2@renesas.com>,\n\tBiju Das <biju.das@bp.renesas.com>,\n\tLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>","Subject":"[PATCH 1/2] spi: renesas,rzv2m-csi: Add SPI Slave related properties","Date":"Tue, 26 Sep 2023 22:08:17 +0100","Message-Id":"<20230926210818.197356-2-fabrizio.castro.jz@renesas.com>","X-Mailer":"git-send-email 2.34.1","In-Reply-To":"<20230926210818.197356-1-fabrizio.castro.jz@renesas.com>","References":"<20230926210818.197356-1-fabrizio.castro.jz@renesas.com>","Precedence":"bulk","X-Mailing-List":"devicetree@vger.kernel.org","List-Id":"<devicetree.vger.kernel.org>","List-Subscribe":"<mailto:devicetree+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:devicetree+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Spam-Status":"No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE,\n\tSPF_PASS autolearn=ham autolearn_force=no version=3.4.6","X-Spam-Checker-Version":"SpamAssassin 3.4.6 (2021-04-09) on\n\tlindbergh.monkeyblade.net"},"content":"The CSI IP found inside the Renesas RZ/V2M SoC can also work\nin SPI slave mode.\nWhen working in slave mode, the IP can make use of the SS\n(Slave Select) pin, with \"low\" as default active level.\nThe active level of SS can be changed to \"high\" upon configuration.\nThis patch adds two new properties, one to make use of the\nSS pin when in slave mode, and one to make the SS pin active high.\n\nSigned-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>\n---\n .../bindings/spi/renesas,rzv2m-csi.yaml           | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)","diff":"diff --git a/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml b/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml\nindex e59183e53690..c3d8ad6525bb 100644\n--- a/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml\n+++ b/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml\n@@ -39,6 +39,17 @@ properties:\n   power-domains:\n     maxItems: 1\n \n+  renesas,csi-ss:\n+    type: boolean\n+    description:\n+      Use CSI Slave Selection (SS) pin to enable transmission and reception when\n+      in slave mode.\n+\n+  renesas,csi-ss-high:\n+    type: boolean\n+    description:\n+      The SS pin is active high (by default the SS pin is active low).\n+\n required:\n   - compatible\n   - reg\n@@ -50,6 +61,10 @@ required:\n   - '#address-cells'\n   - '#size-cells'\n \n+dependencies:\n+  renesas,csi-ss: [ spi-slave ]\n+  renesas,csi-ss-high: [ 'renesas,csi-ss' ]\n+\n unevaluatedProperties: false\n \n examples:\n","prefixes":["1/2"]}