Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7296133ybi; Mon, 22 Jul 2019 10:29:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzH1S1lTblEZpbdPicdtLnFPPd/6jCi/IF3sonSOT0F9sYyCC1+t1IHyI6L16rcNoBWFzB0 X-Received: by 2002:a62:5214:: with SMTP id g20mr1320198pfb.187.1563816598996; Mon, 22 Jul 2019 10:29:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563816598; cv=none; d=google.com; s=arc-20160816; b=j1rG9BTgvqmeVn8cCnIv+7m7Vx0v/UJcdVIz0lGMJeSven4EQOEm9puVwjaTqMNgT4 Mf745qE92ZQ3RAzamJvYo5f55gYT6yL8vgSX7bE5fAud1i5zm4ewZlaoSZxrQwngtmQE +HgRhSZLRzH5HkSQZEi0f/mpL/Z7duU8MHlmqihiYrohdmZW/EOmfcPZwYrBxLHFwBIl 7cSzq0HlBAI4agjhguAzw1/DMDBzI7NtJSkaqtBMnoT0PvnR8OKfUyit1VR983TLSUg9 fJgK/W6f7p9xxdFk4x3/PEZBVwpveI8h53lWsQqtg44yvnRAQJAyt4jkJU+mKj4Lxq8i WdMQ== 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=BPBBZImn94u34PS4j0B22jF9W2Q+w/a38nAYEKW3m8Y=; b=aiNaK4LCJcV+jJVVhpr9R0ux7JQEeoODhwII2Bj1EdZhR1snzzbXgISnceR45GYsKT 9vAVBkcQPvrzABUjz9lEMdpzIxB1dvctUYsI9dxWufoeBHH6vEysT3OvDUPwfItFek78 DELeNYZPnlj8RT2o1K/X1NIeuq5AaOC8xZQDK6xzm56bWy2s1o7eJOeePb5tJ9rWysi0 mcPeuh1ItkZHRQEFgOMaDiJ/xeIXt/qOKUTXNyjmnL4Ojo68NFtMY1wb4e9VJzbPaFFY HJ1VzVAEBf0S5nwuQ6WrXBeedDGC0KZl6NKMosAKpJKH6z1a5KSeM6nGDjlQ4syZ/+r6 03ig== 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w22si9236239pfn.118.2019.07.22.10.29.44; Mon, 22 Jul 2019 10:29:58 -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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728482AbfGVPUC (ORCPT + 99 others); Mon, 22 Jul 2019 11:20:02 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:39691 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727036AbfGVPUC (ORCPT ); Mon, 22 Jul 2019 11:20:02 -0400 X-Greylist: delayed 952 seconds by postgrey-1.27 at vger.kernel.org; Mon, 22 Jul 2019 11:20:01 EDT Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id x6MF2i0e032709; Mon, 22 Jul 2019 18:02:44 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id DEFE561FD1; Mon, 22 Jul 2019 18:02:43 +0300 (IDT) From: Tomer Maimon To: mpm@selenic.com, herbert@gondor.apana.org.au, arnd@arndb.de, gregkh@linuxfoundation.org, robh+dt@kernel.org, mark.rutland@arm.com, avifishman70@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, sumit.garg@linaro.org, jens.wiklander@linaro.org, vkoul@kernel.org, tglx@linutronix.de, joel@jms.id.au Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon Subject: [PATCH v1 0/2] hwrng: npcm: add NPCM RNG driver support Date: Mon, 22 Jul 2019 18:02:39 +0300 Message-Id: <20190722150241.345609-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.18.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patch set adds Randon Number Generator (RNG) support for the Nuvoton NPCM Baseboard Management Controller (BMC). The RNG driver we use power consumption when the RNG is not required. The NPCM RNG driver tested on NPCM750 evaluation board. Tomer Maimon (2): dt-binding: hwrng: add NPCM RNG documentation hwrng: npcm: add NPCM RNG driver .../bindings/rng/nuvoton,npcm-rng.txt | 17 ++ drivers/char/hw_random/Kconfig | 13 ++ drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/npcm-rng.c | 207 ++++++++++++++++++ 4 files changed, 238 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.txt create mode 100644 drivers/char/hw_random/npcm-rng.c -- 2.18.0