[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1581935204-25673-3-git-send-email-kalyani.akula@xilinx.com>
Date: Mon, 17 Feb 2020 15:56:42 +0530
From: Kalyani Akula <kalyani.akula@...inx.com>
To: herbert@...dor.apana.org.au, davem@...emloft.net, monstr@...nam.cz,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Kalyani Akula <kalyania@...inx.com>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
git-dev@...inx.com,
Mohan Marutirao Dhanawade <mohan.dhanawade@...inx.com>,
Sarat Chand Savitala <saratcha@...inx.com>,
Harsh Jain <harshj@...inx.com>,
Michal Simek <michals@...inx.com>,
Kalyani Akula <kalyani.akula@...inx.com>
Subject: [PATCH V7 2/4] dt-bindings: crypto: Add bindings for ZynqMP AES-GCM driver
Add documentation to describe Xilinx ZynqMP AES-GCM driver bindings.
Signed-off-by: Kalyani Akula <kalyani.akula@...inx.com>
Reviewed-by: Rob Herring <robh@...nel.org>
Acked-by: Michal Simek <michal.simek@...inx.com>
---
V6 Changes:
- Updated SPDX-License-Identifier.
V5 Changes:
- Moved dt-bindings patch from 1/4 to 2/4
- Converted dt-bindings from .txt to .yaml format.
.../bindings/crypto/xlnx,zynqmp-aes.yaml | 37 ++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml
diff --git a/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml b/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml
new file mode 100644
index 0000000..55dd6e3
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/crypto/xlnx,zynqmp-aes.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Xilinx ZynqMP AES-GCM Hardware Accelerator Device Tree Bindings
+
+maintainers:
+ - Kalyani Akula <kalyani.akula@...inx.com>
+ - Michal Simek <michal.simek@...inx.com>
+
+description: |
+ The ZynqMP AES-GCM hardened cryptographic accelerator is used to
+ encrypt or decrypt the data with provided key and initialization vector.
+
+properties:
+ compatible:
+ const: xlnx,zynqmp-aes
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ firmware {
+ zynqmp_firmware: zynqmp-firmware {
+ compatible = "xlnx,zynqmp-firmware";
+ method = "smc";
+ xlnx_aes: zynqmp-aes {
+ compatible = "xlnx,zynqmp-aes";
+ };
+ };
+ };
+...
--
1.9.5
Powered by blists - more mailing lists