{"id":1839921,"url":"http://patchwork.ozlabs.org/api/patches/1839921/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/ae40859b82494d75e9ad7bf616b3264138ad1f6a.1695754856.git.lukas@wunner.de/","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":"<ae40859b82494d75e9ad7bf616b3264138ad1f6a.1695754856.git.lukas@wunner.de>","list_archive_url":null,"date":"2023-09-26T19:09:35","name":"[1/2] dt-bindings: reset: Add Infineon SLB9670 TPM reset driver","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":true,"hash":"c0d4aab444c207a71259b0b588bcba8c56fb6b31","submitter":{"id":68499,"url":"http://patchwork.ozlabs.org/api/people/68499/?format=json","name":"Lukas Wunner","email":"lukas@wunner.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/ae40859b82494d75e9ad7bf616b3264138ad1f6a.1695754856.git.lukas@wunner.de/mbox/","series":[{"id":374993,"url":"http://patchwork.ozlabs.org/api/series/374993/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=374993","date":"2023-09-26T19:09:35","name":"[1/2] dt-bindings: reset: Add Infineon SLB9670 TPM reset driver","version":1,"mbox":"http://patchwork.ozlabs.org/series/374993/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/1839921/comments/","check":"fail","checks":"http://patchwork.ozlabs.org/api/patches/1839921/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <devicetree+bounces-3549-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=147.75.199.223;\n helo=ny.mirrors.kernel.org;\n envelope-from=devicetree+bounces-3549-incoming-dt=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","Received":["from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4Rw8c25QTZz1ynX\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n Wed, 27 Sep 2023 05:16:18 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby ny.mirrors.kernel.org (Postfix) with ESMTP id C997D1C20341\n\tfor <incoming-dt@patchwork.ozlabs.org>; Tue, 26 Sep 2023 19:16:16 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 85BF03FB32;\n\tTue, 26 Sep 2023 19:16:14 +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 B21E335886\n\tfor <devicetree@vger.kernel.org>; Tue, 26 Sep 2023 19:16:11 +0000 (UTC)","from bmailout3.hostsharing.net (bmailout3.hostsharing.net\n [176.9.242.62])\n\tby lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D38292;\n\tTue, 26 Sep 2023 12:16:09 -0700 (PDT)","from h08.hostsharing.net (h08.hostsharing.net\n [IPv6:2a01:37:1000::53df:5f1c:0])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256\n\t client-signature RSA-PSS (4096 bits) client-digest SHA256)\n\t(Client CN \"*.hostsharing.net\",\n Issuer \"RapidSSL Global TLS RSA4096 SHA256 2022 CA1\" (verified OK))\n\tby bmailout3.hostsharing.net (Postfix) with ESMTPS id A9B0D100DA1AC;\n\tTue, 26 Sep 2023 21:09:37 +0200 (CEST)","by h08.hostsharing.net (Postfix, from userid 100393)\n\tid 7AC89173A43; Tue, 26 Sep 2023 21:09:37 +0200 (CEST)"],"X-Greylist":"delayed 387 seconds by postgrey-1.37 at lindbergh.monkeyblade.net;\n Tue, 26 Sep 2023 12:16:09 PDT","Message-Id":"\n <ae40859b82494d75e9ad7bf616b3264138ad1f6a.1695754856.git.lukas@wunner.de>","From":"Lukas Wunner <lukas@wunner.de>","Date":"Tue, 26 Sep 2023 21:09:35 +0200","Subject":"[PATCH 1/2] dt-bindings: reset: Add Infineon SLB9670 TPM reset driver","To":"Philipp Zabel <p.zabel@pengutronix.de>, Rob Herring <robh+dt@kernel.org>,\n Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n Conor Dooley <conor+dt@kernel.org>","Cc":"Lino Sanfilippo <l.sanfilippo@kunbus.com>,\n linux-integrity@vger.kernel.org, devicetree@vger.kernel.org","X-Spam-Status":"No, score=-1.9 required=5.0 tests=BAYES_00,\n\tRCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n\tautolearn_force=no version=3.4.6","X-Spam-Checker-Version":"SpamAssassin 3.4.6 (2021-04-09) on\n\tlindbergh.monkeyblade.net","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>"},"content":"A new reset driver is about to be added to perform the reset sequence of\nthe Infineon SLB9670 Trusted Platform Module.\n\nDocument its device tree bindings.\n\nSigned-off-by: Lukas Wunner <lukas@wunner.de>\n---\n .../bindings/reset/infineon,slb9670-reset.yaml     | 68 ++++++++++++++++++++++\n 1 file changed, 68 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/reset/infineon,slb9670-reset.yaml","diff":"diff --git a/Documentation/devicetree/bindings/reset/infineon,slb9670-reset.yaml b/Documentation/devicetree/bindings/reset/infineon,slb9670-reset.yaml\nnew file mode 100644\nindex 00000000..b1e23d47\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/reset/infineon,slb9670-reset.yaml\n@@ -0,0 +1,68 @@\n+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/reset/infineon,slb9670-reset.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: Infineon SLB9670 TPM Reset Driver\n+\n+maintainers:\n+  - Lukas Wunner <lukas@wunner.de>\n+\n+description: |\n+  The Infineon SLB9670 Trusted Platform Module requires a specific reset\n+  sequence on its RST# pin which is documented in sections 5.4 and 5.5 of\n+  the datasheet [1]. This driver performs the reset sequence using a GPIO.\n+\n+  The sequence with minimum wait intervals is as follows:\n+  deassert RST#\n+  wait at least 60 ms\n+  assert RST#\n+  wait at least 2 usecs\n+  deassert RST#\n+  wait at least 60 ms\n+  assert RST#\n+  wait at least 2 usecs\n+  deassert RST#\n+  wait at least 60 ms before issuing the first TPM command\n+\n+  [1] https://www.infineon.com/dgdl/Infineon-SLB%209670VQ2.0-DataSheet-v01_04-EN.pdf?fileId=5546d4626fc1ce0b016fc78270350cd6\n+\n+properties:\n+  compatible:\n+    enum:\n+      - infineon,slb9670-reset\n+\n+  reset-gpios:\n+    maxItems: 1\n+    description: Reference to the GPIO connected to the RST# pin.\n+\n+  \"#reset-cells\":\n+    const: 0\n+\n+required:\n+  - compatible\n+  - reset-gpios\n+  - \"#reset-cells\"\n+\n+additionalProperties: false\n+\n+examples:\n+  - |\n+    #include <dt-bindings/gpio/gpio.h>\n+    tpm_reset: reset-controller {\n+        compatible = \"infineon,slb9670-reset\";\n+        #reset-cells = <0>;\n+        reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;\n+    };\n+\n+    spi {\n+        #address-cells = <1>;\n+        #size-cells = <0>;\n+\n+        tpm@0 {\n+            compatible = \"infineon,slb9670\";\n+            reg = <0>;\n+            resets = <&tpm_reset>;\n+        };\n+    };\n","prefixes":["1/2"]}