From patchwork Thu Aug 17 18:25:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PrasannaKumar Muralidharan X-Patchwork-Id: 9906887 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 6103860244 for ; Thu, 17 Aug 2017 18:26:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A1C028B7A for ; Thu, 17 Aug 2017 18:26:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4ED7D28B82; Thu, 17 Aug 2017 18:26:13 +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=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_HI, RCVD_IN_SBL_CSS, RCVD_IN_SORBS_SPAM autolearn=no 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 F3D1528B7A for ; Thu, 17 Aug 2017 18:26:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347AbdHQS0L (ORCPT ); Thu, 17 Aug 2017 14:26:11 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:34510 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751943AbdHQS0K (ORCPT ); Thu, 17 Aug 2017 14:26:10 -0400 Received: by mail-pg0-f67.google.com with SMTP id y192so11080789pgd.1 for ; Thu, 17 Aug 2017 11:26:09 -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=b0nBqjc7djLg4zUt5fd4yQ7V3GpR4f0lzmLgxOt5DkU=; b=DFLZMfTpvtycgsC6KrOLmesDWLUY8VfV3bDoNxM5XPkCN7Bs6gUMlAsvXVjdg3EWNy ud/5uEDYWcuOre0h+RpT1JQv31eWl9IFTOQuCW0RaN90eP8oaHhqUP/2Ntk08A6PuN7p qbi53X5On4a1CY6qxW8AkBzGQSkYD4cwOsBr4FqodypPzqXrjQw4oXF0HnURaBixdVR4 BVRWZwHgGWevC30scBxD730hYLCxWmorea+KwISlQlwVrD97aomQMLaIye+zTvu3JYjI uDaONjYfMq9WD0N3xIMwvn4LjcrSWf6Ni9ZIZ4e9J3Mid1d1cz/pGp/q0e6l61mwjGAH t/Rg== 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=b0nBqjc7djLg4zUt5fd4yQ7V3GpR4f0lzmLgxOt5DkU=; b=BzHSUZD0VPDz6foCfuIjMYMYaGDRehGV2AfwqpIeIlMFeBdlqfAdKdiNYqa6P5XeCO CVq0z4JXcn/Q5bEKSOvIHyO+FLXSwYmS97C7/kAKDXqPLsfbcsQU3cVJws/iWBGYDvSK UzFg0ARkOZym2E/YUZyUe3h7Ctt+6XrVdVxPkzicYuiBozqhOafn9e3H3eytKOpyQwrT Qj9x2Bo5PnJColM5uV+MNvHstTAH0XcAo+scVpqBYWTdVOf8hP2DM3OpjI8v1n3unMCT xwkfY4rbPiOu48Aycj2/wau2XvAZ+d7uCdVWyxnXzXRH6NWMUhHNCboUJSaaZBtFP1IJ +2dw== X-Gm-Message-State: AHYfb5g3UEaciQUhJ1iZ+HXvVGJ/9YQIueLe3D4NFJxePis42Onz6I9I NbnMlRAJ33u5ug== X-Received: by 10.84.254.76 with SMTP id a12mr7079310pln.439.1502994369554; Thu, 17 Aug 2017 11:26:09 -0700 (PDT) Received: from linux.local ([42.109.133.212]) by smtp.gmail.com with ESMTPSA id a86sm8882565pfe.181.2017.08.17.11.25.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Aug 2017 11:26:09 -0700 (PDT) From: PrasannaKumar Muralidharan To: herbert@gondor.apana.org.au, robh+dt@kernel.org, mark.rutland@arm.com, ralf@linux-mips.org, mturquette@baylibre.com, sboyd@codeaurora.org, davem@davemloft.net, paul@crapouillou.net, linux-crypto@vger.kernel.org, linux-mips@linux-mips.org Cc: PrasannaKumar Muralidharan Subject: [PATCH 1/6] crypto: jz4780-rng: Add devicetree bindings for RNG in JZ4780 SoC Date: Thu, 17 Aug 2017 23:55:15 +0530 Message-Id: <20170817182520.20102-2-prasannatsmkumar@gmail.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20170817182520.20102-1-prasannatsmkumar@gmail.com> References: <20170817182520.20102-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 --- .../devicetree/bindings/rng/ingenic,jz4780-rng.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 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..88a0a92 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/ingenic,jz4780-rng.txt @@ -0,0 +1,24 @@ +Ingenic jz4780 RNG driver + +Required properties: +- compatible : Should be "ingenic,jz4780-rng" + +Example: + +cgu_registers { + compatible = "simple-mfd", "syscon"; + reg = <0x10000000 0x100>; + + cgu: jz4780-cgu@10000000 { + compatible = "ingenic,jz4780-cgu"; + + clocks = <&ext>, <&rtc>; + clock-names = "ext", "rtc"; + + #clock-cells = <1>; + }; + + rng: rng@d8 { + compatible = "ingenic,jz480-rng"; + }; +};