]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dt-bindings: timeriomem_rng: Add entropy quality property
authorRick Altherr <raltherr@google.com>
Mon, 22 May 2017 21:12:23 +0000 (14:12 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 Jun 2017 04:55:49 +0000 (12:55 +0800)
Signed-off-by: Rick Altherr <raltherr@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/rng/timeriomem_rng.txt

index 6616d15866a313d9173081634b9a51be4ed5e0d3..214940093b550cc9c756fc72c0201921a3f1b31f 100644 (file)
@@ -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: