From: Kefeng Wang <wangkefeng.wang@huawei.com>
To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Rob Herring <robh+dt@kernel.org>,
xuwei5@hisilicon.com
Cc: Mark Rutland <mark.rutland@arm.com>,
linux-crypto@vger.kernel.org,
Herbert Xu <herbert@gondor.apana.org.au>,
guohanjun@huawei.com, Kefeng Wang <wangkefeng.wang@huawei.com>
Subject: [PATCH v4 1/2] dt/bindings: Add bindings for hisilicon random number generator
Date: Wed, 13 Apr 2016 18:11:27 +0800 [thread overview]
Message-ID: <1460542288-25941-2-git-send-email-wangkefeng.wang@huawei.com> (raw)
In-Reply-To: <1460542288-25941-1-git-send-email-wangkefeng.wang@huawei.com>
Document the devicetree bindings for the random number generator found
on Hisilicon Hip04 and Hip05 soc.
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
Documentation/devicetree/bindings/rng/hisi-rng.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/hisi-rng.txt
diff --git a/Documentation/devicetree/bindings/rng/hisi-rng.txt b/Documentation/devicetree/bindings/rng/hisi-rng.txt
new file mode 100644
index 0000000..d04d55a
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/hisi-rng.txt
@@ -0,0 +1,12 @@
+Hisilicon Random Number Generator
+
+Required properties:
+- compatible : Should be "hisilicon,hip04-rng" or "hisilicon,hip05-rng"
+- reg : Offset and length of the register set of this block
+
+Example:
+
+rng@d1010000 {
+ compatible = "hisilicon,hip05-rng";
+ reg = <0xd1010000 0x100>;
+};
--
1.7.12.4
next prev parent reply other threads:[~2016-04-13 10:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-13 10:11 [PATCH v4 0/2] Add Hisilicon Random Number Generator(RNG) support Kefeng Wang
2016-04-13 10:11 ` Kefeng Wang [this message]
[not found] ` <1460542288-25941-2-git-send-email-wangkefeng.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2016-04-14 16:13 ` [PATCH v4 1/2] dt/bindings: Add bindings for hisilicon random number generator Rob Herring
2016-04-13 10:11 ` [PATCH v4 2/2] hwrng: hisi: Add support for Hisilicon SoC RNG Kefeng Wang
[not found] ` <1460542288-25941-1-git-send-email-wangkefeng.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2016-04-15 14:36 ` [PATCH v4 0/2] Add Hisilicon Random Number Generator(RNG) support Herbert Xu
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=1460542288-25941-2-git-send-email-wangkefeng.wang@huawei.com \
--to=wangkefeng.wang@huawei.com \
--cc=devicetree@vger.kernel.org \
--cc=guohanjun@huawei.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=xuwei5@hisilicon.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;
as well as URLs for NNTP newsgroup(s).