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: 9846241 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 AB22F60392 for ; Mon, 17 Jul 2017 21:21:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E18F127F81 for ; Mon, 17 Jul 2017 21:21:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D65E027F91; Mon, 17 Jul 2017 21:21:27 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 60C6E25223 for ; Mon, 17 Jul 2017 21:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=yyzBjZ8vzfYVL3eCNd1/aqqjWzD8Ha89Y0qG2wfzSSo=; b=P20/wIviHsXFjx+mo9Ox7/dBgR qKO/Sa1TjMt4JqNeYHyA3uCcZ5MVzuj+EtREYetKPlI/VlCJjj/B4GM0Rleg07Av57rK6Is9X8mjH Y/FjEVr53m5LJ0Sg2a0gjNEMmVLOXE8meGXFN8QdJfIcXA6s5jo3Bv5eqokR1m0fzLaFgILxzwEXS nhmYWkTWekbkjBArySPyT9RJvp5Ev+pilak96mgZnmgh2NMvPThPxsWpgcX4c+2xJPqVheGKvdZ4/ Jpn9fcP0I+YnU+kv37/g10czNBBIqvG/1WHqiiP+klWujkX1jl5dQGQXTtz1jBdqnqwXWlmUkoHCQ DuzXZlWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXDSH-00084Y-3U; Mon, 17 Jul 2017 21:21:25 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXDRf-0007EF-KR for linux-arm-kernel@bombadil.infradead.org; Mon, 17 Jul 2017 21:20:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CXRpzrCDIn8WQPt7qnjBK40MUtRVMkPHLE0FGv3sysE=; b=Tpp6S6np9o35UNcrhdBBlyPTm hdzSQ8qkvR4+WQWqg+PaTwXmwElvmwHkePjCm/e/QzdrR/Xa7DWIDhEC6UPex/rzJgR4O4IEYberH jeu/PTeOyJKzOGK/jeywOpgSTkDd7rM6r2ffx+bgWtfEWAuPe3tS1iyc8w+xK8v/HujUMSsv/FiyM 3MKCKz9inB2XOCJUiUn17WNN0uxO6Tzu5b5pRCBvHkAwDQWMhFrmxHZTsEnxsAb/ZT1Jzrr8UHh5P BpVTl3NujfvTsOnyXcXZXRq7s7+IAczmSGymRju/IIo8IzNi1lIHs2RO15aoJVWOS5G06mZ8BfIhd 7RDUVHwQw==; Received: from botnar.kaiser.cx ([176.28.20.183]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXDNw-0001Zl-O6 for linux-arm-kernel@lists.infradead.org; Mon, 17 Jul 2017 21:16:58 +0000 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170717_221656_798275_737F41F2 X-CRM114-Status: GOOD ( 13.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Martin Kaiser , linux-kernel@vger.kernel.org, Rob Herring , linux-crypto@vger.kernel.org, kernel@pengutronix.de, Fabio Estevam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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>; +};