summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/rng/timeriomem_rng.txt
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2015-09-03 17:49:07 -0500
committerRob Herring <robh@kernel.org>2015-10-22 09:21:23 -0500
commit4f2f76f1255444c034c7f95fbaa62b19387936a3 (patch)
tree8c6ff7d984edf92d5a0f5b7849ff64da704d6c7b /Documentation/devicetree/bindings/rng/timeriomem_rng.txt
parent58598f5be4fc15070fcb95a2ff36b7b966c3dee7 (diff)
downloadop-kernel-dev-4f2f76f1255444c034c7f95fbaa62b19387936a3.zip
op-kernel-dev-4f2f76f1255444c034c7f95fbaa62b19387936a3.tar.gz
dt-bindings: consolidate RNG bindings
We have RNG bindings in hwrng/ and rng/. Consolidate them all under rng/. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree/bindings/rng/timeriomem_rng.txt')
-rw-r--r--Documentation/devicetree/bindings/rng/timeriomem_rng.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/timeriomem_rng.txt b/Documentation/devicetree/bindings/rng/timeriomem_rng.txt
new file mode 100644
index 0000000..6616d15
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/timeriomem_rng.txt
@@ -0,0 +1,18 @@
+HWRNG support for the timeriomem_rng driver
+
+Required properties:
+- compatible : "timeriomem_rng"
+- reg : base address to sample from
+- period : wait time in microseconds to use between samples
+
+N.B. currently 'reg' must be four bytes wide and aligned
+
+Example:
+
+hwrng@44 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "timeriomem_rng";
+ reg = <0x44 0x04>;
+ period = <1000000>;
+};
OpenPOWER on IntegriCloud