linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/2] dt-bindings: timeriomem_rng: Add entropy quality property
@ 2017-05-17 22:29 Rick Altherr
  2017-05-17 22:29 ` [PATCH v1 2/2] hw_random: timeriomem_rng: Allow setting RNG quality from platform data Rick Altherr
  2017-05-23 14:06 ` [PATCH v1 1/2] dt-bindings: timeriomem_rng: Add entropy quality property Rob Herring
  0 siblings, 2 replies; 4+ messages in thread
From: Rick Altherr @ 2017-05-17 22:29 UTC (permalink / raw)
  To: linux-crypto
  Cc: devicetree, linux-kernel, Rob Herring, Herbert Xu, Mark Rutland,
	Matt Mackall

Signed-off-by: Rick Altherr <raltherr@google.com>
---

 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-23 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 22:29 [PATCH v1 1/2] dt-bindings: timeriomem_rng: Add entropy quality property Rick Altherr
2017-05-17 22:29 ` [PATCH v1 2/2] hw_random: timeriomem_rng: Allow setting RNG quality from platform data Rick Altherr
2017-05-18  5:43   ` PrasannaKumar Muralidharan
2017-05-23 14:06 ` [PATCH v1 1/2] dt-bindings: timeriomem_rng: Add entropy quality property Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).