From patchwork Mon Mar 5 22:20:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 10260029 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 544D760134 for ; Mon, 5 Mar 2018 22:21:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 357F628CD1 for ; Mon, 5 Mar 2018 22:21:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29FF728CD0; Mon, 5 Mar 2018 22:21:11 +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 A01B428CD0 for ; Mon, 5 Mar 2018 22:21:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932069AbeCEWVI (ORCPT ); Mon, 5 Mar 2018 17:21:08 -0500 Received: from mleia.com ([178.79.152.223]:49264 "EHLO mail.mleia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753024AbeCEWVG (ORCPT ); Mon, 5 Mar 2018 17:21:06 -0500 Received: from mail.mleia.com (localhost [127.0.0.1]) by mail.mleia.com (Postfix) with ESMTP id 488DF3EEA16; Mon, 5 Mar 2018 22:21:05 +0000 (GMT) From: Vladimir Zapolskiy To: Herbert Xu , Matt Mackall , Rob Herring Cc: Arnd Bergmann , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-crypto@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: rng: Document Freescale i.MX21 and i.MX31 RNGA compatibles Date: Tue, 6 Mar 2018 00:20:59 +0200 Message-Id: <20180305222100.29351-2-vz@mleia.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20180305222100.29351-1-vz@mleia.com> References: <20180305222100.29351-1-vz@mleia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20180305_222105_315855_ABCA2FB9 X-CRM114-Status: GOOD ( 13.49 ) 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.MX21 and i.MX31 SoCs contain a 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 Reviewed-by: Fabio Estevam --- Changes from v1 to v2: * added i.MX21 RNGA compatible, i.MX31 RNGA is backward compatible to it, * though the list of documented compatibles is extended, I dare to add Rob's Reviewed-by tag casted for v1. .../devicetree/bindings/rng/{imx-rngc.txt => imx-rng.txt} | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) rename Documentation/devicetree/bindings/rng/{imx-rngc.txt => imx-rng.txt} (54%) diff --git a/Documentation/devicetree/bindings/rng/imx-rngc.txt b/Documentation/devicetree/bindings/rng/imx-rng.txt similarity index 54% rename from Documentation/devicetree/bindings/rng/imx-rngc.txt rename to Documentation/devicetree/bindings/rng/imx-rng.txt index 93c7174..405c2b0 100644 --- a/Documentation/devicetree/bindings/rng/imx-rngc.txt +++ b/Documentation/devicetree/bindings/rng/imx-rng.txt @@ -1,15 +1,14 @@ -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,imx21-rnga" + "fsl,imx31-rnga" (backward compatible with "fsl,imx21-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: