From: Kefeng Wang Subject: [PATCH v4 1/2] dt/bindings: Add bindings for hisilicon random number generator Date: Wed, 13 Apr 2016 18:11:27 +0800 Message-ID: <1460542288-25941-2-git-send-email-wangkefeng.wang@huawei.com> References: <1460542288-25941-1-git-send-email-wangkefeng.wang@huawei.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Mark Rutland , , Herbert Xu , , Kefeng Wang To: , , "Rob Herring" , Return-path: Received: from szxga03-in.huawei.com ([119.145.14.66]:45375 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030803AbcDMKFd (ORCPT ); Wed, 13 Apr 2016 06:05:33 -0400 In-Reply-To: <1460542288-25941-1-git-send-email-wangkefeng.wang@huawei.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: Document the devicetree bindings for the random number generator found on Hisilicon Hip04 and Hip05 soc. Signed-off-by: Kefeng Wang --- 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