From: Álvaro Fernández Rojas Date: Fri, 5 Mar 2021 07:01:30 +0000 (+0100) Subject: dt-bindings: rng: bcm2835: add clock constraints X-Git-Tag: nvme-5.13-2021-05-05~119^2~133 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0618e07ea3e0981d7765b43d3f7db39e739842eb;p=nvme.git dt-bindings: rng: bcm2835: add clock constraints brcm,bcm6368-rng controllers require enabling the IPSEC clock in order to get a functional RNG. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Rob Herring Acked-by: Florian Fainelli Signed-off-by: Herbert Xu --- diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml index c147900f9041..5174492e22f3 100644 --- a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml +++ b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml @@ -35,6 +35,16 @@ required: - compatible - reg +if: + properties: + compatible: + enum: + - brcm,bcm6368-rng +then: + required: + - clocks + - clock-names + additionalProperties: false examples: