diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-03-05 08:01:30 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-03-13 00:04:06 +1100 |
commit | 0618e07ea3e0981d7765b43d3f7db39e739842eb (patch) | |
tree | 83377557203750146a77746a3a4dbc13ca71cc81 /Documentation | |
parent | 7cc05071f930a631040fea16a41f9d78771edc49 (diff) | |
download | lwn-0618e07ea3e0981d7765b43d3f7db39e739842eb.tar.gz lwn-0618e07ea3e0981d7765b43d3f7db39e739842eb.zip |
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 <noltari@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
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: |