Skip to content

Commit

Permalink
dt-bindings: rng: add clock to DT binding documentation for hwrng
Browse files Browse the repository at this point in the history
Add clock to DT binding documentation.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Heiner Kallweit authored and Herbert Xu committed Mar 16, 2017
1 parent eff0415 commit e56e12a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ Required properties:
- compatible : should be "amlogic,meson-rng"
- reg : Specifies base physical address and size of the registers.

Optional properties:

- clocks : phandle to the following named clocks
- clock-names: Name of core clock, must be "core"

Example:

rng {
compatible = "amlogic,meson-rng";
reg = <0x0 0xc8834000 0x0 0x4>;
compatible = "amlogic,meson-rng";
reg = <0x0 0xc8834000 0x0 0x4>;
clocks = <&clkc CLKID_RNG0>;
clock-names = "core";
};

0 comments on commit e56e12a

Please sign in to comment.