Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2831146ybb; Sun, 22 Mar 2020 08:43:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtldD45NeTlkAcWvX52IPxhtO9S/WV9NA/QYTBH63pjEKCBR8bxGapu5nbkuZM+wvGQNAJ3 X-Received: by 2002:a05:6830:1498:: with SMTP id s24mr14134676otq.242.1584891821472; Sun, 22 Mar 2020 08:43:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584891821; cv=none; d=google.com; s=arc-20160816; b=EDOmT3DWN04Wk3/hu3iHjD7zXaC677Ako4CXYrBIyipX5tUFW9R0Syk1NgFFN2oWj2 PE1XHth+pkmCbZBhpvzPW0g1bgcfedfrE7+XhBshWOipdK8S+WuqvJEmTPIyr2klayDy KA2vWOIG9Ff1ZZaLHDl2d9V7534yzl1NyC0wKDLrmh2TfBDuPsdmVg5nKoXl5CKwU0OH UVAXjNYkQT57nf6zpdtBZE2+mKPKp4fla019w6or0QQZecVDFsVSVqX/9VtQkUiB6xw9 Y8ffQBo1uio6tyS9+G8XQs4MKFlsIPj5BUYVmyB424qAASPK8X+VDsFqxePSkx9lmnH4 Cb8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=4oRk+qQsRYwJnVtS3QYtYbPCYsEZjz3LISw8K0Y1/n4=; b=ZtZXpoCOYl9z8Wkh1Ag6UjoYHvwI0/rZdmqUPrfPNpm1a8aYA2URTzgkNTgeXUsntg P38XSTG7tr+LAbEdN/6WT8O/rtacSvQHbYJLi9ZVi/S84Eiv1ziCHkt0xwp35MP0nnzL 0bLVkVDBkeGHo5taBzf5cEq0BYIpeRu+tGauIGMYoY20wQSk6Unn5idUydbjV/dgp/Fv PKe98ZA2qQKg0KTVzNfHQ5fCUdIwbYfWLnd6PCT3CmS0uYgn8koiL4L2ybWNNYWIOGdE BACN1t+r/QnpZa0kRQ/PFXDgeie5MUUm9lZPu4gGVnVvzd3U6KXudX3VYx+w/C0IhCi7 CvBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x136si6276940oif.122.2020.03.22.08.43.18; Sun, 22 Mar 2020 08:43:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726810AbgCVPnH (ORCPT + 99 others); Sun, 22 Mar 2020 11:43:07 -0400 Received: from foss.arm.com ([217.140.110.172]:41036 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725970AbgCVPnH (ORCPT ); Sun, 22 Mar 2020 11:43:07 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 90EE531B; Sun, 22 Mar 2020 08:43:06 -0700 (PDT) Received: from ssg-dev-vb.arm.com (unknown [10.57.20.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9EF233F52E; Sun, 22 Mar 2020 08:43:01 -0700 (PDT) From: Hadar Gat To: Matt Mackall , Herbert Xu , Rob Herring , Mark Rutland , Arnd Bergmann , Greg Kroah-Hartman , Krzysztof Kozlowski , Florian Fainelli , Alexander Sverdlin , Thomas Gleixner , Tomer Maimon , Randy Dunlap , Zaibo Xu , Daniel Thompson , Mauro Carvalho Chehab , "David S. Miller" , Jonathan Cameron Cc: linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gilad Ben-Yossef , Ofir Drang , Hadar Gat Subject: [PATCH v5 0/3] hw_random: introduce Arm CryptoCell TRNG driver Date: Sun, 22 Mar 2020 17:31:22 +0200 Message-Id: <1584891085-8963-1-git-send-email-hadar.gat@arm.com> X-Mailer: git-send-email 2.7.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The Arm CryptoCell is a hardware security engine. This patch introduces driver for its TRNG (True Random Number Generator) engine. v5 changes: 1. in arm-cctrng.yaml, fixed error in 'make dt_binding_check' 2. in cctrng.c, clean up cctrng clock handling v4 changes: update arm-cctrng.yaml to conform with json-schema standard. v3 change: removed few unneeded "#ifdef CONFIG_PM" from the code. v2 changes: fixed 'make dt_bnding_check' errors. Hadar Gat (3): dt-bindings: add device tree binding for Arm CryptoCell trng engine hw_random: cctrng: introduce Arm CryptoCell driver MAINTAINERS: add HG as cctrng maintainer .../devicetree/bindings/rng/arm-cctrng.yaml | 55 ++ MAINTAINERS | 9 + drivers/char/hw_random/Kconfig | 12 + drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/cctrng.c | 735 +++++++++++++++++++++ drivers/char/hw_random/cctrng.h | 69 ++ 6 files changed, 881 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/arm-cctrng.yaml create mode 100644 drivers/char/hw_random/cctrng.c create mode 100644 drivers/char/hw_random/cctrng.h -- 2.7.4