From: Heiner Kallweit Date: Wed, 22 Feb 2017 06:59:08 +0000 (+0100) Subject: dt-bindings: rng: add clock to DT binding documentation for hwrng X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e56e12acfe6f5895299f420174e111b49ef69380;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git dt-bindings: rng: add clock to DT binding documentation for hwrng Add clock to DT binding documentation. Signed-off-by: Heiner Kallweit Acked-by: Rob Herring Signed-off-by: Herbert Xu --- diff --git a/Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt b/Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt index 202f2d09a23f..4d403645ac9b 100644 --- a/Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt +++ b/Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt @@ -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"; };