aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rng
diff options
context:
space:
mode:
authorGravatar Álvaro Fernández Rojas <noltari@gmail.com> 2021-03-05 08:01:30 +0100
committerGravatar Herbert Xu <herbert@gondor.apana.org.au> 2021-03-13 00:04:06 +1100
commit0618e07ea3e0981d7765b43d3f7db39e739842eb (patch)
tree83377557203750146a77746a3a4dbc13ca71cc81 /Documentation/devicetree/bindings/rng
parentcrypto: qat - fix use of 'dma_map_single' (diff)
downloadlinux-0618e07ea3e0981d7765b43d3f7db39e739842eb.tar.gz
linux-0618e07ea3e0981d7765b43d3f7db39e739842eb.tar.bz2
linux-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/devicetree/bindings/rng')
-rw-r--r--Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml10
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: