Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp535058ybh; Wed, 15 Jul 2020 08:28:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzS/aXuEkoaQjIBRSgVs75N1OcxJXMYtnoQDIlN9cCeqv3O8nYCnsYr7XH6Q2NxP9nrj/h X-Received: by 2002:a17:906:71d4:: with SMTP id i20mr10303907ejk.533.1594826934944; Wed, 15 Jul 2020 08:28:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594826934; cv=none; d=google.com; s=arc-20160816; b=r0THxPI2CwlAILQ1hOhKy/xddQ1000Spf6m/R17P99uNL3BIYsgun5y+tbQEGbdGIn IXlXJOFiShKHINYqrttGnCbqL076oHBvdulfJtua/1lCnmYIgeeiw0+SSXYCrwbQTW1i RX6WS422i5/GK2YJv0J13s90ee2xxcgE+Uyexw1x1d8EVuihaianFMuwhWZJDo0Ys/lf 948AoIjKVaggPEP1x5gWlmyk5Aaiwl3JwPmO2xV6XqV6oP9Jw0Q079yp0l3nvj/YJLM/ WI4vrFuTfqvKaCd/N68d2Y4PyBferCdgyZV8U1SE7778Qd64Vrr9wWdvtr/u2vCoMbvp RM5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=99b3yKtBtW2p7ChuYZ64Y6XI1JmxmFrf5jtHq7KnZdw=; b=iLzMYf9A1V15E2BlaUK3yJH6yo9fmUwq2jiMHG7/+Lo2DLMDxI9c96ozxs+mienQiL 7Ib7IV1F2JHyTDkArLua5KtHRQPL9Y6380yAtAHQwhp31Z0kFgbAjxrBl512zbcMwr1Q zz1FwI7c9d0+kvxOuHIiz3EA5wWS+om5eS8+CS0+C+KSEJgfN9b5OgZMsI9JqfqbhJWb 9+6xOe92HLh897IQiGzO23U40qasT+Q7AU42pcKPRWOqKk1sJ5wl9zZ4qx3qT5q/7sFs HevGDq42THLy9ieayIZCedge/CgB7XKG0PSJHtytEvjKNz4yU7dDHJogA8J17LOVwSUF iBrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o22si1427990edt.352.2020.07.15.08.28.31; Wed, 15 Jul 2020 08:28:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726929AbgGOP1T (ORCPT + 99 others); Wed, 15 Jul 2020 11:27:19 -0400 Received: from inva021.nxp.com ([92.121.34.21]:54262 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbgGOP1R (ORCPT ); Wed, 15 Jul 2020 11:27:17 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 947F9200334; Wed, 15 Jul 2020 17:27:14 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 847A9200319; Wed, 15 Jul 2020 17:27:14 +0200 (CEST) Received: from fsr-ub1864-014.ea.freescale.net (fsr-ub1864-014.ea.freescale.net [10.171.95.219]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id C6229205C8; Wed, 15 Jul 2020 17:27:13 +0200 (CEST) From: =?UTF-8?q?Horia=20Geant=C4=83?= To: Rob Herring , Shawn Guo , Sascha Hauer , Matt Mackall , Herbert Xu Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Greg Kroah-Hartman , Martin Kaiser , Marco Felsch , Franck Lenormand , Iuliana Prodan , Silvano Di Ninno , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/5] hwrng: add support for i.MX6 rngb Date: Wed, 15 Jul 2020 18:25:59 +0300 Message-Id: <20200715152604.10407-1-horia.geanta@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for RNGB found in some i.MX6 SoCs (6SL, 6SLL, 6ULL, 6ULZ), based on RNGC driver (drivers/char/hw_random/imx-rngc.c). This driver claims support also for RNGB (besides RNGC), and is currently used only by i.MX25. Note: Several NXP SoC from QorIQ family (P1010, P1023, P4080, P3041, P5020) also have a RNGB, however it's part of the CAAM (Cryptograhic Accelerator and Assurance Module) crypto accelerator. In this case, RNGB is managed in the caam driver (drivers/crypto/caam/), since it's tightly related to the caam "job ring" interface, not to mention CAAM internally relying on RNGB as source of randomness. On the other hand, the i.MX6 SoCs with RNGB have a DCP (Data Co-Processor) crypto accelerator and this block and RNGB are independent. Changelog: v4 -remove unneeded compatible strings from the driver v3 -mention in the DT binding the compatibility with "fsl,imx25-rngb" -collected Reviewed-by v2 -update rngb DT binding with compatible strings for i.MX6 SoCs Horia Geantă (5): dt-bindings: rng: add RNGB compatibles for i.MX6 SoCs ARM: dts: imx6sl: fix rng node ARM: dts: imx6sll: add rng ARM: dts: imx6ull: add rng hwrng: imx-rngc: enable driver for i.MX6 Documentation/devicetree/bindings/rng/imx-rng.txt | 3 +++ arch/arm/boot/dts/imx6sl.dtsi | 2 ++ arch/arm/boot/dts/imx6sll.dtsi | 7 +++++++ arch/arm/boot/dts/imx6ull.dtsi | 7 +++++++ drivers/char/hw_random/Kconfig | 2 +- 5 files changed, 20 insertions(+), 1 deletion(-) -- 2.17.1