diff mbox

[v1,1/2] dt-bindings: timeriomem_rng: Add entropy quality property

Message ID 20170517222911.9295-1-raltherr@google.com (mailing list archive)
State Superseded
Delegated to: Herbert Xu
Headers show

Commit Message

Rick Altherr May 17, 2017, 10:29 p.m. UTC
Signed-off-by: Rick Altherr <raltherr@google.com>
---

 Documentation/devicetree/bindings/rng/timeriomem_rng.txt | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rob Herring (Arm) May 23, 2017, 2:06 p.m. UTC | #1
On Wed, May 17, 2017 at 03:29:10PM -0700, Rick Altherr wrote:
> Signed-off-by: Rick Altherr <raltherr@google.com>
> ---
> 
>  Documentation/devicetree/bindings/rng/timeriomem_rng.txt | 7 +++++++
>  1 file changed, 7 insertions(+)

Acked-by: Rob Herring <robh@kernel.org>
diff mbox

Patch

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: