From patchwork Wed May 17 22:29:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rick Altherr X-Patchwork-Id: 9731985 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 08705601BC for ; Wed, 17 May 2017 22:29:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC411287AB for ; Wed, 17 May 2017 22:29:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F553287F2; Wed, 17 May 2017 22:29:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BD8E287AB for ; Wed, 17 May 2017 22:29:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754406AbdEQW3R (ORCPT ); Wed, 17 May 2017 18:29:17 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:33655 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754306AbdEQW3P (ORCPT ); Wed, 17 May 2017 18:29:15 -0400 Received: by mail-pf0-f178.google.com with SMTP id e193so13966717pfh.0 for ; Wed, 17 May 2017 15:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=x9WNY/tFWiFMj+FwdrKQ0b1EJVsprNMo7KtxElNYXr4=; b=H+Dxwm/RGHipRGY/ukcZ7mm8xv7Jzv39tzFNCJMfNcPnCBXOtG4WATrhcWX6NlgIal s0oSoGLcyWwbLTpViIAiIsrwAL9qBypPDKixXJPssvI+Tqi3GFCQDathFQDD0xhNUaSo VasE0FL4xo8ZvFzXTm8wb+vn/aQ2ByIQd4KwuODc/Nl2oxN0vThH+8Vaixsi/kMBn05H jLWxLiSheLdWtTc6ibYaOzKZEZCd6c9Ah30DnnswonIOI9pUT4uh7UHS1AuN5H74bz3m 2fNg7xZtXE8FoTfCo+AgR8d11bQ+8M/NywPoPzvJLcTI/O6W/IyEc2Vez9/0vIhSbeA1 aPOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=x9WNY/tFWiFMj+FwdrKQ0b1EJVsprNMo7KtxElNYXr4=; b=Nuv2LfAiqOEbyGT10Sz9x7M4fnb6eCgJqB89ZUUXYpYHagXBskyM4VZR/ZQ8SMC+zt gJKl9sMqfPw6iM6T4sNIFzdDfnrRpMKS7Wx53VY5WDWrufnbTUk2GWwaysfHGCEgHPW2 O81n3FG6jbAo7/lZuzyvZyea5e+vNU9TqNNl2iolb4uzw1L4xvnbjWHpFvU0KP6W5+xI Lnj7iz4NmKLV12I4r27PW+dGMWFNaYAVCo+kRDan89rO364KhYrXVtwlR+QvOO0azn18 OcyAPPQtiKqqTIeEyeId2PjGcn0PLm3NJZ3UrSA161NzXU5TdJYZ8TeG5ntiDJB1bsfR yi9Q== X-Gm-Message-State: AODbwcB8UC9Bl7PapVz4UeUBOWIEDQGBPFxawxF4g3/B2fc7Tm6y2t1E eYL1dDDN/SbguOsG X-Received: by 10.84.238.9 with SMTP id u9mr983223plk.126.1495060154476; Wed, 17 May 2017 15:29:14 -0700 (PDT) Received: from raltherr-linux.svl.corp.google.com ([100.123.242.49]) by smtp.gmail.com with ESMTPSA id g10sm5980391pgn.35.2017.05.17.15.29.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 May 2017 15:29:13 -0700 (PDT) From: Rick Altherr To: linux-crypto@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Herbert Xu , Mark Rutland , Matt Mackall Subject: [PATCH v1 1/2] dt-bindings: timeriomem_rng: Add entropy quality property Date: Wed, 17 May 2017 15:29:10 -0700 Message-Id: <20170517222911.9295-1-raltherr@google.com> X-Mailer: git-send-email 2.13.0.303.g4ebf302169-goog Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Rick Altherr Acked-by: Rob Herring --- Documentation/devicetree/bindings/rng/timeriomem_rng.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/rng/timeriomem_rng.txt b/Documentation/devicetree/bindings/rng/timeriomem_rng.txt index 6616d15866a3..214940093b55 100644 --- a/Documentation/devicetree/bindings/rng/timeriomem_rng.txt +++ b/Documentation/devicetree/bindings/rng/timeriomem_rng.txt @@ -5,6 +5,13 @@ Required properties: - reg : base address to sample from - period : wait time in microseconds to use between samples +Optional properties: +- quality : estimated number of bits of true entropy per 1024 bits read from the + rng. Defaults to zero which causes the kernel's default quality to + be used instead. Note that the default quality is usually zero + which disables using this rng to automatically fill the kernel's + entropy pool. + N.B. currently 'reg' must be four bytes wide and aligned Example: