From patchwork Mon Sep 18 14:02:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PrasannaKumar Muralidharan X-Patchwork-Id: 9956807 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B3C5760385 for ; Mon, 18 Sep 2017 14:04:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A51D1288E2 for ; Mon, 18 Sep 2017 14:04:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 99D4828A34; Mon, 18 Sep 2017 14:04:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 554D2288E2 for ; Mon, 18 Sep 2017 14:04:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752713AbdIROEE (ORCPT ); Mon, 18 Sep 2017 10:04:04 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33486 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752473AbdIROED (ORCPT ); Mon, 18 Sep 2017 10:04:03 -0400 Received: by mail-pf0-f194.google.com with SMTP id h4so233078pfk.0 for ; Mon, 18 Sep 2017 07:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=U1roZZ3gUZQbugUUHryRJR7hTG4X23hmF2f/hY25pjs=; b=hzldUYonBjjx+zT9Teu/TzP5rrd1fiVM1c1Nx8En6n93KvsFxZJYkUIUVIoU6pbQQR WkFmUCoV4nJRqw7Tqj4//UbhLXFfJbIAMv2gEeKcy6lfzVeUvhdx58C65yG5hFI+ofrK J+4pgVZE1Un0Aro1KgkDbxvdMcHOkXrcUz3Yr5w+ca+P/g2wo+q75VFEa7s712y4b91o GBj1zinbx8Mjhs/AqwGXv5byYXT2SDbW+Vf4dREpotPo6oAMgbShR1vTf2SIcZ4ErpPK hZe1jCj73Jw2FtsMO7oG97QUEwwXZdtSx/hnHakOIuB5xZL7wACYzFk7QateUUqmopU8 FOXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=U1roZZ3gUZQbugUUHryRJR7hTG4X23hmF2f/hY25pjs=; b=QzexTGa5bhvqxusGW09PgYeroluMeCVxAV5OLgUlqRtJE1vcSmJW/UrCuqs9h9XJ7U 2a5ef8NaZuy2d5iDTm4VH2WrHfb4LdJYR5ikgEXBakhryQri0t0gIh/F2Tfh6FrYqjEt Kas4wDXdtBNqGCjbr4Z0fLk3Of+AXsfSd1AZ8x2qL2+wJFjN03tGXe/8rWrOkfd24twi waQ8FiA1/HzyytTMzQiWiUOp2OzBKYwY1c3GTo+3U6nJqyfqohH+keqQ3umRLH+SJZR3 ERdHHHhPb5z20qChZzh1DzTETWorY0i/vlkKO5YGaB3cOPtyHaeutoXNZknA/1TCq47i ISBw== X-Gm-Message-State: AHPjjUj9m3ffggrr9FdZYqyYnwMmmJSbWX43oEOaRdWvnSfCDVGSEe29 cY91aMAtNZy1NQ== X-Google-Smtp-Source: ADKCNb5Yx059HGx/t5vfXCCOfxnRqKunpGQiNA1268XMoPx63kBIP6/RleKI40WeMPbPr8KnByS9kQ== X-Received: by 10.99.1.10 with SMTP id 10mr31775428pgb.377.1505743443284; Mon, 18 Sep 2017 07:04:03 -0700 (PDT) Received: from linux.local ([43.224.131.38]) by smtp.gmail.com with ESMTPSA id q77sm14683252pfa.173.2017.09.18.07.03.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Sep 2017 07:04:02 -0700 (PDT) From: PrasannaKumar Muralidharan To: herbert@gondor.apana.org.au, robh+dt@kernel.org, ralf@linux-mips.org, davem@davemloft.net, paul@crapouillou.net, linux-crypto@vger.kernel.org, linux-mips@linux-mips.org, malat@debian.org, noloader@gmail.com Cc: PrasannaKumar Muralidharan Subject: [PATCH v3 1/4] crypto: jz4780-rng: Add JZ4780 PRNG devicetree binding documentation Date: Mon, 18 Sep 2017 19:32:38 +0530 Message-Id: <20170918140241.24003-2-prasannatsmkumar@gmail.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20170918140241.24003-1-prasannatsmkumar@gmail.com> References: <20170918140241.24003-1-prasannatsmkumar@gmail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add devicetree bindings for hardware pseudo random number generator present in Ingenic JZ4780 SoC. Signed-off-by: PrasannaKumar Muralidharan --- Changes in v3: * Create a cgublock node with "simple-bus" compatible * Make CGU and RNG node as children of cgublock node. Changes in v2: * Add "syscon" in CGU node's compatible section * Make RNG child node of CGU. .../devicetree/bindings/rng/ingenic,jz4780-rng.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/ingenic,jz4780-rng.txt diff --git a/Documentation/devicetree/bindings/rng/ingenic,jz4780-rng.txt b/Documentation/devicetree/bindings/rng/ingenic,jz4780-rng.txt new file mode 100644 index 0000000..765df9c --- /dev/null +++ b/Documentation/devicetree/bindings/rng/ingenic,jz4780-rng.txt @@ -0,0 +1,21 @@ +Ingenic jz4780 RNG driver + +Required properties: +- compatible : Should be "ingenic,jz4780-rng" + +Example: + +cgublock { + compatible = "simple-bus"; + + #address-cells = <1>; + #size-cells = <1>; + + reg = <0x10000000 0x100>; + ranges; + + rng: rng@d8 { + compatible = "ingenic,jz4780-rng"; + reg = <0x100000d8 0x8>; + }; +};