Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1090560ybl; Wed, 28 Aug 2019 09:29:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKT7cpTcryaTV2Lu/XijmvotHDXvIyAHK8fb6BjDpCjy4jbRssMDggUGlOBLX1WbbaHZi0 X-Received: by 2002:aa7:8808:: with SMTP id c8mr5504149pfo.67.1567009741910; Wed, 28 Aug 2019 09:29:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567009741; cv=none; d=google.com; s=arc-20160816; b=QxiIsHF3u6iQGsH8Ypa1s1S7bBx1tvS1SeXqjfpWB/94cFhA7DCrFtsauFkzE3tXVt D8A7WekicFEGu7ortby9kikpqKI8Y3vWZQurukm7zCGPAZwz6BpxurdB7MVKo3UGNaAF C/lLwSldOh5gCBwIc5PRflxlwQTGvHZUt5b9PO2VT8b35rrww0qzqrll0GuOIXr450Bg RJlpvDohcNne0fhbLA/445IkEuk2ZHWtLLl+kqt7/CDcck2/+w45z7LiYyTBnH4fYb40 DCG7Gc+yWphqzHBg/NTlBQ2FyAAAV1WF6i8De8M84m8OrjkB/Lg50S0NjA5JvcoHWaYJ 1/yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=FMVkwzYDIPucY6LT5YP0w/FOkk/4ZjekpTwT7OjcoAA=; b=XMZHfpqLrBby9ijf9sOkFYl0eAMlhYCe9f0IBR2PQIfXr3a+DEy7waGVzFdenD5QPE 3fEJj+L9Z/SL7QmezGcRkHRMMyvYEkGROOUoZ+33Kj1M3PjJA5wZbeoAMqYiMgGYEDGj uraKuImQzNpDpbw05gZvcFvPN35R2qNsB/jjeVLqhCsolUkjp9RZTcrLicPcLQpzwXGB 8fFafr6uDkOjsG+fPRwOFIja2JfWkkMVYE43FYYQ0DrES6svFM5F/EAeI4vQfTzUIBzB 3kw9iiFkr2YFL4pYKXaLWW7qO8WzUaTNwxMFt9+O+7h/KqVOiTa0jYVM99uv3tboVlwU K4lQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 30si2227841plc.181.2019.08.28.09.28.45; Wed, 28 Aug 2019 09:29:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726829AbfH1Q1f (ORCPT + 99 others); Wed, 28 Aug 2019 12:27:35 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:42165 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726415AbfH1Q1e (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 x7SGQJml004239; Wed, 28 Aug 2019 19:26:19 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 5526762A57; Wed, 28 Aug 2019 19:26:19 +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 1/2] dt-binding: hwrng: add NPCM RNG documentation Date: Wed, 28 Aug 2019 19:26:16 +0300 Message-Id: <20190828162617.237398-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190828162617.237398-1-tmaimon77@gmail.com> References: <20190828162617.237398-1-tmaimon77@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added device tree binding documentation for Nuvoton BMC NPCM Random Number Generator (RNG). Signed-off-by: Tomer Maimon --- .../bindings/rng/nuvoton,npcm-rng.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.txt diff --git a/Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.txt b/Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.txt new file mode 100644 index 000000000000..a697b4425fb3 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.txt @@ -0,0 +1,17 @@ +NPCM SoC Random Number Generator + +Required properties: +- compatible : "nuvoton,npcm750-rng" for the NPCM7XX BMC. +- reg : Specifies physical base address and size of the registers. + +Optional property: +- quality : estimated number of bits of true entropy per 1024 bits + read from the rng. + If this property is not defined, it defaults to 1000. + +Example: + +rng: rng@f000b000 { + compatible = "nuvoton,npcm750-rng"; + reg = <0xf000b000 0x8>; +}; -- 2.18.0