All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalyani Akula <kalyani.akula@xilinx.com>
To: herbert@gondor.apana.org.au, davem@davemloft.net,
	monstr@seznam.cz, linux-crypto@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>,
	devicetree@vger.kernel.org, git-dev <git-dev@xilinx.com>,
	Mohan Marutirao Dhanawade <mohand@xilinx.com>,
	Sarat Chand Savitala <saratcha@xilinx.com>,
	Harsh Jain <harshj@xilinx.com>,
	Michal Simek <michal.simek@xilinx.com>,
	Kalyani Akula <kalyania@xilinx.com>,
	Kalyani Akula <kalyani.akula@xilinx.com>
Subject: [PATCH V5 2/4] dt-bindings: crypto: Add bindings for ZynqMP AES-GCM driver
Date: Thu, 23 Jan 2020 16:41:15 +0530	[thread overview]
Message-ID: <1579777877-10553-3-git-send-email-kalyani.akula@xilinx.com> (raw)
In-Reply-To: <1579777877-10553-1-git-send-email-kalyani.akula@xilinx.com>

Add documentation to describe Xilinx ZynqMP AES-GCM driver bindings.

Signed-off-by: Kalyani Akula <kalyani.akula@xilinx.com>
---

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..b2bca4b
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: GPL-2.0
+%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@xilinx.com>
+  - Michal Simek <michal.simek@xilinx.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


  parent reply	other threads:[~2020-01-23 11:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-23 11:11 [PATCH V5 0/4] Add Xilinx's ZynqMP AES-GCM driver support Kalyani Akula
2020-01-23 11:11 ` [PATCH V5 1/4] firmware: xilinx: Add ZynqMP aes API for AES functionality Kalyani Akula
2020-01-23 12:06   ` Michal Simek
2020-01-23 11:11 ` Kalyani Akula [this message]
2020-01-23 12:07   ` [PATCH V5 2/4] dt-bindings: crypto: Add bindings for ZynqMP AES-GCM driver Michal Simek
2020-01-27 15:50   ` Rob Herring
2020-01-23 11:11 ` [PATCH V5 3/4] crypto: Add Xilinx AES driver Kalyani Akula
2020-01-23 12:10   ` Michal Simek
2020-01-23 11:11 ` [PATCH V5 4/4] arm64: zynqmp: Add Xilinx AES node Kalyani Akula
2020-01-23 12:08   ` Michal Simek

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=1579777877-10553-3-git-send-email-kalyani.akula@xilinx.com \
    --to=kalyani.akula@xilinx.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=git-dev@xilinx.com \
    --cc=harshj@xilinx.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=kalyania@xilinx.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=mohand@xilinx.com \
    --cc=monstr@seznam.cz \
    --cc=robh+dt@kernel.org \
    --cc=saratcha@xilinx.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.