dt-bindings: hwrng: Add Samsung Exynos 5250+ True RNG bindings
authorŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 9 Oct 2019 14:17:32 +0000 (16:17 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Oct 2019 08:46:56 +0000 (19:46 +1100)
Add binding documentation for the True Random Number Generator
found on Samsung Exynos 5250+ SoCs.

Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.txt b/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.txt
new file mode 100644 (file)
index 0000000..5a613a4
--- /dev/null
@@ -0,0 +1,17 @@
+Exynos True Random Number Generator
+
+Required properties:
+
+- compatible  : Should be "samsung,exynos5250-trng".
+- reg         : Specifies base physical address and size of the registers map.
+- clocks      : Phandle to clock-controller plus clock-specifier pair.
+- clock-names : "secss" as a clock name.
+
+Example:
+
+       rng@10830600 {
+               compatible = "samsung,exynos5250-trng";
+               reg = <0x10830600 0x100>;
+               clocks = <&clock CLK_SSS>;
+               clock-names = "secss";
+       };