bcm27xx: update patches from RPi foundation
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0381-hwrng-iproc-rng200-Add-support-for-BCM2711.patch
1 From d19e54299471dbdf92a3115ec6591a81c527f786 Mon Sep 17 00:00:00 2001
2 From: Stefan Wahren <wahrenst@gmx.net>
3 Date: Fri, 27 Dec 2019 11:55:59 +0100
4 Subject: [PATCH] hwrng: iproc-rng200 - Add support for BCM2711
5
6 commit 0f95b09a5f624964d520c8f6a2674090fb98ae25 upstream.
7
8 BCM2711 features a RNG200 hardware random number generator block.
9 So make the driver available.
10
11 Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
12 Signed-off-by: Stephen Brennan <stephen@brennan.io>
13 Reviewed-by: Matthias Brugger <mbrugger@suse.com>
14 Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
15 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
16 ---
17 drivers/char/hw_random/iproc-rng200.c | 1 +
18 1 file changed, 1 insertion(+)
19
20 --- a/drivers/char/hw_random/iproc-rng200.c
21 +++ b/drivers/char/hw_random/iproc-rng200.c
22 @@ -292,6 +292,7 @@ static int iproc_rng200_probe(struct pla
23 }
24
25 static const struct of_device_id iproc_rng200_of_match[] = {
26 + { .compatible = "brcm,bcm2711-rng200", },
27 { .compatible = "brcm,bcm7211-rng200", },
28 { .compatible = "brcm,bcm7278-rng200", },
29 { .compatible = "brcm,iproc-rng200", },