realtek: Add ZyXEL GS1900-8
[openwrt/staging/ldir.git] / target / linux / bmips / patches-5.10 / 052-dt-bindings-rng-bcm2835-add-clock-constraints.patch
1 From 0618e07ea3e0981d7765b43d3f7db39e739842eb Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Fri, 5 Mar 2021 08:01:30 +0100
4 Subject: [PATCH 1/3] dt-bindings: rng: bcm2835: add clock constraints
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 brcm,bcm6368-rng controllers require enabling the IPSEC clock in order to get
10 a functional RNG.
11
12 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
13 Reviewed-by: Rob Herring <robh@kernel.org>
14 Acked-by: Florian Fainelli <f.fainelli@gmail.com>
15 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
16 ---
17 .../devicetree/bindings/rng/brcm,bcm2835.yaml | 10 ++++++++++
18 1 file changed, 10 insertions(+)
19
20 --- a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml
21 +++ b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml
22 @@ -35,6 +35,16 @@ required:
23 - compatible
24 - reg
25
26 +if:
27 + properties:
28 + compatible:
29 + enum:
30 + - brcm,bcm6368-rng
31 +then:
32 + required:
33 + - clocks
34 + - clock-names
35 +
36 additionalProperties: false
37
38 examples: