From patchwork Fri Jun 19 21:33:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Horia Geanta X-Patchwork-Id: 11615133 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2D88790 for ; Fri, 19 Jun 2020 21:35:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0210B208B8 for ; Fri, 19 Jun 2020 21:35:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Hpf41pdM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0210B208B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=jZ4cugW1BCwOhXkTNEYxMfghkYKeW1BX86ak6qN8PJA=; b=Hpf41pdMGA47jr jbffkn7NIHYea5rWalrfNPKhdBzqpLwNQFkPTpdCYpXHl1XeqHfU6hneYA8GljgaWisVK1F8dG0+f JxP728whtKyS54JjcEkkQOZa0OTr2N1hsKpg/USs4i+Zbj5d2N87NSmtJbOAcfuDxNnrvRSl89Nls nPErk9H09EnGPJ/8yUhGhOQ0z14EoMDGpXlo/iM8c6kfIo1GVvFi5UHRzII1vDyBGM/YQH02r3ji/ dtxurTOGdcBwlzrRi6inOXH4Lgst0s8Dzo0e6fcUu6VkJUDMm0yHlUqaCSoPrBooz925FHyJPL0RG OG3DcUA4WDgnVcHa4S5g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmOfL-0002nh-S3; Fri, 19 Jun 2020 21:35:15 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmOea-0001wr-2q for linux-arm-kernel@lists.infradead.org; Fri, 19 Jun 2020 21:34:29 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 682E81A02C5; Fri, 19 Jun 2020 23:34:20 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 59E9E1A02BB; Fri, 19 Jun 2020 23:34:20 +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 9B9BB204B6; Fri, 19 Jun 2020 23:34:19 +0200 (CEST) From: =?utf-8?q?Horia_Geant=C4=83?= To: Rob Herring , Shawn Guo , Sascha Hauer , Matt Mackall , Herbert Xu Subject: [PATCH 0/4] hwrng: add support for i.MX6 rngb Date: Sat, 20 Jun 2020 00:33:43 +0300 Message-Id: <20200619213347.27826-1-horia.geanta@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200619_143428_278989_F53B1335 X-CRM114-Status: UNSURE ( 7.66 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [92.121.34.13 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Arnd Bergmann , Iuliana Prodan , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Franck Lenormand , NXP Linux Team , Pengutronix Kernel Team , Martin Kaiser , Silvano Di Ninno , Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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: All the i.MX6 SoCs with RNGB have a DCP (Data Co-Processor) crypto accelerator. 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. Horia Geantă (4): ARM: dts: imx6sl: fix rng node ARM: dts: imx6sll: add rng ARM: dts: imx6ull: add rng hwrng: imx-rngc: enable driver for i.MX6 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 +- 4 files changed, 17 insertions(+), 1 deletion(-)