aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/patches-5.10/042-v5.13-dt-bindings-rng-bcm2835-add-clock-constraints.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-14 14:21:48 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-14 16:21:27 +0100
commit4a81b00a0510d30f1f1e29a76cb0d5fbbe49091c (patch)
tree175c81db3e56dc72ad34ccea408d2154334f7d35 /target/linux/bmips/patches-5.10/042-v5.13-dt-bindings-rng-bcm2835-add-clock-constraints.patch
parente6ba970b6ef2289a2a4d3dd6c0c158ee8d10160f (diff)
downloadupstream-4a81b00a0510d30f1f1e29a76cb0d5fbbe49091c.tar.gz
upstream-4a81b00a0510d30f1f1e29a76cb0d5fbbe49091c.tar.bz2
upstream-4a81b00a0510d30f1f1e29a76cb0d5fbbe49091c.zip
bmips: reorganize patches
Rename and reorganize backported patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips/patches-5.10/042-v5.13-dt-bindings-rng-bcm2835-add-clock-constraints.patch')
-rw-r--r--target/linux/bmips/patches-5.10/042-v5.13-dt-bindings-rng-bcm2835-add-clock-constraints.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/bmips/patches-5.10/042-v5.13-dt-bindings-rng-bcm2835-add-clock-constraints.patch b/target/linux/bmips/patches-5.10/042-v5.13-dt-bindings-rng-bcm2835-add-clock-constraints.patch
new file mode 100644
index 0000000000..246293e384
--- /dev/null
+++ b/target/linux/bmips/patches-5.10/042-v5.13-dt-bindings-rng-bcm2835-add-clock-constraints.patch
@@ -0,0 +1,38 @@
+From 0618e07ea3e0981d7765b43d3f7db39e739842eb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
+Date: Fri, 5 Mar 2021 08:01:30 +0100
+Subject: [PATCH 1/3] dt-bindings: rng: bcm2835: add clock constraints
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+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>
+---
+ .../devicetree/bindings/rng/brcm,bcm2835.yaml | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+--- 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: