From patchwork Wed Aug 23 02:57:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PrasannaKumar Muralidharan X-Patchwork-Id: 9916497 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 2028D602CB for ; Wed, 23 Aug 2017 02:57:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FA952888A for ; Wed, 23 Aug 2017 02:57:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 02F482889E; Wed, 23 Aug 2017 02:57:39 +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 D3FA82888A for ; Wed, 23 Aug 2017 02:57:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753084AbdHWC5h (ORCPT ); Tue, 22 Aug 2017 22:57:37 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:38105 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753157AbdHWC5h (ORCPT ); Tue, 22 Aug 2017 22:57:37 -0400 Received: by mail-pg0-f66.google.com with SMTP id t3so455082pgt.5; Tue, 22 Aug 2017 19:57:36 -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=phcFsdWDqG7TeGjBNoWJbV5xDY4Q14cQBDBGXmtJ42k=; b=V5Xf/+i+Z/haK2Q0wR3iHxmgJo+qhOPB3wLxkMSDpS8DbdI4YIBsh7eZihbAH/x/qY ITIt2BWxmtL8mL8rksO/9m/SI2C2cMCp9ikHDkzp6/iyoMFxSSvRwLvdSKkP78XfQdvH TIozVNn+t7xXXGGvFSfdqZ0emuNSYyRYlS0P3CT+KwSH1DIHwF+VTpUUTTfAmAWHsMEZ GhUA9mAl5gS6pFAiBK3dJHldog7zQaRQVFsBgyA3pgTexjE84BA6he4rM4rQyzI4gLmh H8m26QfV+aEcxqU+VKV9RfJSRLAFALu+oELwAHzW0VCNYdxDm0QXKfKlBop1QdmZuCpj hvAA== 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=phcFsdWDqG7TeGjBNoWJbV5xDY4Q14cQBDBGXmtJ42k=; b=cLjZrip4sLuJF1DktY/gP6klk6SPT2mle4SVLGDDmWHYFnSzS5gAwUIaqlL4A6REPc uHGKDWan35z9PInDlnRpwB5Eh7Dx521O+ywL3trHfl+cl5z/8hja1NKoR75kqkN5t4ru txkY+kVJo/wCMoeiSkPMnCDwInRNW49uoJt8JozaqGSMrSo5DVADxdCUnqRA1K8sOJR6 zpPDHxetIidPUU4cdq0ujaDPr9xZ1eq8PZe0FCndP76mSR5C4WQz5jC6xIBzm1U8T+a1 iiotsv6KiNx1VYcGo35+XD72FSkEOLu3pchWBIS1mFPz3GWAyIOLtN321SpXqgASQm7L IGfQ== X-Gm-Message-State: AHYfb5hBJbtktIwvEWlwNqAWZQGPOPFpeCt08+Jibk1YOgN+wJQWn2rw BvGok8VPnW3YFw== X-Received: by 10.84.174.193 with SMTP id r59mr1373113plb.266.1503457056551; Tue, 22 Aug 2017 19:57:36 -0700 (PDT) Received: from linux.local ([42.109.139.20]) by smtp.gmail.com with ESMTPSA id 10sm489771pfs.131.2017.08.22.19.57.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Aug 2017 19:57:35 -0700 (PDT) From: PrasannaKumar Muralidharan To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, mark.rutland@arm.com, ralf@linux-mips.org, paul@crapouillou.net, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@linux-mips.org, malat@debian.org, noloader@gmail.com Cc: PrasannaKumar Muralidharan Subject: [PATCH v2 1/4] crypto: jz4780-rng: Add JZ4780 PRNG devicetree binding documentation Date: Wed, 23 Aug 2017 08:27:04 +0530 Message-Id: <20170823025707.27888-2-prasannatsmkumar@gmail.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20170823025707.27888-1-prasannatsmkumar@gmail.com> References: <20170823025707.27888-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 v2: * Add "syscon" in CGU node's compatible section * Make RNG child node of CGU. .../bindings/crypto/ingenic,jz4780-rng.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/ingenic,jz4780-rng.txt diff --git a/Documentation/devicetree/bindings/crypto/ingenic,jz4780-rng.txt b/Documentation/devicetree/bindings/crypto/ingenic,jz4780-rng.txt new file mode 100644 index 0000000..a0c18e5 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/ingenic,jz4780-rng.txt @@ -0,0 +1,20 @@ +Ingenic jz4780 RNG driver + +Required properties: +- compatible : Should be "ingenic,jz4780-rng" + +Example: + +cgu: jz4780-cgu@10000000 { + compatible = "ingenic,jz4780-cgu", "syscon"; + reg = <0x10000000 0x100>; + + clocks = <&ext>, <&rtc>; + clock-names = "ext", "rtc"; + + #clock-cells = <1>; + + rng: rng@d8 { + compatible = "ingenic,jz480-rng"; + }; +};