summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorFlorian Fainelli2019-05-10 19:31:11 +0200
committerHerbert Xu2019-06-20 08:18:32 +0200
commit1fa6d053b2a53b1979fc12000be41646be379503 (patch)
tree0514f4510383c56450a8793b42e2c4e810ece0d0 /drivers/char/hw_random
parentdt-bindings: rng: Document BCM7211 RNG compatible string (diff)
downloadkernel-qcow2-linux-1fa6d053b2a53b1979fc12000be41646be379503.tar.gz
kernel-qcow2-linux-1fa6d053b2a53b1979fc12000be41646be379503.tar.xz
kernel-qcow2-linux-1fa6d053b2a53b1979fc12000be41646be379503.zip
hwrng: iproc-rng200 - Add support for 7211
BCM7211 features a RNG200 hardware random number generator block, add support for this chip by matching the chip-specific compatible string. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r--drivers/char/hw_random/iproc-rng200.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c
index 8b5a20b35293..92be1c0ab99f 100644
--- a/drivers/char/hw_random/iproc-rng200.c
+++ b/drivers/char/hw_random/iproc-rng200.c
@@ -220,6 +220,7 @@ static int iproc_rng200_probe(struct platform_device *pdev)
}
static const struct of_device_id iproc_rng200_of_match[] = {
+ { .compatible = "brcm,bcm7211-rng200", },
{ .compatible = "brcm,bcm7278-rng200", },
{ .compatible = "brcm,iproc-rng200", },
{},