Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5248546ybe; Tue, 10 Sep 2019 00:20:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuYHRor8pzzGGPAVvY7PhjCE6h7PBnoNgqO0JxLaG2mrXnzeaNItrmTP6fy+ViXrT2tFWM X-Received: by 2002:a17:906:7ac6:: with SMTP id k6mr18819933ejo.243.1568100016053; Tue, 10 Sep 2019 00:20:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568100016; cv=none; d=google.com; s=arc-20160816; b=seO0S4rLmoztjWUGt50WQrCj4yARqgxr6t/9jOx6CurDdiS6Q1TDarpp/+GaDlAFnA bEdPqUndAWsYbPo+goUYufoKpjRJhvx909bS8sUyNoZMLbLYaC89iSq7blQf5HFRUzf3 GbzKxytS1LqY45TLDdQq/KtniPxs9gjLQlue6Reu7EeyM52qdEp3Ujk8SFTs+j5zmTnX LwXn0NTcNYpHp1A6NiZRBOFDQHUquBTiAU8+0ua2DaK/6pQBgzr0UAHKqY/0oB1Xy8io MfkGZyl6YtafJyyhpaqY5UcG0vQDINp+MwMNcB4wgwZIyy/7k5ZYydKx7QgDtHzU0ZtC XpQw== 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=NKmN/lIcofU85QZF1xvU79xyqbs+NBZEGQjR2ie62tLRWTpnRlhgqaafKY/0XeVxcc Lc60/brqf4q7G/Z89QqWCVytWmqdsFX0v4bD3BAri4TW8hyx5SPQ31g3iUv4F/cBPgu1 pCFhFdKvxeJusTLWNrEBF3mSEGLwY3Qr5UHFgk3ulsVqAZiVLOJAtn92Fc9KZDp8kMZ/ iD1a3AJk1oPJ0UR09V4Cwbhd/bZE2/Q0t4aNU8f46GGgMJiv5vHCealivdfrXEqx+CA8 N9AiTLBFnjc8lEvjxALFoWbKA00uC+JK/D332BcNqcm/r5ZhYcyGOeLkVpGluJJrBbCi xGDA== 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 t37si11196926edd.25.2019.09.10.00.19.51; Tue, 10 Sep 2019 00:20:16 -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 S1728034AbfIIMkL (ORCPT + 99 others); Mon, 9 Sep 2019 08:40:11 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:42624 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726019AbfIIMkL (ORCPT ); Mon, 9 Sep 2019 08:40:11 -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 x89Ccft8029013; Mon, 9 Sep 2019 15:38:41 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 7B83062A57; Mon, 9 Sep 2019 15:38:41 +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 v2 1/2] dt-binding: hwrng: add NPCM RNG documentation Date: Mon, 9 Sep 2019 15:38:39 +0300 Message-Id: <20190909123840.154745-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190909123840.154745-1-tmaimon77@gmail.com> References: <20190909123840.154745-1-tmaimon77@gmail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@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