From patchwork Mon Jul 17 21:16:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 9846193 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 45EDB60212 for ; Mon, 17 Jul 2017 21:16:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E42C27F7F for ; Mon, 17 Jul 2017 21:16:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72E2427F89; Mon, 17 Jul 2017 21:16:38 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 C28D327F7F for ; Mon, 17 Jul 2017 21:16:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751595AbdGQVQf (ORCPT ); Mon, 17 Jul 2017 17:16:35 -0400 Received: from botnar.kaiser.cx ([176.28.20.183]:57738 "EHLO botnar.kaiser.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751473AbdGQVQe (ORCPT ); Mon, 17 Jul 2017 17:16:34 -0400 X-Greylist: delayed 704 seconds by postgrey-1.27 at vger.kernel.org; Mon, 17 Jul 2017 17:16:33 EDT Received: from p4fdc8d7f.dip0.t-ipconnect.de ([79.220.141.127] helo=reykholt.kaiser.cx) by botnar.kaiser.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1dXDNR-0000IN-O8; Mon, 17 Jul 2017 23:16:25 +0200 From: Martin Kaiser To: Steffen Trumtrar , Shawn Guo , Herbert Xu Cc: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , linux-crypto@vger.kernel.org, kernel@pengutronix.de, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH v3 1/3] Documentation: devicetree: add Freescale RNGC binding Date: Mon, 17 Jul 2017 23:16:01 +0200 Message-Id: <1500326163-4556-1-git-send-email-martin@kaiser.cx> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1457705200-16951-1-git-send-email-s.trumtrar@pengutronix.de> References: <1457705200-16951-1-git-send-email-s.trumtrar@pengutronix.de> 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 From: Steffen Trumtrar Add binding documentation for the Freescale RNGC found on some i.MX2/3 SoCs. Signed-off-by: Steffen Trumtrar Signed-off-by: Martin Kaiser --- Changes in v3: - add compatible string for imx35 - remove imx5 from the commit message, I couldn't find an i.MX5 soc that has an RNGC Changes in v2: none Documentation/devicetree/bindings/rng/mxc_rngc.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/mxc_rngc.txt diff --git a/Documentation/devicetree/bindings/rng/mxc_rngc.txt b/Documentation/devicetree/bindings/rng/mxc_rngc.txt new file mode 100644 index 0000000..5a12ada --- /dev/null +++ b/Documentation/devicetree/bindings/rng/mxc_rngc.txt @@ -0,0 +1,16 @@ +Freescale RNGC (Random Number Generator Version C) + +Required properties: +- compatible : Should be "fsl,imx25-rng" or "fsl,imx35-rng" +- reg : Offset and length of the register set of this block +- interrupts : the interrupt number for the RNG block +- clocks: should contain the RNG clk source + +Example: + +rng@53fb0000 { + compatible = "fsl,imx25-rng"; + reg = <0x53fb0000 0x4000>; + interrupts = <22>; + clocks = <&trng_clk>; +};