Devicetree
 help / color / mirror / Atom feed
From: Gilad Ben-Yossef <gilad@benyossef.com>
To: Herbert Xu <herbert@gondor.apana.org.au>,
	"David S. Miller" <davem@davemloft.net>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	devel@driverdev.osuosl.org
Cc: linux-crypto@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, gilad.benyossef@arm.com,
	Binoy Jayan <binoy.jayan@linaro.org>,
	Ofir Drang <ofir.drang@arm.com>,
	Stuart Yoder <stuart.yoder@arm.com>,
	Stephan Muller <smueller@chronox.de>
Subject: [PATCH v3 08/15] staging: ccree: add DT bindings for Arm CryptoCell
Date: Sun, 23 Apr 2017 12:26:16 +0300	[thread overview]
Message-ID: <1492939583-25688-9-git-send-email-gilad@benyossef.com> (raw)
In-Reply-To: <1492939583-25688-1-git-send-email-gilad@benyossef.com>

This adds DT bindings for the Arm TrustZone CryptoCell cryptographic
accelerator IP.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
---
 .../devicetree/bindings/crypto/arm-cryptocell.txt  | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 drivers/staging/ccree/Documentation/devicetree/bindings/crypto/arm-cryptocell.txt

diff --git a/drivers/staging/ccree/Documentation/devicetree/bindings/crypto/arm-cryptocell.txt b/drivers/staging/ccree/Documentation/devicetree/bindings/crypto/arm-cryptocell.txt
new file mode 100644
index 0000000..2ea6517
--- /dev/null
+++ b/drivers/staging/ccree/Documentation/devicetree/bindings/crypto/arm-cryptocell.txt
@@ -0,0 +1,27 @@
+Arm TrustZone CryptoCell cryptographic accelerators
+
+Required properties:
+- compatible: must be "arm,cryptocell-712-ree".
+- reg: shall contain base register location and length.
+	Typically length is 0x10000.
+- interrupts: shall contain the interrupt for the device.
+
+Optional properties:
+- interrupt-parent: can designate the interrupt controller the
+	device interrupt is connected to, if needed.
+- clocks: may contain the clock handling the device, if needed.
+- power-domains: may contain a reference to the PM domain, if applicable.
+
+
+Examples:
+
+Zynq FPGA device
+----------------
+
+       arm_cc7x: arm_cc7x@80000000 {
+               compatible = "arm,cryptocell-712-ree";
+               interrupt-parent = <&intc>;
+               interrupts = < 0 30 4 >;
+               reg = < 0x80000000 0x10000 >;
+       };
+
-- 
2.1.4

  parent reply	other threads:[~2017-04-23  9:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-23  9:26 [PATCH v3 00/15] staging: ccree: add Arm TrustZone CryptoCell REE driver Gilad Ben-Yossef
2017-04-23  9:26 ` [PATCH v3 01/15] staging: ccree: introduce CryptoCell HW driver Gilad Ben-Yossef
2017-04-23  9:26 ` [PATCH v3 02/15] staging: ccree: add ahash support Gilad Ben-Yossef
2017-04-23  9:26 ` [PATCH v3 03/15] staging: ccree: add skcipher support Gilad Ben-Yossef
2017-04-23  9:26 ` [PATCH v3 05/15] staging: ccree: add AEAD support Gilad Ben-Yossef
     [not found] ` <1492939583-25688-1-git-send-email-gilad-6S/DczAoZh3WXxRugSxzZg@public.gmane.org>
2017-04-23  9:26   ` [PATCH v3 04/15] staging: ccree: add IV generation support Gilad Ben-Yossef
2017-04-23  9:26   ` [PATCH v3 06/15] staging: ccree: add FIPS support Gilad Ben-Yossef
2017-04-23  9:26   ` [PATCH v3 10/15] staging: ccree: remove useless NULL test of field Gilad Ben-Yossef
2017-04-23  9:26   ` [PATCH v3 11/15] staging: ccree: fix platform_no_drv_owner.cocci warnings Gilad Ben-Yossef
2017-04-23  9:26   ` [PATCH v3 12/15] staging: ccree: fix semicolon.cocci warnings Gilad Ben-Yossef
2017-04-23  9:26   ` [PATCH v3 14/15] staging: ccree: fix ifnullfree.cocci warnings Gilad Ben-Yossef
2017-04-23  9:26   ` [PATCH v3 15/15] " Gilad Ben-Yossef
2017-04-23  9:26 ` [PATCH v3 07/15] staging: ccree: add TODO list Gilad Ben-Yossef
2017-04-23  9:26 ` Gilad Ben-Yossef [this message]
2017-04-23  9:26 ` [PATCH v3 09/15] MAINTAINERS: add Gilad BY as ccree maintainer Gilad Ben-Yossef
2017-04-23  9:26 ` [PATCH v3 13/15] staging: ccree: fix array_size.cocci warnings Gilad Ben-Yossef

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=1492939583-25688-9-git-send-email-gilad@benyossef.com \
    --to=gilad@benyossef.com \
    --cc=binoy.jayan@linaro.org \
    --cc=davem@davemloft.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gilad.benyossef@arm.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=ofir.drang@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=smueller@chronox.de \
    --cc=stuart.yoder@arm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox