Thread (6 messages) 6 messages, 2 authors, 2021-10-27
STALE1702d
Revisions (3)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]

[PATCH 1/2] dt-bindings: crypto: Add Mediatek EIP-93 crypto engine

From: Richard van Schagen <hidden>
Date: 2021-10-25 09:54:24

Add bindings for the Mediatek EIP-93 crypto engine.

Signed-off-by: Richard van Schagen <redacted>
---
 .../bindings/crypto/mediatek, mtk-eip93.yaml  | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/crypto/mediatek, mtk-eip93.yaml
diff --git a/Documentation/devicetree/bindings/crypto/mediatek, mtk-eip93.yaml b/Documentation/devicetree/bindings/crypto/mediatek, mtk-eip93.yaml
new file mode 100644
index 0000000000..6116599404
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/mediatek, mtk-eip93.yaml	
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/crypto/mediatek,mtk-eip93.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mediatek EIP93 crypto engine
+
+maintainers:
+  - Richard van Schagen <vschagen@icloud.com>
+
+properties:
+  compatible:
+    enum:
+      - mediatek, mtk-eip93
+
+  reg:
+    maxItems: 1
+
+  interrupts-parent:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - interrupt-parent
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    crypto: crypto@1e004000 {
+         compatible = "mediatek,mtk-eip93";
+         reg = <0x1e004000 0x1000>;
+         interrupt-parent = <&gic>;
+         interrupts = <GIC_SHARED 19 IRQ_TYPE_LEVEL_HIGH>;
+    };
-- 
2.30.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help