summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/rng
diff options
context:
space:
mode:
authorRick Altherr <raltherr@google.com>2017-05-22 23:12:23 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-01 06:55:49 +0200
commitb14c53451719dc6ec8e6387e5be3be23294a6f1d (patch)
treec277c56b6d3400ab719f2c0f24f597043d55d71a /Documentation/devicetree/bindings/rng
parentcrypto: arm/crc32 - enable module autoloading based on CPU feature bits (diff)
downloadlinux-b14c53451719dc6ec8e6387e5be3be23294a6f1d.tar.xz
linux-b14c53451719dc6ec8e6387e5be3be23294a6f1d.zip
dt-bindings: timeriomem_rng: Add entropy quality property
Signed-off-by: Rick Altherr <raltherr@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/devicetree/bindings/rng')
-rw-r--r--Documentation/devicetree/bindings/rng/timeriomem_rng.txt7
1 files changed, 7 insertions, 0 deletions
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: