Skip to content

Commit

Permalink
ARM: DT: msm: Add Qualcomm's PRNG driver binding document
Browse files Browse the repository at this point in the history
This adds Qualcomm PRNG driver device tree binding documentation
to use as an example in dts trees.

Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Stanimir Varbanov authored and Herbert Xu committed Oct 30, 2013
1 parent f3d53ed commit 2883229
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Documentation/devicetree/bindings/rng/qcom,prng.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Qualcomm MSM pseudo random number generator.

Required properties:

- compatible : should be "qcom,prng"
- reg : specifies base physical address and size of the registers map
- clocks : phandle to clock-controller plus clock-specifier pair
- clock-names : "core" clocks all registers, FIFO and circuits in PRNG IP block

Example:

rng@f9bff000 {
compatible = "qcom,prng";
reg = <0xf9bff000 0x200>;
clocks = <&clock GCC_PRNG_AHB_CLK>;
clock-names = "core";
};

0 comments on commit 2883229

Please sign in to comment.