lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250312095421.1839220-2-nipun.gupta@amd.com>
Date: Wed, 12 Mar 2025 15:24:21 +0530
From: Nipun Gupta <nipun.gupta@....com>
To: <linux-kernel@...r.kernel.org>, <robh@...nel.org>, <krzk+dt@...nel.org>,
	<conor+dt@...nel.org>, <derek.kiernan@....com>, <dragan.cvetic@....com>,
	<arnd@...db.de>, <gregkh@...uxfoundation.org>
CC: <praveen.jain@....com>, <harpreet.anand@....com>,
	<nikhil.agarwal@....com>, <srivatsa@...il.mit.edu>, <code@...icks.com>,
	<ptsm@...ux.microsoft.com>, Nipun Gupta <nipun.gupta@....com>
Subject: [RFC PATCH 2/2] dt-bindings: add device tree binding for silex multipk

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

Signed-off-by: Nipun Gupta <nipun.gupta@....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@....com>
+  - Praveen Jain <praveen.jain@....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@...00000000 {
+      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@....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@...abs.com>
--
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ