From patchwork Mon Feb 26 18:38:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 10243079 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 AA2D8602A0 for ; Mon, 26 Feb 2018 18:45:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9ED492A292 for ; Mon, 26 Feb 2018 18:45:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93A172A294; Mon, 26 Feb 2018 18:45:58 +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 366A22A292 for ; Mon, 26 Feb 2018 18:45:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751186AbeBZSpy (ORCPT ); Mon, 26 Feb 2018 13:45:54 -0500 Received: from mleia.com ([178.79.152.223]:60254 "EHLO mail.mleia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751423AbeBZSpw (ORCPT ); Mon, 26 Feb 2018 13:45:52 -0500 Received: from mail.mleia.com (localhost [127.0.0.1]) by mail.mleia.com (Postfix) with ESMTP id ED5323ECBB7; Mon, 26 Feb 2018 18:38:54 +0000 (GMT) From: Vladimir Zapolskiy To: Herbert Xu , Rob Herring Cc: Arnd Bergmann , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-crypto@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: rng: Document Freescale i.MX31 RNGA compatible Date: Mon, 26 Feb 2018 20:38:48 +0200 Message-Id: <20180226183849.11562-2-vz@mleia.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20180226183849.11562-1-vz@mleia.com> References: <20180226183849.11562-1-vz@mleia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20180226_183854_991892_EACEEFA0 X-CRM114-Status: GOOD ( 12.57 ) 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 Freescale i.MX31 SoC contains a Security Random Number Generator Accelerator module (RNGA), which is replaced by RNGB and RNGC modules on later i.MX SoC series, the change adds a new compatible property to describe the controller. Since all versions of Freescale RNG modules are legacy, apparently the documentation file has no more potential for further extensions, nevertheless generalize it by removing explicit RNGC specifics. Signed-off-by: Vladimir Zapolskiy Reviewed-by: Rob Herring --- .../devicetree/bindings/rng/{imx-rngc.txt => imx-rng.txt} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename Documentation/devicetree/bindings/rng/{imx-rngc.txt => imx-rng.txt} (59%) diff --git a/Documentation/devicetree/bindings/rng/imx-rngc.txt b/Documentation/devicetree/bindings/rng/imx-rng.txt similarity index 59% rename from Documentation/devicetree/bindings/rng/imx-rngc.txt rename to Documentation/devicetree/bindings/rng/imx-rng.txt index 93c7174..fc10933 100644 --- a/Documentation/devicetree/bindings/rng/imx-rngc.txt +++ b/Documentation/devicetree/bindings/rng/imx-rng.txt @@ -1,15 +1,13 @@ -Freescale RNGC (Random Number Generator Version C) - -The driver also supports version B, which is mostly compatible -to version C. +Freescale RNGA/RNGB/RNGC (Random Number Generator Versions A, B and C) Required properties: - compatible : should be one of + "fsl,imx31-rnga" "fsl,imx25-rngb" "fsl,imx35-rngc" - reg : offset and length of the register set of this block -- interrupts : the interrupt number for the RNGC block -- clocks : the RNGC clk source +- interrupts : the interrupt number for the RNG block +- clocks : the RNG clk source Example: