Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1089453ybl; Wed, 28 Aug 2019 09:28:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFNlM6ydGNwDbIYVZCJrDuzNJdBngtLV5cvW6qouDb3EtiSbasOSJTkpiL7ao6biH953uN X-Received: by 2002:a63:3dcd:: with SMTP id k196mr4256154pga.45.1567009681239; Wed, 28 Aug 2019 09:28:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567009681; cv=none; d=google.com; s=arc-20160816; b=d/pPp1cv37v7IO2tEJBS/NvqpkB/jpjRsCYF74Eff2dW7wfcUz7pRxmgL+4fKQ6cZN vDpea4aWXZyATvFMlUgWaFtCIXDST13fIeH66u0U0FP7Eh/awDdRpypsV59dizbCLIEp wmpbwR0XzU9XJssxrh81PB7orD84QEJ+2i+hPFzr5akPhQhQEOv8E4rcqHC70VYnv8ij iciIqPqZndNTl9/IAAVWiKz7ITMwRmAHL3iyeAZohbBaY2prMdJowppXAM7Yxxt2bDes Hr161EWF6afeVD7mlYxhlCNfx06OpNDShdnUTHnOJmqTf49VgXwTlf5j2lJGR1ML4tBo qhwA== 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=Km/MYDFHvzdNC/IMCKeH4YIOvM0EAtIqtbgtf/okDZL5BDsRmoY5sKGLWtufbhKrWV 68MI5tLiokbxfCSdicXOn2GOrzRprGr7mSpeR7mlbwsceUs6UTy/lBP+spiYdyFhOrsA xckpZKPl8QHD28+LZxgqbCqNWLnpaaG8963P5Ue483doUv7kso/j5Fd/N4L3jwsFQSQb 65y6+AOFegWZ04GwnajZATDbtwyzAWwKsSQl1PdRukbP4KEmkvMxfHzlnTTecG3ySSI0 Bgao8e0X1Tkof8vZOjoRgToDh+8TgUruH4Hd83s0Msn+83w6UDtfB0TclUReVfwx0cmn KfzQ== 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 e10si2425340pgt.431.2019.08.28.09.27.40; Wed, 28 Aug 2019 09:28:01 -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 S1726555AbfH1Q1e (ORCPT + 99 others); Wed, 28 Aug 2019 12:27:34 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:42164 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726397AbfH1Q1e (ORCPT ); Wed, 28 Aug 2019 12:27:34 -0400 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 x7SGQIxP004238; Wed, 28 Aug 2019 19:26:19 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id D77DF628F1; Wed, 28 Aug 2019 19:26:18 +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: Wed, 28 Aug 2019 19:26:15 +0300 Message-Id: <20190828162617.237398-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