The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Nipun Gupta <nipun.gupta@amd.com>
To: <linux-kernel@vger.kernel.org>, <robh@kernel.org>,
	<krzk+dt@kernel.org>, <conor+dt@kernel.org>,
	<derek.kiernan@amd.com>, <dragan.cvetic@amd.com>, <arnd@arndb.de>,
	<gregkh@linuxfoundation.org>
Cc: <praveen.jain@amd.com>, <harpreet.anand@amd.com>,
	<nikhil.agarwal@amd.com>, <srivatsa@csail.mit.edu>,
	<code@tyhicks.com>, <ptsm@linux.microsoft.com>,
	Nipun Gupta <nipun.gupta@amd.com>
Subject: [RFC PATCH 2/2] dt-bindings: add device tree binding for silex multipk
Date: Wed, 12 Mar 2025 15:24:21 +0530	[thread overview]
Message-ID: <20250312095421.1839220-2-nipun.gupta@amd.com> (raw)
In-Reply-To: <20250312095421.1839220-1-nipun.gupta@amd.com>

Add binding documentation for Silex multipk device node with compatible
string as 'silex,mutlipk'.

Signed-off-by: Nipun Gupta <nipun.gupta@amd.com>
---
 .../bindings/misc/silex,multipk.yaml          | 50 +++++++++++++++++++
 MAINTAINERS                                   |  1 +
 2 files changed, 51 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/misc/silex,multipk.yaml

diff --git a/Documentation/devicetree/bindings/misc/silex,multipk.yaml b/Documentation/devicetree/bindings/misc/silex,multipk.yaml
new file mode 100644
index 000000000000..6951886734ca
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/silex,multipk.yaml
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/misc/silex,multipk.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Silex MultiPK driver
+
+maintainers:
+  - Nipun Gupta <nipun.gupta@amd.com>
+  - Praveen Jain <praveen.jain@amd.com>
+
+description: |
+  Silex Multipk device handles the Asymmetric crypto operations. The
+  driver provides interface to user-space to directly interact with the
+  Silex MultiPK device.
+
+properties:
+  compatible:
+    const: silex,mutlipk
+
+  interrupts:
+    maxItems: 1
+
+  reg:
+    items:
+      - description: PKI Queues memory region
+      - description: PKI TRNG memory region
+      - description: PKI reset memory region
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - iommus
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+
+    multipk@20400000000 {
+      compatible = "silex,multipk";
+      interrupts = <0x00000000 0x0000009b IRQ_TYPE_LEVEL_HIGH>;
+      reg = <0x00000204 0x00000000 0x00000000 0x00010000>,
+            <0x00000204 0x00020000 0x00000000 0x00000050>,
+            <0x00000000 0xEC200340 0x00000000 0x00000004>;
+      iommus = <&smmu 0x25B>;
+    };
diff --git a/MAINTAINERS b/MAINTAINERS
index 04d82d0a7d55..478366f79433 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -21696,6 +21696,7 @@ M:	Praveen Jain <praveen.jain@amd.com>
 S:	Maintained
 F:	drivers/misc/silex_mpk*
 F:	include/uapi/misc/silex_mpk.h
+F:	Documentation/devicetree/bindings/misc/silex,multipk.yaml

 SILICON LABS WIRELESS DRIVERS (for WFxxx series)
 M:	Jérôme Pouiller <jerome.pouiller@silabs.com>
--
2.34.1


  reply	other threads:[~2025-03-12  9:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-12  9:54 [RFC PATCH 1/2] drivers/misc: add silex multipk driver Nipun Gupta
2025-03-12  9:54 ` Nipun Gupta [this message]
2025-03-12 10:51   ` [RFC PATCH 2/2] dt-bindings: add device tree binding for silex multipk Krzysztof Kozlowski
2025-03-13  9:25     ` Gupta, Nipun
2025-03-13  9:38       ` Krzysztof Kozlowski
2025-03-13  9:43       ` Greg KH
2025-03-12 10:15 ` [RFC PATCH 1/2] drivers/misc: add silex multipk driver Greg KH
2025-03-12 10:18 ` Greg KH
2025-03-13  9:16   ` Gupta, Nipun
2025-03-13  9:41     ` Greg KH
2025-03-12 10:54 ` Krzysztof Kozlowski
2025-03-13  9:37   ` Gupta, Nipun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250312095421.1839220-2-nipun.gupta@amd.com \
    --to=nipun.gupta@amd.com \
    --cc=arnd@arndb.de \
    --cc=code@tyhicks.com \
    --cc=conor+dt@kernel.org \
    --cc=derek.kiernan@amd.com \
    --cc=dragan.cvetic@amd.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=harpreet.anand@amd.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nikhil.agarwal@amd.com \
    --cc=praveen.jain@amd.com \
    --cc=ptsm@linux.microsoft.com \
    --cc=robh@kernel.org \
    --cc=srivatsa@csail.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox