Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7296202ybi; Mon, 22 Jul 2019 10:30:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyg+4pnp2NujRQhlQvM5GUj7fX/cXx5qjyJaVI3jmNErpOZoyhR1zYUroVjh6QBQgdMfHTs X-Received: by 2002:a63:c64b:: with SMTP id x11mr72430136pgg.319.1563816602249; Mon, 22 Jul 2019 10:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563816602; cv=none; d=google.com; s=arc-20160816; b=p/xJDbRBHqZdOzezVtiweh72r8JkZm4Uot3mBRpPabF1Iu7hD+VtUMPqM8RtZ2OzVN n3/Vh225mU7Yq1FfvwToXeqBAA5Wz7QDFXEzP/6xACkHbPGxWxcGsKOxlItWHTialzo6 YbgqdHVsjcjbUnkXb3tiHy7s2+0BPgEYux8ThtuQGAHXDg64p2K2frUN7jTQhF/KQanx x2NKyXXrcVRrFRYmeyWGXJN9T92ZJ3RFkfbZxoqkfEj7kqZ9uOxp9eJKorowj/+DRtdP 4SfDMd2b9LaY0M6WM0ugMNxXIUxNSe+WW8lnT1AkwMYneztoJyQZ2X1a2KhDsfHIOSuu IRag== 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=CwGSOrriMY/YE6HUMjrPf961sF9e9UMr2d4tMRmkdDQ1HeeX45In4HuV2W2/9HW7LI j72x9f8PKy+rcQszx18Zzuqqp5UYLN6OzHLH2H7GDy357bFF4x0c7q/GP47lUZdKRrJf LmtAkEQbsPSuNrNdCxer4NTzrkHeWafuk7p+NMB0ugj+6fx0MI8i7ZxXRlD06hHiW0lO DZ6+mLyRZTgQvdaXhQd3iEgjq981eyetcHnldRgHXCh05SuzH7qS6az0olBZOB/jrxPj k59u6l2kYfSVsKmE6C0Ze0ZJoBJWr9j+9K9xBkd+JBCgVceRm3k0M9kil8znkP5yxEJQ ZR2g== 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 w18si10231487pgi.37.2019.07.22.10.29.49; Mon, 22 Jul 2019 10:30:02 -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 S1728626AbfGVPUc (ORCPT + 99 others); Mon, 22 Jul 2019 11:20:32 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:39700 "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:32 -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 x6MF2ida032710; Mon, 22 Jul 2019 18:02:44 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 50F9361FD3; Mon, 22 Jul 2019 18:02:44 +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: Mon, 22 Jul 2019 18:02:40 +0300 Message-Id: <20190722150241.345609-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190722150241.345609-1-tmaimon77@gmail.com> References: <20190722150241.345609-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