Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2112754ybl; Thu, 29 Aug 2019 03:50:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1zrMpCtx+RIbot+m+9pI3dcU4YU6buKhqh69uROv5eZDEmmh72bFMzRJiGEjBvBzN72D7 X-Received: by 2002:aa7:8f17:: with SMTP id x23mr8662926pfr.28.1567075802057; Thu, 29 Aug 2019 03:50:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567075802; cv=none; d=google.com; s=arc-20160816; b=iVSnb3fBhpA9098uN4y55xOA2C7ckJSdPlzfoHRL6oSJY0AH1+jSrNxgkcmRbbeTrO XVWFQiTRXbVcCp8XrHrho/sEseS4vEn4WantXeVzwUGUYK0qOg6ayJwlEx8XHzYhIs8Y usNy7IDeEDJlcxR5R9n2DReCAJ7Z6v9AdVm7dMEmocX9biJk0AfP94BARP/PObtqVx8c Zoz5VML8L3nQ8dWLu/+SCUIWLtP0KUmHT42wJbDdng63KMUOtsiV+Vozmd9MgTZ/rhO6 2PVNwOhng2QyCQa4n8ikg06IFZT/u42g0ppOPTz6P5qg7TAQVxPlTyqzIj+z0CbymsFt Ge2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jHeD3Kv+tcMAmS4H+Al9j1578BcUWQlA5QOhrftK1uI=; b=aGai2aFNjzyqpKlDiebYlqYr7goD3o16y4ZjGMJyaGSOA65EpHhdUw2v+YCudmkqAN u/PuszwPIfyXMk9smKvPuFcngwizoJzbMG5Ek3nXRUGuB7ErVG99CyQLHkYi0Xpylg3y WkmUDagmsJ5cTNV0Q94vFmZzjWYTNVqywTcptjTb2zE+/iD+WfpIHFZvi8rNO5ZntCVY QA4Tz6uQO+S8D9/QDIagNthICnKYJIsJU4W6uhU26hXzwZ/eCNcYIvhBrH5lE7xF2YpH beUuC56jMq3BHOAD5QY9ZeGLMqLgufOhKkArXKOAHDAGUuPHcdKrqk1g3knp7V5dzOAq 3AFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SzqqW5aR; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si1897061pjt.100.2019.08.29.03.49.48; Thu, 29 Aug 2019 03:50: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; dkim=pass header.i=@linaro.org header.s=google header.b=SzqqW5aR; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727005AbfH2Ktq (ORCPT + 99 others); Thu, 29 Aug 2019 06:49:46 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33091 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727022AbfH2Ktq (ORCPT ); Thu, 29 Aug 2019 06:49:46 -0400 Received: by mail-wr1-f67.google.com with SMTP id u16so2969924wrr.0 for ; Thu, 29 Aug 2019 03:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jHeD3Kv+tcMAmS4H+Al9j1578BcUWQlA5QOhrftK1uI=; b=SzqqW5aRW4Dk4d6Y6jVRNDP+Rh3WbyRh3k50TxR1LeEohULvTL9Bj5hdTjKoTWslIs z/W5UBReyHzNQg80Xsmi4rwuXxQBvmYDHFqHTi/hZWkoL9/04zoHnejKiClOG8BrGxH+ /5UVeX4auI4tiLjKX8ERhmRthajmadmWorm2eKbV/cHck6rq2UQrRZl0pcLIpHq3LaoS 2V9BqJYyd8+EEbTP9JWGTrdPmHG+OjYTFM7Fq5bkaz8kXWPR1BIzfJgfAxYlnPpNOKW+ lQ6wdhg4GXen+v34r92oR+rVXG8sZog/5EOUXX7JmCrFw7EBFbzuU2vffUQdZcygASRr y4dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jHeD3Kv+tcMAmS4H+Al9j1578BcUWQlA5QOhrftK1uI=; b=EguEhCE0mAHeHB3U14+Zfpd237u95RwPUS0CyxURvAz41Cug0yPQQdgDoPMp0Vuws+ 5/0mnWCIOu7QSs6q/VI0CLlvZeOg4kOlX4DS2U8UoKE8Etiil3eQ9YfNJvMBTNs23A4V Xk7s995mXnXqFEMdXqSUyI4t7mG+DcsAnH+ve3lmEVNpDXL/3aCzXibJwjsFO9T+pnta KhdNWciJcNcLNVsUiz/tuEshT+BgWLuUBgqVvJVNvpF13u/qKYpepQ6fz7DTfutqHV+G hpei+tNq6za9Cgv9xO32Y+MMCzfuVR/E/ol2YZ7z7u4YgL9WAQiGyDHNP+ztxN237h6r jnXw== X-Gm-Message-State: APjAAAXIk57AJ/DbJOirZstFiAs8UFuGQ7EFrblI5N6rPzrsXLrz7XFH TBGrZ1DTwbEja4epya+lEAyG4Q== X-Received: by 2002:adf:fc03:: with SMTP id i3mr5602097wrr.48.1567075784823; Thu, 29 Aug 2019 03:49:44 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id s1sm4927621wrg.80.2019.08.29.03.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2019 03:49:44 -0700 (PDT) Date: Thu, 29 Aug 2019 11:49:42 +0100 From: Daniel Thompson To: Tomer Maimon Cc: 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, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH v1 1/2] dt-binding: hwrng: add NPCM RNG documentation Message-ID: <20190829104942.uyz5ms4m65hcqvmk@holly.lan> References: <20190828162617.237398-1-tmaimon77@gmail.com> <20190828162617.237398-2-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190828162617.237398-2-tmaimon77@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Aug 28, 2019 at 07:26:16PM +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. Having a controllable quality implies that the numeric quality of the peripheral changes when it is stamped out on different SoCs (otherwise the driver can confidently set the quality without needing any hint from the DT). Is that really true here? Daniel. > + > +Example: > + > +rng: rng@f000b000 { > + compatible = "nuvoton,npcm750-rng"; > + reg = <0xf000b000 0x8>; > +}; > -- > 2.18.0 >