Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1307128ybl; Sun, 18 Aug 2019 00:27:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwT3GvhthuPcqlm/9HS0pQiD3jHjkzpvX82r8p4qu0Ptha5x0VNa9H9rDoJTnxMgL4vfXE1 X-Received: by 2002:a63:f04:: with SMTP id e4mr14383264pgl.38.1566113261103; Sun, 18 Aug 2019 00:27:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566113261; cv=none; d=google.com; s=arc-20160816; b=YlAxmyT5UwH+ahZrcQcNnEfv5ocLqsao+G3n7Zcy4eQrbiXNkBwC+4XtKSvClH/niv /cQiA5aQdozWvEAzRAF8ebJ3jhXSr8KMEJjTafIqBBphiow+j6n2bgGp5bKiB1UyibKJ XOMO+GElspW0EuQyaZaquhH8sDV5IWkIQaPNYbHlu94swprMr6DzJAnWVBCivGCFPpBt qmP+e98ML4xBY+M/3DuQ7or5Z6Vmv6o/Di0tynCwZI2cVT9QCldomtl9v62djYR88Q0F bXi8L3CNExFTlJjPTLHuT8n9+YByFpQ7Eq4u3gtQdjWQ3HLxORNBwPDjSYZ7SjHKkw6W FYzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=hyti0k3I4PddbIsJ2d/2Akjf5/MoSL1kv1XKngBQJOo=; b=FSeBf9VsevvzJyHPhYemuwpm3jc5dJzyCYGo9/dZs9tYTDBMn4vJ6YSdFKBfpDb54M Bw2/pouvpYMa53UrSA+v0lrvgTA86kL7sC0hu3lMbLDvdqYP9+n21eBCNIPIaDd2WRf4 7bsgmkouViz0P6yv1QW33HT8GB1gX/NQWE9YJ0Heb9rbgewnMQ7V0bHWfZISE15XsBvn UcnNKlN1wqzysR5/Rgqu8uaPvIR/p60AjJVmk3jVFQ8Z+AkMiIYlBIZK8w9IT06rp/Zb vO8b4yWYjTfhwvUkBLW1GhKDzTyipLgNw9zmpS/uyBsRliFBj1T/ANnC7uLX5L+5myHD AszA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FTlO+BCf; 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=pass (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 k9si6357198pjw.31.2019.08.18.00.27.12; Sun, 18 Aug 2019 00:27:41 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FTlO+BCf; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726079AbfHRH1K (ORCPT + 99 others); Sun, 18 Aug 2019 03:27:10 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:39944 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725209AbfHRH1K (ORCPT ); Sun, 18 Aug 2019 03:27:10 -0400 Received: by mail-io1-f68.google.com with SMTP id t6so14509140ios.7; Sun, 18 Aug 2019 00:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hyti0k3I4PddbIsJ2d/2Akjf5/MoSL1kv1XKngBQJOo=; b=FTlO+BCfHT5CiogCPtviZJdjXIvZgNtQMnFI7Mo/qCwDB8hRTByMsHXaS9ahXiwLr9 +JqFS+i9QbweMvitF1EAfFLAXB5uYMlXDFW4GBB0nuvEbcVAWpy7/yfhE6a/qEeHCKGg NFk8+aAS3S4lSBiXxcQXJXGKWG6LQNiMTwL4OVTEjOfuFcIgMpjmHU4SlQCOGMnXSHGe eDVfmWXf+AfEdLJ7k7sg4r9gsWu3mVMouVWx9SOMSuoqmg+kaSG4ygMMz4/mcN9SrYxP YQYgr4ge/WoDgnKNGNSt7Mml3wHwU3OLaFElcqpyq1URLXiy43A/k5alDdf2feaxkuIw zxwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hyti0k3I4PddbIsJ2d/2Akjf5/MoSL1kv1XKngBQJOo=; b=rk1SPYvR1No/NR0ZrlBNNNMts4HCtmSvLLKchnrjtLVTUPqjfPJXHRISvaBl+d2vv5 aQY4a3iJPEKZrueHhRPKcUXtoKxXICa8fSSMmsmwxDDMV1b6Oof8/0fmJiT4XyTtYcoG 7N7Qywo2h/G/KlJIxsagV7oHjz6c5qHRAiWu5fO3fqjHsJRT6E3pv7Gced8ZdsDvtS0r e4U8LgL0DDk2QkJKloBeKyh0q14tdoYECJDx+S9GpU8gAGHhEuthdkbFaKUpK049T2kR SqfrAL/HRsg8LXwW7JSkro8iJM2ij0SyhBlZMHQq0u7R9JM+ohRzCjq7N7uT/fo7YYCv Ib4A== X-Gm-Message-State: APjAAAVOaVLz88nhNT9g0uLuHKSWGwCzeb90/lTZl3mE1xqktOsmSVT4 ejSHvMF27mIswd20M5PjMg4qGK/K3uc4DrdBQiHp X-Received: by 2002:a5e:c601:: with SMTP id f1mr19110129iok.57.1566113229392; Sun, 18 Aug 2019 00:27:09 -0700 (PDT) MIME-Version: 1.0 References: <20190722150241.345609-1-tmaimon77@gmail.com> <20190722150241.345609-2-tmaimon77@gmail.com> <20190812233623.GA24924@bogus> In-Reply-To: <20190812233623.GA24924@bogus> From: Avi Fishman Date: Sun, 18 Aug 2019 10:26:17 +0300 Message-ID: Subject: Re: [PATCH v1 1/2] dt-binding: hwrng: add NPCM RNG documentation To: Rob Herring Cc: Tomer Maimon , mpm@selenic.com, herbert@gondor.apana.org.au, Arnd Bergmann , Greg Kroah-Hartman , Mark Rutland , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , sumit.garg@linaro.org, jens.wiklander@linaro.org, vkoul@kernel.org, Thomas Gleixner , Joel Stanley , devicetree , Linux Kernel Mailing List , linux-crypto@vger.kernel.org, OpenBMC Maillist Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Aug 13, 2019 at 2:36 AM Rob Herring wrote: > > On Mon, Jul 22, 2019 at 06:02:40PM +0300, Tomer Maimon wrote: > > 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. > > This would need a vendor prefix, however, I think it should be implied > by the compatible string. It is fixed per SoC, right? Tomer is on vacation, so I answer instead: This value is the same for all our SoC flavor that contains this RNG HW. -- Regards, Avi