From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935814AbdEVVMc (ORCPT ); Mon, 22 May 2017 17:12:32 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:36322 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935784AbdEVVM2 (ORCPT ); Mon, 22 May 2017 17:12:28 -0400 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 v2 1/2] dt-bindings: timeriomem_rng: Add entropy quality property Date: Mon, 22 May 2017 14:12:23 -0700 Message-Id: <20170522211224.12202-1-raltherr@google.com> X-Mailer: git-send-email 2.13.0.303.g4ebf302169-goog Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Rick Altherr --- Changes in v2: None 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: -- 2.13.0.303.g4ebf302169-goog